Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

How to change Contact information in sip invite message header

Hi All,

My 2811 sip gateway send invite to my ITSP server with incorrect IP address in Contact section. It uses the internal ip address instead of using the public ip. As results, the re-invite sent back from ITSP sip server cannot be recieve. Could someone tell how to change the ip address in Contact section of the invite message.

The 2811 is connect to a Netgear adsl modem/router.  the Netgear is running PPPoA and NAT, and its WAN ip is 203.X.X.X, and its LAN ip is 192.168.38.1.

The 2811 WAN IP is 192.168.38.100, and its LAN ip is 172.26.250.254. The cucm8.0 ip is 172.26.250.88.

My question is how can I change the ip address 192.168.38.100 to 203.X.X.X in below invite message?

08 Nov 11:00:16.663/GLOBAL/b2bua: RECEIVED message from 203.A.X.X:5060:

        SIP/2.0 200 OK

        Date: Tue, 08 Nov 2011 01:53:32 GMT

        Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER

        From: <sip:0282777777@203.160.8.75>;tag=54euiigqzhik27c6.o

        Allow-Events: telephone-event

        Supported: replaces

        Supported: sdp-anat

        Supported: timer

        Remote-Party-ID: "3006" <sip:3006@192.168.38.100>;party=called;screen=yes;privacy=off

        Content-Length: 252

        To: <sip:61282222222@203.A.X.X>;tag=387B6590-2689

        Contact: <sip:61282222222@192.168.38.100:5060>

        Content-Disposition: session;handling=required

        Content-Type: application/sdp

        Call-ID: call-F13756D4-22EC-2E10-1B0C-6C3AB7@203.160.8.65

        Via: SIP/2.0/UDP 203.160.8.75:5061;branch=z9hG4bK-4s4lsupr3twjsdvp;rport

        CSeq: 471 INVITE

        Server: Cisco-SIPGateway/IOS-12.x

        Session-Expires:  1800;refresher=uas

Thanks!

6 REPLIES
Cisco Employee

How to change Contact information in sip invite message header

The Netgear needs to have a SIP ALG enabled to make this change.  If it doesn't support this, then that is when I start suggesting replacing it with the appropriate Cisco product.

Cheers,

Dave.

New Member

How to change Contact information in sip invite message header

Hi David,

Thanks for your replay.

The Netgear does support SIP ALG. But when I enable it, incoming calls stop working. I get engage tone. As soon as disable SIP ALG, it working again. Any thoughts on this?

Thanks again!

Jason

Cisco Employee

How to change Contact information in sip invite message header

It's a bit hard to say.  I'm afraid I'm not much of an expert when it comes to Netgear's products.  There are several possibilities that spring to mind, but most of them would indicate the ALG is broken in one way or another.  Is the 2811 actually registered with the SIP proxy, or is it just using IP addresses for authentication?  It is quite likely the ALG is looking for the 2811 to be registered before it will allow calls to be received.  Other than that, the only real assistance I can offer is the obvious: make sure the Netgear is running the latest firmware, check Netgear forums for any known problems, and/or log a case with their support team.  The other thing you could do is to grab a sniffer trace from between the Netgear and the 2811.  That should at least tell you *where* the problem lies, if not what the root cause is.

From a high level though, you really need to have an ALG operating to solve the first problem, so you need to either work with Netgear to sort out why the one you have isn't working, or replace it.  Not much more we can do to help at this point.

Cheers,

Dave.

New Member

How to change Contact information in sip invite message header

Hi Dave,

You are on the spot. I have a range of 10 DID numbers, only one is registered with ITSP server, the rest are using IP authentication. This is because the 2811 can only allow one DID to register with sip server via sip-ua. If you know a way can allow me register multiple DIDs with the sip server, the problem could be fixed.

Can 2811 (running 12.4T) allow multiple registration? If not, what is the better solution for my situation?

Cheers!

Jason

Cisco Employee

How to change Contact information in sip invite message header

The 2800 will definitely allow multiple DNs to be registered.  I can't be all that specific in how to set this up because it depends a lot on what the rest of your configuration looks like, but as a general rule, the router will generate a register for all POTS dial-peers with fully specified numbers (no wildcards).  Exactly how you configure these dial-peers depends on what you are using the router for.

If it is a CME router, then typically you configure the number to register on the ephone-dns - usually as a secondary.  Alternatively, you can create floating DNs with low preference values purely to trigger the registration.  Alternatively, if you are using the 2800 as an IAD and presenting analog or ISDN lines to an external PBX or similar, then you make sure you have individual POTS dial-peers for each of the DNs you want to register.

Have a look at the documentation at

http://www.cisco.com/en/US/docs/ios/voice/sip/configuration/guide/15_1/sip_15_1_book.html which should help a bit.

Cheers,

Dave.

New Member

How to change Contact information in sip invite message header

thanks David!

The problem has solved.

941
Views
5
Helpful
6
Replies
CreatePlease login to create content