SIP Softphone over WAN

Answered Question
Jul 2nd, 2007
User Badges:

Hi pros,


I have CME 4.0 and 2811 router with several IP Phones. I have configured some of my clients in my local network as an SIP client. They will use X-lite softphone. Everything is fine, they can register and call.

Then i decided to deploy X-lite to my other clients which will come over WAN. They have G.SHDSL modem. And there will be a VPN connection btw them. But now for testing purposes, im trying to register these softphones over WAN. They can register and they can call any number over WAN. But the clients on My local network cant call back to these clients over WAN. For example my local network extension is 3xxx, and clients on other site is 4xxx.


4xxx network can call 3xxx, but 3xxx cant call 4xxx.


Should I write some dial peers or smthing like routing?


Thanks in Advanced.

Correct Answer by Paolo Bevilacqua about 9 years 9 months ago

Still not registering, would you send you configuration pls.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (1 ratings)
Loading.
Paolo Bevilacqua Mon, 07/02/2007 - 03:54
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

Please do "term mon" and "debug ccsip message" when calling from 3xxx to 4xxx so we can see what the problem is.

Paolo Bevilacqua Mon, 07/02/2007 - 04:18
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

Hello,


4110 is not registered hence cannot receive calls.


Please configure username same as number same as authentication username in x-lite. This same username/number you configure under "voice register pool" with "id mac 0000.0000.0000".



ahmet-saat Mon, 07/02/2007 - 04:22
User Badges:

But i have already done it. And one more thing they can call 3xxx with this configuration.



Paolo Bevilacqua Mon, 07/02/2007 - 04:25
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

Well whatever yuo have configured is not working, see below. The phone should try registering again with digest authentication as it got refused first.


Perhaps the realm is different (no present in X-lite.). Perhaps the number in "voice register dn" is different.

Remember, lack of registration of a SIP phone does not mean that this phone can't place calls with CME.


Jul 2 12:05:31.295: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Received:

REGISTER sip:INFO SIP/2.0

Via: SIP/2.0/UDP 192.168.3.14:30225;branch=z9hG4bK-d87543-087486518719c270-1--d87543-;rport

Max-Forwards: 70

Contact:

To: "sevim"

From: "sevim";tag=eb1cb55d

Call-ID: NjY2NTcwOGM4ZjUyODNmZDkzOThlODk5YzE0M2JjYTU.

CSeq: 1 REGISTER

Expires: 3600

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO

User-Agent: X-Lite release 1006e stamp 34025

Content-Length: 0



Jul 2 12:05:31.303: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Sent:

SIP/2.0 401 Unauthorized

Via: SIP/2.0/UDP 192.168.3.14:30225;branch=z9hG4bK-d87543-087486518719c270-1--d87543-;rport;received=62.248.103.219

From: "sevim";tag=eb1cb55d

To: "sevim";tag=34505A70-14C1

Date: Mon, 02 Jul 2007 12:05:31 GMT

Call-ID: NjY2NTcwOGM4ZjUyODNmZDkzOThlODk5YzE0M2JjYTU.

Server: Cisco-SIPGateway/IOS-12.x

CSeq: 1 REGISTER

WWW-Authenticate: Digest realm="INFO",nonce="8FF1B0B6053B3C70",algorithm=MD5,qop=auth

Content-Length: 0

ahmet-saat Mon, 07/02/2007 - 04:49
User Badges:

Yup got it...:)

Pls check the other lines...

My line is 3109 and i was trying to call 4110.


Thanks in advanced.


Correct Answer
Paolo Bevilacqua Mon, 07/02/2007 - 07:15
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

Still not registering, would you send you configuration pls.

ahmet-saat Tue, 07/03/2007 - 01:52
User Badges:

Thanks for your time.


Yes you are right it wasnt registering. And the reason was about routing tables.

And now its fine.



Paolo Bevilacqua Tue, 07/03/2007 - 01:53
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

Glad to know it works now.


Thanks for the nice rating and good luck!

Actions

This Discussion