06-02-2014 07:55 AM - edited 03-16-2019 10:57 PM
Hi all!
We have internal calls to other department from sccp and sip phones
Need register sip provider to have external calls
I configure network interface and add provider ip addres
When i try register provider from sip-ua
sip-ua
registrar 1 ipv4:external_provider_IP expires 180
credentials number external_provider_number username user password pass realm external_provider_IP
authentication username user password pass realm external_provider_IP
sip-server ipv4: external_provider_IP
connection-reuse
host-registrar
presence enable
sip-ua
registrar 1 ipv4:external_provider_IP expires 180
credentials number external_provider_number2 username user password pass realm external_provider_IP
sip-server ipv4: external_provider_IP
connection-reuse
host-registrar
presence enable
SCCP phones are working but all SIP phones cant registered
#show sip-ua register status
--------------------- Registrar-Index 1 ---------------------
Line peer expires(sec) reg survival P-Associ-URI
================================ ========== ============ === ======== ============
all_phone_numbers_include_sip 40001 22 yes normal
external_provider_number -1 57 yes normal
external_provider_number2 -1 58 yes normal
A0001 20012 70 yes normal
--------------------- Registrar-Index 2 ---------------------
Line peer expires(sec) reg survival P-Associ-URI
================================ ========== ============ === ======== ============
all_phone_numbers_include_sip 40001 22 yes normal
external_provider_number -1 57 yes normal
external_provider_number2 -1 58 yes normal
A0001 20012 70 yes normal
When debug ccsip messages is on
SIP telephone:
Jun 2 13:59:10.979: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
REGISTER sip:CISCO_ROUTER_INTERNAL_IP SIP/2.0
Via: SIP/2.0/UDP SIP_PHONE_IP:5060;branch=z9hG4bK697e184c
From: <sip:phone_number@CISCO_ROUTER_INTERNAL_IP >;tag=7c95f322ab0b001159f54573-1586b262
To: <sip:phone_number@CISCO_ROUTER_INTERNAL_IP>
Call-ID: 7c95f322-ab0b0006-4a55ba57-414485ac@172.23.1.40
Max-Forwards: 70
Date: Fri, 01 Jan 1982 00:10:55 GMT
CSeq: 105 REGISTER
User-Agent: Cisco-CP8961/9.3.2
Contact: <sip:6A30-1AB1@CISCO_ROUTER_INTERNAL_IP:5060;transport=udp>;+sip.instance="<urn:uuid:00000000-0000-0000-0000-7c95f322ab0b>";+u.sip!devicename.ccm.cisco.com="SEP7C95F322AB0B";+u.sip!model.ccm.cisco.com="540"
Supported: replaces,join,sdp-anat,norefersub,resource-priority,extended-refer,X-cisco-callinfo,X-cisco-serviceuri,X-cisco-escapecodes,X-cisco-service-control,X-cisco-srtp-fallback,X-cisco-monrec,X-cisco-config,X-cisco-sis-6.0.0,X-cisco-xsi-8.0.1
Content-Length: 0
Reason: SIP;cause=200;text="cisco-alarm:14 Name=SEP7C95F322AB0B ActiveLoad=sip8961.9-3-2-10.loads InactiveLoad= Last=cm-closed-tcp"
Expires: 3600
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP SIP_PHONE_IP:5060;branch=z9hG4bK69fd999b
From: <sip:phone_number@CISCO_ROUTER_INTERNAL_IP>;tag=7c95f322ab0b000718bf8c23-0b1079a6
To: <sip:phone_number@CISCO_ROUTER_INTERNAL_IP>;tag=1A299D0C-74F
Date: Mon, 02 Jun 2014 14:22:10 GMT
Call-ID: 7c95f322-ab0b0003-627602d5-6e5ca991@172.23.1.40
Server: Cisco-SIPGateway/IOS-15.3.3.M
CSeq: 102 REGISTER
WWW-Authenticate: Digest realm="cisco.com",nonce="DA1EF8FE029DC2E8",algorithm=MD5,qop="auth"
Content-Length: 0
When i exexute no sip-ua all SIP phones are working
06-02-2014 10:53 PM
maybe anybody have idea about this problem?
06-04-2014 03:39 PM
Hello!
What do u mean by that:When i exexute no sip-ua all SIP phones are working?
Did u try to register sip-phones on CME and then call?
Regards,
Kirill
06-08-2014 10:50 PM
All phones SCCP and SIP are registred and working .
When i try configure provider (sip-ua). All SIP phones become status . "Phone not registred" .
But when i execute no sip-ua SIP phones work as before the changes.
I showed above conclusion show sip-ua register status and debug ccsip messages is on when provider configured and SIP phones become status "Phone not registred" .
I dont understand why SIP phones not working when i try configure provider
06-09-2014 01:58 AM
Hello!
Sorry, I can't understand you, but...
If u configure registration with CME this way:
voice registrar global
mode cme
and etc...
Then, please, try to delete 'registrar 1 ipv4:external_provider_IP expires 180' from sip-ua.
Actually, not quite that u need 'connection reuse' and 'host registrar'
Regards,
Kirill
06-09-2014 07:08 AM
Thanks for your reply
Tell me what you do not understand. I'll try to explain.
I will take your decision thanks for the advice
06-09-2014 07:40 AM
You wrote, that 'All phones SCCP and SIP are registred and working' .
So I believe, that you've got CME configured for IP-phones and they are registered with it.
When you use: sip-ua
registrar
It Enables SIP gateways to register E.164 numbers on behalf of analog telephone voice ports (FXS), IP phone virtual voice ports (EFXS), and SCCP phones with an external SIP proxy or SIP registrar. But I don't really think, that your service provider wnats your phones (not your calls) to be registered with its boxes.
That's why you get 401 message.
So, your SIP phones stop getting registered while SCCP stays registered with CME, am I right on this point?
Regards,
Kirill
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