01-16-2017 04:44 AM - edited 03-17-2019 09:11 AM
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
Solved! Go to Solution.
01-16-2017 05:31 AM
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
01-16-2017 05:31 AM
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
01-16-2017 06:03 AM
Thank you Jakub. It works.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: