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

SIP trunk not registered

Hi

I have the uc-560 and a GSM gateway

The outgoing call on GSM gateway  are working fine, but incoming call are rejected

 

I have created a SIP trunk account for the GSM gateway, but he stil not registered

 

How can I solve it ?

 

Thanks in advance

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: SIP trunk not registered

You can see that the provider is failing on the registration attempt:

Sent:
REGISTER sip:172.25.0.3:5060 SIP/2.0
Via: SIP/2.0/UDP 172.25.0.1:5060;branch=z9hG4bK1992269
From: <79526723>;tag=4BC84EC-16C9
To: <79526723>
Date: Fri, 08 Oct 2010 16:25:06 GMT
Call-ID: 66AA8803-D21911DF-881DEFB4-7D00ADBA
User-Agent: Cisco-SIPGateway/IOS-12.x
Max-Forwards: 70
Timestamp: 1286555106CSeq: 54 REGISTER
Contact: <79526723>
Expires:  3600
Supported: path
Content-Length: 0


000910: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 501 Not Implemented
Via: SIP/2.0/UDP 172.25.0.1:5060;branch=z9hG4bK1992269
From: <79526723>;tag=4BC84EC-16C9
To: <79526723>
Date: Fri, 08 Oct 2010 16:25:06 GMT
Call-ID: 66AA8803-D21911DF-881DEFB4-7D00ADBA
User-Agent: Cisco-SIPGateway/IOS-12.x
Max-Forwards: 70
Timestamp: 1286555106
CSeq: 54 REGISTER
Contact: <79526723>
Expires:  3600

Supported: path
Content-Length: 0

Is '79526723' a fully qualified number for where you are located?  Is this the number the provider wants you to register with?  Can you find out why they are throwing the 501 for registration request?  Have you confirmed that the provider does require registration of the number?

9 REPLIES
Cisco Employee

Re: SIP trunk not registered

What number are you supposed to register to the provider with?  Is that number configured on the system?  Typically you add it as a secondary number to your operator extension.  Something like:

ephone-dn  5  dual-line
number 301 secondary 5551234567 no-reg primary

That will get the router to try to register that number to the registrar.  You can see the status of that with:

sh sip-ua reg stat

If you still have issues, get 'debug ccsip mess' during while the timer for the above command rolls over.

Also, you don't need a username/password for authentication on this trunk?

Community Member

Re: SIP trunk not registered

Hi

I made the modification as you ask

But the problem remain the same

ephone-dn  29  dual-line
 number 220 secondary 99257890
 no-reg primary 


C_560_EBACCION#show sip-ua register status
Line          peer           expires(sec)  registered   P-Associated-URI
============  =============  ============  ===========  ================
99257890          20110            16            no
UC_560_EBACCION#

Sould I create a dial peer 20110 ?

please help

Cisco Employee

Re: SIP trunk not registered

Registration on that number is failing.  Run 'debug ccsip mess' and observe the output of the register message for that number and what the provider's response is.

Community Member

Re: SIP trunk not registered

see below


000906: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
INVITE sip:226@172.25.0.1:5060 SIP/2.0Max-Forwards: 70Via: SIP/2.0/UDP 172.25.0.3:5060;branch=z9hG4bK-158028959-CX00From: <78273829>;tag=7C1EB3001750-46016091To: <226>Call-ID: 7C1EB3001750-110012660@172.25.0.3CSeq: 7 INVITEContact: <78273829>User-Agent: 2N VoiceBlue V-02.07.35i30Allow: INVITE, BYE, ACK, CANCEL, OPTIONS, REFER, NOTIFYContent-Type: application/sdpContent-Length: 260v=0o=VoiceBlue 51132 9441 IN IP4 172.25.0.3s=GSM callc=IN IP4 172.25.0.3t=0 0m=audio 8050 RTP/AVP 18 8 0 101a=rtpmap:18 G729/8000a=fmtp:18 annexb=noa=rtpmap:8 PCMA/8000a=rtpmap:0 PCMU/8000a=rtpmap:101 telephone-event/8000a=fmtp:101 0-11
000907: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 500 Internal Server ErrorVia: SIP/2.0/UDP 172.25.0.3:5060;branch=z9hG4bK-158028959-CX00From: <78273829>;tag=7C1EB3001750-46016091To: <226>;tag=4BC71F0-1D4Date: Fri, 08 Oct 2010 16:25:01 GMTCall-ID: 7C1EB3001750-110012660@172.25.0.3CSeq: 7 INVITEAllow-Events: telephone-eventServer: Cisco-SIPGateway/IOS-12.xContent-Length: 0
000908: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
ACK sip:226@172.25.0.1:5060 SIP/2.0Max-Forwards: 70Via: SIP/2.0/UDP 172.25.0.3:5060;branch=z9hG4bK-158028959-CX00From: <78273829>;tag=7C1EB3001750-46016091To: <226>;tag=4BC71F0-1D4Call-ID: 7C1EB3001750-110012660@172.25.0.3CSeq: 7 ACKContact: <78273829>User-Agent: 2N VoiceBlue V-02.07.35i30Allow: INVITE, BYE, ACK, CANCEL, OPTIONS, REFER, NOTIFYContent-Length: 0
000909: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
REGISTER sip:172.25.0.3:5060 SIP/2.0Via: SIP/2.0/UDP 172.25.0.1:5060;branch=z9hG4bK1992269From: <79526723>;tag=4BC84EC-16C9To: <79526723>Date: Fri, 08 Oct 2010 16:25:06 GMTCall-ID: 66AA8803-D21911DF-881DEFB4-7D00ADBAUser-Agent: Cisco-SIPGateway/IOS-12.xMax-Forwards: 70Timestamp: 1286555106CSeq: 54 REGISTERContact: <79526723>Expires:  3600Supported: pathContent-Length: 0
000910: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 501 Not ImplementedVia: SIP/2.0/UDP 172.25.0.1:5060;branch=z9hG4bK1992269From: <79526723>;tag=4BC84EC-16C9To: <79526723>Date: Fri, 08 Oct 2010 16:25:06 GMTCall-ID: 66AA8803-D21911DF-881DEFB4-7D00ADBAUser-Agent: Cisco-SIPGateway/IOS-12.xMax-Forwards: 70Timestamp: 1286555106CSeq: 54 REGISTERContact: <79526723>Expires:  3600Supported: pathContent-Length: 0

see the uc-560 sip trunk printsreen attached

Please help

Community Member

Re: SIP trunk not registered

Hi

see again the debug output

I am using a gsm gateway with 2 SIM card from 2 different operator

The uc ask a company main number to be used as outgoing caller ID

wich number should i use

May be  the problem come from there

Please help

debug ccsip messages                                                                 
004438: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
INVITE sip:201@0.0.0.0:5060 SIP/2.0

Max-Forwards: 70

Via: SIP/2.0/UDP 192.168.1.3:5060;branch=z9hG4bK-152027812-CX00

From: <67893567>;tag=7C1EB3001750-229001180

To: <201>

Call-ID: 7C1EB3001750-81015425@192.168.1.3

CSeq: 17 INVITE

Contact: <67893567>

User-Agent: 2N VoiceBlue V-02.07.35i39

Allow: INVITE, BYE, ACK, CANCEL, OPTIONS, REFER, NOTIFY

Content-Type: application/sdp

Content-Length: 261

v=0

o=VoiceBlue 23785 14378 IN IP4 192.168.1.3

s=GSM call

c=IN IP4 192.168.1.3

t=0 0

m=audio 8048 RTP/AVP 18 8 0 101

a=rtpmap:18 G729/8000

a=fmtp:18 annexb=no

a=rtpmap:8 PCMA/8000

a=rtpmap:0 PCMU/8000

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-11


004439: //-1/xxxxxxxxxxxx/SIP/Error/sipSPI_validate_own_ip_addr: ReqLine IP addr does not match with host IP addr
004440: //-1/0B5ABB929762/SIP/Error/sact_idle_new_message_invite: Invalid URL in incoming INVITE
004441: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 400 Bad Request - 'Invalid Host'

Via: SIP/2.0/UDP 192.168.1.3:5060;branch=z9hG4bK-152027812-CX00

From: <67893567>;tag=7C1EB3001750-229001180

To: <201>;tag=291E5698-1A4B

Date: Fri, 15 Oct 2010 16:56:52 GMT

Call-ID: 7C1EB3001750-81015425@192.168.1.3

CSeq: 17 INVITE

Allow-Events: telephone-event

Reason: Q.850;cause=100

Server: Cisco-SIPGateway/IOS-12.x

Content-Length: 0


004442: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
ACK sip:201@0.0.0.0:5060 SIP/2.0

Max-Forwards: 70

Via: SIP/2.0/UDP 192.168.1.3:5060;branch=z9hG4bK-152027812-CX00

From: <67893567>;tag=7C1EB3001750-229001180

To: <201>;tag=291E5698-1A4B

Call-ID: 7C1EB3001750-81015425@192.168.1.3

CSeq: 17 ACK

Contact: <67893567>

User-Agent: 2N VoiceBlue V-02.07.35i39

Allow: INVITE, BYE, ACK, CANCEL, OPTIONS, REFER, NOTIFY

Content-Length: 0


004443: //-1/0B5ABB929762/SIP/Call/sipSPICallInfo:
The Call Setup Information is:
Call Control Block (CCB) : 0x87EB3A08
State of The Call        : STATE_DEAD
TCP Sockets Used         : NO
Calling Number           :
Called Number            : 201
Source IP Address (Sig  ): 192.168.1.1
Destn SIP Req Addr:Port  : 192.168.1.3:0
Destn SIP Resp Addr:Port : 192.168.1.3:5060
Destination Name         : 192.168.1.3

004444: //-1/0B5ABB929762/SIP/Call/sipSPICallInfo:
Disconnect Cause (CC)    : 100
Disconnect Cause (SIP)   : 400

Cisco Employee

Re: SIP trunk not registered

You can see that the provider is failing on the registration attempt:

Sent:
REGISTER sip:172.25.0.3:5060 SIP/2.0
Via: SIP/2.0/UDP 172.25.0.1:5060;branch=z9hG4bK1992269
From: <79526723>;tag=4BC84EC-16C9
To: <79526723>
Date: Fri, 08 Oct 2010 16:25:06 GMT
Call-ID: 66AA8803-D21911DF-881DEFB4-7D00ADBA
User-Agent: Cisco-SIPGateway/IOS-12.x
Max-Forwards: 70
Timestamp: 1286555106CSeq: 54 REGISTER
Contact: <79526723>
Expires:  3600
Supported: path
Content-Length: 0


000910: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 501 Not Implemented
Via: SIP/2.0/UDP 172.25.0.1:5060;branch=z9hG4bK1992269
From: <79526723>;tag=4BC84EC-16C9
To: <79526723>
Date: Fri, 08 Oct 2010 16:25:06 GMT
Call-ID: 66AA8803-D21911DF-881DEFB4-7D00ADBA
User-Agent: Cisco-SIPGateway/IOS-12.x
Max-Forwards: 70
Timestamp: 1286555106
CSeq: 54 REGISTER
Contact: <79526723>
Expires:  3600

Supported: path
Content-Length: 0

Is '79526723' a fully qualified number for where you are located?  Is this the number the provider wants you to register with?  Can you find out why they are throwing the 501 for registration request?  Have you confirmed that the provider does require registration of the number?

Cisco Employee

Re: SIP trunk not registered

For this, you can see that the INVITE coming in has a TO header with an invalid IP:

004438: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
INVITE sip:201@0.0.0.0:5060 SIP/2.0

Max-Forwards: 70

Via: SIP/2.0/UDP 192.168.1.3:5060;branch=z9hG4bK-152027812-CX00

From: <67893567>;tag=7C1EB3001750-229001180

To: <201>

Call-ID: 7C1EB3001750-81015425@192.168.1.3

CSeq: 17 INVITE

Contact: <67893567>

User-Agent: 2N VoiceBlue V-02.07.35i39

Allow: INVITE, BYE, ACK, CANCEL, OPTIONS, REFER, NOTIFY

Content-Type: application/sdp

Content-Length: 261

That invite should have a valid IP in there.  Something is stripping that to 0's, perhaps?  Or maybe that's behavior of the sending SIP proxy as a result of you not being registered?

Community Member

Re: SIP trunk not registered

See below another debig output

I am using a GSM gateway with 2 SIM card from 2 different operator, so there is no trunk ISP main number

I used one number of the 2 sim card as trunk ISP number

Please help

004781: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
REGISTER sip:192.168.1.1:5060 SIP/2.0

Max-Forwards: 70

Via: SIP/2.0/UDP 192.168.1.3:5060;branch=z9hG4bK-242011176-CX04

From: <67893567>;tag=7C1EB3001750-132014301

To: <67893567>

Call-ID: 7C1EB3001750-10022159@192.168.1.3

CSeq: 27 REGISTER

Contact: <67893567>

Expires: 600

User-Agent: 2N VoiceBlue V-02.07.35i39

Content-Length: 0


004782: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 100 Trying

Via: SIP/2.0/UDP 192.168.1.3:5060;branch=z9hG4bK-242011176-CX04

From: <67893567>;tag=7C1EB3001750-132014301

To: <67893567>

Date: Sat, 16 Oct 2010 10:24:57 GMT

Call-ID: 7C1EB3001750-10022159@192.168.1.3

Server: Cisco-SIPGateway/IOS-12.x

CSeq: 27 REGISTER

Content-Length: 0


004783: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 423 Interval Too Brief

Via: SIP/2.0/UDP 192.168.1.3:5060;branch=z9hG4bK-242011176-CX04

From: <67893567>;tag=7C1EB3001750-132014301

To: <67893567>;tag=2CDDE31C-20B

Date: Sat, 16 Oct 2010 10:24:57 GMT

Call-ID: 7C1EB3001750-10022159@192.168.1.3

Server: Cisco-SIPGateway/IOS-12.x

CSeq: 27 REGISTER

Min-Expires:  3600

Content-Length: 0


004784: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
REGISTER sip:192.168.1.3:5060 SIP/2.0

Via: SIP/2.0/UDP 192.168.1.1:5060;branch=z9hG4bK10E91964

From: <67893567>;tag=2CDE4424-1227

To: <67893567>

Date: Sat, 16 Oct 2010 10:25:22 GMT

Call-ID: 96046F4C-D7B711DF-977CEFB4-7D00ADBA

User-Agent: Cisco-SIPGateway/IOS-12.x

Max-Forwards: 70

Timestamp: 1287224722

CSeq: 343 REGISTER

Contact: <67893567>

Expires:  3600

Supported: path

Content-Length: 0


004785: //-1/xxxxxxxxxxxx/SIP/Error/debugPrintBranchList: via branch list is:
004786: //-1/xxxxxxxxxxxx/SIP/Error/debugPrintBranchList:     end of list
004787: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 501 Not Implemented

Via: SIP/2.0/UDP 192.168.1.1:5060;branch=z9hG4bK10E91964

From: <67893567>;tag=2CDE4424-1227

To: <67893567>

Call-ID: 96046F4C-D7B711DF-977CEFB4-7D00ADBA

CSeq: 343 REGISTER

User-Agent: 2N VoiceBlue V-02.07.35i39

Allow: INVITE, BYE, ACK, CANCEL, OPTIONS, REFER, NOTIFY

Cisco Employee

Re: SIP trunk not registered

Either way, you need to reach out to the device responding to the REGISTER message to find out what they don't like about the formatting, and why they respond with a 5xx.

1602
Views
0
Helpful
9
Replies
CreatePlease to create content