cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
888
Views
0
Helpful
2
Replies

Cisco 2811 not registering to SIP proxy. SIP Register message edit

bejoy.cisco
Level 1
Level 1

Dear All,

I am facing this issue with my Cisco 2811 CUBE router. I am trying to register this to my SIP provider's Proxy, without success.

I am able to register X-lite with the SIP proxy from the provider. As per the provider the following must be changed:

The register message that I am sending is as follows:

Sent:
REGISTER sip:siptrunk.ims.zain.bh:5060 SIP/2.0
Date: Mon, 16 Jan 2017 14:23:21 GMT
From: <sip:2001@siptrunk.ims.zain.bh>;tag=79FD00-7D0
Supported: path
Timestamp: 1484576601
Content-Length: 0
User-Agent: Cisco-SIPGateway/IOS-12.x
To: <sip:2001@siptrunk.ims.zain.bh>
Contact: <sip:2001@172.26.3.210:5061>
Expires:  1800
Call-ID: 16F7CB17-DB2611E6-8011B3E3-7534ED24
Via: SIP/2.0/UDP 172.26.3.210:5061;branch=z9hG4bK47F8C
CSeq: 27 REGISTER
Max-Forwards: 70

As per the provider  in the register message "REGISTER sip:siptrunk.ims.zain.bh:5060 SIP/2.0"   5060 must not be present.

Is there a way that I can edit the register message and remove the 5060 from it.

Regards

Bejoy

1 Accepted Solution

Accepted Solutions

Jakub Stroinski
Level 4
Level 4

Create a SIP profile that does what you need it to do and then apply it to your dial-peer

voice class sip-profiles 1
 request REGISTER sip-header SIP-Req-URI modify "sip:siptrunk.ims.zain.bh:5060 SIP/2.0" "sip:siptrunk.ims.zain.bh SIP/2.0"

dial-peer voice 1 voip
 voice-class sip profiles 1

View solution in original post

2 Replies 2

Jakub Stroinski
Level 4
Level 4

Create a SIP profile that does what you need it to do and then apply it to your dial-peer

voice class sip-profiles 1
 request REGISTER sip-header SIP-Req-URI modify "sip:siptrunk.ims.zain.bh:5060 SIP/2.0" "sip:siptrunk.ims.zain.bh SIP/2.0"

dial-peer voice 1 voip
 voice-class sip profiles 1

bejoy.cisco
Level 1
Level 1

Thank you Jakub. It works.