10-23-2021 01:17 PM
I have a Cisco 2911 that I am trying to register a SIP trunk with my provider. The trunk is not registering to the provider and the provider is insisting that the issue is on my end. I am getting a SIP/2.0 Ok followed by a SIP/2.0 401 UNAUTHORIZE. I have attached some logs. Please assist in registering this sip trunk.
10-23-2021 11:01 PM
Could you please share the full configuration of your gateway? This would make it much easier for us to help you.
10-25-2021 10:11 AM
10-25-2021 11:18 AM
Would you also be able to share any details on the connection you might have got from the service provider? Minus any sensitive information.
10-24-2021 02:45 AM
Hai
Try using sip-ua with dns server configured, check realm and passwords
sip-ua
credentials username xxxxx password xxxxxx realm xxxxxxxxx
authentication username xxxxx password xxxxx realm xxxxxxxx
nat symmetric check-media-src
no remote-party-id
retry invite 4
retry response 3
retry bye 2
retry cancel 2
retry register 5
timers connect 300
timers register 250
registrar 1 dns:xxxxxx:5060 expires 3600
sip-server dns:xxxxxx:5060
connection-reuse via-port
After check sip-ua register status
10-25-2021 09:51 AM
Hi,
This is what I have under SIP-UA:
sip-ua
credentials number +123456789 username +123456789@ims.btl.net password XXXXXXXXXXX realm ims.btl.net
authentication username +123456789@ims.btl.net password XXXXXXXXX realm ims.btl.net
registrar dns:ims.btl.net expires 3600 auth-realm ims.btl.net
sip-server dns:ims.btl.net
reason-header override
connection-reuse via-port
host-registrar
I made the changes and then did a sh sip-ua register status.
Line peer expires(sec) registered P-Associ-URI
================================ ========== ============ ========== ============
+123456789 -1 2659 no
10-26-2021 02:23 AM - edited 10-26-2021 02:23 AM
Hello,
I would upgrade the router to a version, that supports tenants and would configure a tenant for the SIP trunk registration and bind it to the dial-peers facing to the provider.
As I see, that you would use SRST maybe too, you would need to do that at the point, when configuring SIP SRST.
Also, everybody that I know, only works with tenants. Not with the SIP-UA anymore.
And as Roger said, do you have any specification about the SIP trunk from the provider?
Like UDP or TCP, which SIP registrar, SIP domain, username / password (dont need to share it), ...
10-26-2021 04:54 AM
I concur with Bjorn on that tenant is the way to go for SIP registration.
10-26-2021 01:04 PM
Hi,
I am not familiar with the use of tenants, can you share with me how that is done. Also, I do have the necessary specifications for the SIP trunk from the provider.
10-26-2021 01:13 PM
Have a look at this marvellous document. https://www.cisco.com/c/en/us/support/docs/voice/ip-telephony-voice-over-ip-voip/211306-In-Depth-Explanation-of-Cisco-IOS-and-IO.html#anc28
10-26-2021 02:01 PM
I don't think my router is compatible.
Cisco IOS XE Software, Version 03.15.01c.S - Standard Support Release
Cisco IOS Software, ISR Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 15.5(2)S1c, RELEASE SOFTWARE (fc1)
10-26-2021 10:14 PM
Upgrade your IOS to a version that is current will get you support for tenants.
10-26-2021 10:12 PM - edited 10-26-2021 10:16 PM
Could you please share the specifications from the service provider? Redact any sensitive information if it has that.
10-28-2021 09:36 AM
Hi,
Try removing the auth-realm on your registrar config.
Remove this:
registrar dns:ims.btl.net expires 3600 auth-realm ims.btl.net
Replace with this:
registrar dns: ims.btl.net:5060 expires 3600
Other thing you can try is download something like Micro SIP and configure it with the same authentication details and check SIP registration. If you have success, check your CUBE config again. If you don't have success, I would suggest you go back and check again with your provider.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide