cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
478
Views
5
Helpful
11
Replies

PSTN Incoming Calls Not Routing to CUCM: Seeking Assistance

Good morning, everyone!

I'm facing a communication issue between my voice gateway, the Cisco Unified Communications Manager (CUCM), and my telephony provider. I've managed to configure the system so that I can make calls to the PSTN network without any issues. However, I'm having trouble receiving incoming calls from the PSTN.

Through the debug logs, I've noticed that the calls are reaching the voice gateway, but for some reason, they're not being correctly routed to the extension on the CUCM. I've reviewed the configuration, but I still can't identify where the calls are being blocked.

Below, I'm sharing the gateway logs and the router configuration. I appreciate any help or guidance you can offer to resolve this issue.

***outgoing call logs***

.Aug 21 11:48:27.034: //118286/5B6EE7000000/SIP/Call/sipSPICallInfo:
The Call Setup Information is:
Call Control Block (CCB) : 0x2BB04B88
State of The Call : STATE_DEAD
TCP Sockets Used : NO
Calling Number : 226698999
Called Number : 0923550415
Source IP Address (Sig 10.222.222.206
Destn SIP Req Addr:Port : 41.221.248.10:5060
Destn SIP Resp Addr:Port : 41.221.248.10:5060
Destination Name : 41.221.248.10

.Aug 21 11:48:27.034: //118286/5B6EE7000000/SIP/Call/sipSPIMediaCallInfo:
Number of Media Streams: 1
Media Stream : 1
Negotiated Codec : No Codec
Negotiated Codec Bytes : 0
Nego. Codec payload : 255 (tx), 255 (rx)
Negotiated Dtmf-relay : 0
Dtmf-relay Payload : 0 (tx), 0 (rx)
Source IP Address (Media): 10.222.222.206
Source IP Port (Media): 23732
Destn IP Address (Media): -
Destn IP Port (Media): 0
Orig Destn IP Address:Port (Media): [ - ]:0

.Aug 21 11:48:27.034: //118286/5B6EE7000000/SIP/Call/sipSPICallInfo:
Disconnect Cause (CC) : 47
Disconnect Cause (SIP) : 401

.Aug 21 11:48:27.142: //118288/00E76E5BD800/SIP/Call/sipSPICallInfo:
The Call Setup Information is:
Call Control Block (CCB) : 0x2BAC1448
State of The Call : STATE_DEAD
TCP Sockets Used : NO
Calling Number : 226698999
Called Number : 0923550415
Source IP Address (Sig 10.222.222.206
Destn SIP Req Addr:Port : 41.221.248.10:5060
Destn SIP Resp Addr:Port : 41.221.248.10:5060
Destination Name : 41.221.248.10

.Aug 21 11:48:27.142: //118288/00E76E5BD800/SIP/Call/sipSPIMediaCallInfo:
Number of Media Streams: 1
Media Stream : 1
Negotiated Codec : No Codec
Negotiated Codec Bytes : 0
Nego. Codec payload : 255 (tx), 255 (rx)
Negotiated Dtmf-relay : 0
Dtmf-relay Payload : 0 (tx), 0 (rx)
Source IP Address (Media): 10.222.222.206
Source IP Port (Media): 18396
Destn IP Address (Media): -
Destn IP Port (Media): 0
Orig Destn IP Address:Port (Media): [ - ]:0

.Aug 21 11:48:27.142: //118288/00E76E5BD800/SIP/Call/sipSPICallInfo:
Disconnect Cause (CC) : 47
Disconnect Cause (SIP) : 401

.Aug 21 11:48:27.162: //118285/5B6EE7000000/SIP/Call/sipSPICallInfo:
The Call Setup Information is:
Call Control Block (CCB) : 0x2BAD2218
State of The Call : STATE_DEAD
TCP Sockets Used : YES
Calling Number : 226698999
Called Number : 0923550415
Source IP Address (Sig 10.222.222.206
Destn SIP Req Addr:Port : 10.3.89.106:5060
Destn SIP Resp Addr:Port : 10.3.89.106:42459
Destination Name : 10.3.89.106

.Aug 21 11:48:27.162: //118285/5B6EE7000000/SIP/Call/sipSPIMediaCallInfo:
Number of Media Streams: 1
Media Stream : 1
Negotiated Codec : g711ulaw
Negotiated Codec Bytes : 160
Nego. Codec payload : 0 (tx), 0 (rx)
Negotiated Dtmf-relay : 6
Dtmf-relay Payload : 101 (tx), 101 (rx)
Source IP Address (Media): 10.222.222.206
Source IP Port (Media): 28800
Destn IP Address (Media): 10.3.89.106
Destn IP Port (Media): 30564
Orig Destn IP Address:Port (Media): [ - ]:0

.Aug 21 11:48:27.162: //118285/5B6EE7000000/SIP/Call/sipSPICallInfo:
Disconnect Cause (CC) : 47
Disconnect Cause (SIP) : 503

.Aug 21 11:48:33.098: //118290/2068AEED9586/SIP/Call/sipSPICallInfo:
The Call Setup Information is:
Call Control Block (CCB) : 0x2BB31B08
State of The Call : STATE_DEAD
TCP Sockets Used : YES
Calling Number : 0244958032496
Called Number : 98270
Source IP Address (Sig 10.3.127.10
Destn SIP Req Addr:Port : :0
Destn SIP Resp Addr:Port : :0
Destination Name :

.Aug 21 11:48:33.098: //118290/2068AEED9586/SIP/Call/sipSPIMediaCallInfo:
Number of Media Streams: 1
Media Stream : 1
Negotiated Codec : No Codec
Negotiated Codec Bytes : 0
Nego. Codec payload : 255 (tx), 255 (rx)
Negotiated Dtmf-relay : 0
Dtmf-relay Payload : 0 (tx), 0 (rx)
Source IP Address (Media): 10.3.127.10
Source IP Port (Media): 18768
Destn IP Address (Media): -
Destn IP Port (Media): 0
Orig Destn IP Address:Port (Media): [ - ]:0

.Aug 21 11:48:33.098: //118290/2068AEED9586/SIP/Call/sipSPICallInfo:
Disconnect Cause (CC) : 47
Disconnect Cause (SIP) : 200

.Aug 21 11:48:33.098: //118291/2068AEED9586/SIP/Call/sipSPICallInfo:
The Call Setup Information is:
Call Control Block (CCB) : 0x2BB31B08
State of The Call : STATE_DEAD
TCP Sockets Used : YES
Calling Number : 0244958032496
Called Number : 98270
Source IP Address (Sig 10.3.127.10
Destn SIP Req Addr:Port : :0
Destn SIP Resp Addr:Port : :0
Destination Name :

.Aug 21 11:48:33.098: //118291/2068AEED9586/SIP/Call/sipSPIMediaCallInfo:
Number of Media Streams: 1
Media Stream : 1
Negotiated Codec : No Codec
Negotiated Codec Bytes : 0
Nego. Codec payload : 255 (tx), 255 (rx)
Negotiated Dtmf-relay : 0
Dtmf-relay Payload : 0 (tx), 0 (rx)
Source IP Address (Media): 10.3.127.10
Source IP Port (Media): 16546
Destn IP Address (Media): -
Destn IP Port (Media): 0
Orig Destn IP Address:Port (Media): [ - ]:0

.Aug 21 11:48:33.098: //118291/2068AEED9586/SIP/Call/sipSPICallInfo:
Disconnect Cause (CC) : 47
Disconnect Cause (SIP) : 200

.Aug 21 11:48:33.102: //118292/2068AEED9586/SIP/Call/sipSPICallInfo:
The Call Setup Information is:
Call Control Block (CCB) : 0x2BB31B08
State of The Call : STATE_DEAD
TCP Sockets Used : YES
Calling Number : 0244958032496
Called Number : 98270
Source IP Address (Sig 10.3.127.10
Destn SIP Req Addr:Port : :0
Destn SIP Resp Addr:Port : :0
Destination Name :

.Aug 21 11:48:33.102: //118292/2068AEED9586/SIP/Call/sipSPIMediaCallInfo:
Number of Media Streams: 1
Media Stream : 1
Negotiated Codec : No Codec
Negotiated Codec Bytes : 0
Nego. Codec payload : 255 (tx), 255 (rx)
Negotiated Dtmf-relay : 0
Dtmf-relay Payload : 0 (tx), 0 (rx)
Source IP Address (Media): 10.3.127.10
Source IP Port (Media): 27826
Destn IP Address (Media): -
Destn IP Port (Media): 0
Orig Destn IP Address:Port (Media): [ - ]:0

.Aug 21 11:48:33.102: //118292/2068AEED9586/SIP/Call/sipSPICallInfo:
Disconnect Cause (CC) : 47
Disconnect Cause (SIP) : 200

.Aug 21 11:48:33.114: //118289/2068AEED9586/SIP/Call/sipSPICallInfo:
The Call Setup Information is:
Call Control Block (CCB) : 0x2BAD2218
State of The Call : STATE_DEAD
TCP Sockets Used : NO
Calling Number : 0244958032496
Called Number : 98270
Source IP Address (Sig 10.222.222.206
Destn SIP Req Addr:Port : 41.221.248.10:5060
Destn SIP Resp Addr:Port : 41.221.248.10:5060
Destination Name : 41.221.248.10

.Aug 21 11:48:33.114: //118289/2068AEED9586/SIP/Call/sipSPIMediaCallInfo:
Number of Media Streams: 1
Media Stream : 1
Negotiated Codec : g711alaw
Negotiated Codec Bytes : 160
Nego. Codec payload : 8 (tx), 8 (rx)
Negotiated Dtmf-relay : 6
Dtmf-relay Payload : 98 (tx), 98 (rx)
Source IP Address (Media): 10.222.222.206
Source IP Port (Media): 26566
Destn IP Address (Media): 41.221.248.10
Destn IP Port (Media): 37254
Orig Destn IP Address:Port (Media): [ - ]:0

.Aug 21 11:48:33.114: //118289/2068AEED9586/SIP/Call/sipSPICallInfo:
Disconnect Cause (CC) : 47
Disconnect Cause (SIP) : 503


**********Entrada de chamadas*******

.Aug 21 11:48:27.034: //118286/5B6EE7000000/SIP/Call/sipSPICallInfo:
The Call Setup Information is:
Call Control Block (CCB) : 0x2BB04B88
State of The Call : STATE_DEAD
TCP Sockets Used : NO
Calling Number : 226698999
Called Number : 0923550415
Source IP Address (Sig 10.222.222.206
Destn SIP Req Addr:Port : 41.221.248.10:5060
Destn SIP Resp Addr:Port : 41.221.248.10:5060
Destination Name : 41.221.248.10

.Aug 21 11:48:27.034: //118286/5B6EE7000000/SIP/Call/sipSPIMediaCallInfo:
Number of Media Streams: 1
Media Stream : 1
Negotiated Codec : No Codec
Negotiated Codec Bytes : 0
Nego. Codec payload : 255 (tx), 255 (rx)
Negotiated Dtmf-relay : 0
Dtmf-relay Payload : 0 (tx), 0 (rx)
Source IP Address (Media): 10.222.222.206
Source IP Port (Media): 23732
Destn IP Address (Media): -
Destn IP Port (Media): 0
Orig Destn IP Address:Port (Media): [ - ]:0

.Aug 21 11:48:27.034: //118286/5B6EE7000000/SIP/Call/sipSPICallInfo:
Disconnect Cause (CC) : 47
Disconnect Cause (SIP) : 401

.Aug 21 11:48:27.142: //118288/00E76E5BD800/SIP/Call/sipSPICallInfo:
The Call Setup Information is:
Call Control Block (CCB) : 0x2BAC1448
State of The Call : STATE_DEAD
TCP Sockets Used : NO
Calling Number : 226698999
Called Number : 0923550415
Source IP Address (Sig 10.222.222.206
Destn SIP Req Addr:Port : 41.221.248.10:5060
Destn SIP Resp Addr:Port : 41.221.248.10:5060
Destination Name : 41.221.248.10

.Aug 21 11:48:27.142: //118288/00E76E5BD800/SIP/Call/sipSPIMediaCallInfo:
Number of Media Streams: 1
Media Stream : 1
Negotiated Codec : No Codec
Negotiated Codec Bytes : 0
Nego. Codec payload : 255 (tx), 255 (rx)
Negotiated Dtmf-relay : 0
Dtmf-relay Payload : 0 (tx), 0 (rx)
Source IP Address (Media): 10.222.222.206
Source IP Port (Media): 18396
Destn IP Address (Media): -
Destn IP Port (Media): 0
Orig Destn IP Address:Port (Media): [ - ]:0

.Aug 21 11:48:27.142: //118288/00E76E5BD800/SIP/Call/sipSPICallInfo:
Disconnect Cause (CC) : 47
Disconnect Cause (SIP) : 401

.Aug 21 11:48:27.162: //118285/5B6EE7000000/SIP/Call/sipSPICallInfo:
The Call Setup Information is:
Call Control Block (CCB) : 0x2BAD2218
State of The Call : STATE_DEAD
TCP Sockets Used : YES
Calling Number : 226698999
Called Number : 0923550415
Source IP Address (Sig 10.222.222.206
Destn SIP Req Addr:Port : 10.3.89.106:5060
Destn SIP Resp Addr:Port : 10.3.89.106:42459
Destination Name : 10.3.89.106

.Aug 21 11:48:27.162: //118285/5B6EE7000000/SIP/Call/sipSPIMediaCallInfo:
Number of Media Streams: 1
Media Stream : 1
Negotiated Codec : g711ulaw
Negotiated Codec Bytes : 160
Nego. Codec payload : 0 (tx), 0 (rx)
Negotiated Dtmf-relay : 6
Dtmf-relay Payload : 101 (tx), 101 (rx)
Source IP Address (Media): 10.222.222.206
Source IP Port (Media): 28800
Destn IP Address (Media): 10.3.89.106
Destn IP Port (Media): 30564
Orig Destn IP Address:Port (Media): [ - ]:0

.Aug 21 11:48:27.162: //118285/5B6EE7000000/SIP/Call/sipSPICallInfo:
Disconnect Cause (CC) : 47
Disconnect Cause (SIP) : 503

.Aug 21 11:48:33.098: //118290/2068AEED9586/SIP/Call/sipSPICallInfo:
The Call Setup Information is:
Call Control Block (CCB) : 0x2BB31B08
State of The Call : STATE_DEAD
TCP Sockets Used : YES
Calling Number : 0244958032496
Called Number : 98270
Source IP Address (Sig 10.3.127.10
Destn SIP Req Addr:Port : :0
Destn SIP Resp Addr:Port : :0
Destination Name :

.Aug 21 11:48:33.098: //118290/2068AEED9586/SIP/Call/sipSPIMediaCallInfo:
Number of Media Streams: 1
Media Stream : 1
Negotiated Codec : No Codec
Negotiated Codec Bytes : 0
Nego. Codec payload : 255 (tx), 255 (rx)
Negotiated Dtmf-relay : 0
Dtmf-relay Payload : 0 (tx), 0 (rx)
Source IP Address (Media): 10.3.127.10
Source IP Port (Media): 18768
Destn IP Address (Media): -
Destn IP Port (Media): 0
Orig Destn IP Address:Port (Media): [ - ]:0

.Aug 21 11:48:33.098: //118290/2068AEED9586/SIP/Call/sipSPICallInfo:
Disconnect Cause (CC) : 47
Disconnect Cause (SIP) : 200

.Aug 21 11:48:33.098: //118291/2068AEED9586/SIP/Call/sipSPICallInfo:
The Call Setup Information is:
Call Control Block (CCB) : 0x2BB31B08
State of The Call : STATE_DEAD
TCP Sockets Used : YES
Calling Number : 0244958032496
Called Number : 98270
Source IP Address (Sig 10.3.127.10
Destn SIP Req Addr:Port : :0
Destn SIP Resp Addr:Port : :0
Destination Name :

.Aug 21 11:48:33.098: //118291/2068AEED9586/SIP/Call/sipSPIMediaCallInfo:
Number of Media Streams: 1
Media Stream : 1
Negotiated Codec : No Codec
Negotiated Codec Bytes : 0
Nego. Codec payload : 255 (tx), 255 (rx)
Negotiated Dtmf-relay : 0
Dtmf-relay Payload : 0 (tx), 0 (rx)
Source IP Address (Media): 10.3.127.10
Source IP Port (Media): 16546
Destn IP Address (Media): -
Destn IP Port (Media): 0
Orig Destn IP Address:Port (Media): [ - ]:0

.Aug 21 11:48:33.098: //118291/2068AEED9586/SIP/Call/sipSPICallInfo:
Disconnect Cause (CC) : 47
Disconnect Cause (SIP) : 200

.Aug 21 11:48:33.102: //118292/2068AEED9586/SIP/Call/sipSPICallInfo:
The Call Setup Information is:
Call Control Block (CCB) : 0x2BB31B08
State of The Call : STATE_DEAD
TCP Sockets Used : YES
Calling Number : 0244958032496
Called Number : 98270
Source IP Address (Sig 10.3.127.10
Destn SIP Req Addr:Port : :0
Destn SIP Resp Addr:Port : :0
Destination Name :

.Aug 21 11:48:33.102: //118292/2068AEED9586/SIP/Call/sipSPIMediaCallInfo:
Number of Media Streams: 1
Media Stream : 1
Negotiated Codec : No Codec
Negotiated Codec Bytes : 0
Nego. Codec payload : 255 (tx), 255 (rx)
Negotiated Dtmf-relay : 0
Dtmf-relay Payload : 0 (tx), 0 (rx)
Source IP Address (Media): 10.3.127.10
Source IP Port (Media): 27826
Destn IP Address (Media): -
Destn IP Port (Media): 0
Orig Destn IP Address:Port (Media): [ - ]:0

.Aug 21 11:48:33.102: //118292/2068AEED9586/SIP/Call/sipSPICallInfo:
Disconnect Cause (CC) : 47
Disconnect Cause (SIP) : 200

.Aug 21 11:48:33.114: //118289/2068AEED9586/SIP/Call/sipSPICallInfo:
The Call Setup Information is:
Call Control Block (CCB) : 0x2BAD2218
State of The Call : STATE_DEAD
TCP Sockets Used : NO
Calling Number : 0244958032496
Called Number : 98270
Source IP Address (Sig 10.222.222.206
Destn SIP Req Addr:Port : 41.221.248.10:5060
Destn SIP Resp Addr:Port : 41.221.248.10:5060
Destination Name : 41.221.248.10

.Aug 21 11:48:33.114: //118289/2068AEED9586/SIP/Call/sipSPIMediaCallInfo:
Number of Media Streams: 1
Media Stream : 1
Negotiated Codec : g711alaw
Negotiated Codec Bytes : 160
Nego. Codec payload : 8 (tx), 8 (rx)
Negotiated Dtmf-relay : 6
Dtmf-relay Payload : 98 (tx), 98 (rx)
Source IP Address (Media): 10.222.222.206
Source IP Port (Media): 26566
Destn IP Address (Media): 41.221.248.10
Destn IP Port (Media): 37254
Orig Destn IP Address:Port (Media): [ - ]:0

.Aug 21 11:48:33.114: //118289/2068AEED9586/SIP/Call/sipSPICallInfo:
Disconnect Cause (CC) : 47
Disconnect Cause (SIP) : 503

****Incoming call****

.Aug 21 11:50:47.011: //118305/703A2A729597/SIP/Call/sipSPICallInfo:
The Call Setup Information is:
Call Control Block (CCB) : 0x2BB04B88
State of The Call : STATE_DEAD
TCP Sockets Used : YES
Calling Number : 922293187
Called Number : 98999
Source IP Address (Sig 10.222.222.206
Destn SIP Req Addr:Port : :0
Destn SIP Resp Addr:Port : :0
Destination Name :

.Aug 21 11:50:47.011: //118305/703A2A729597/SIP/Call/sipSPIMediaCallInfo:
Number of Media Streams: 1
Media Stream : 1
Negotiated Codec : No Codec
Negotiated Codec Bytes : 0
Nego. Codec payload : 255 (tx), 255 (rx)
Negotiated Dtmf-relay : 0
Dtmf-relay Payload : 0 (tx), 0 (rx)
Source IP Address (Media): 10.222.222.206
Source IP Port (Media): 32026
Destn IP Address (Media): -
Destn IP Port (Media): 0
Orig Destn IP Address:Port (Media): [ - ]:0

.Aug 21 11:50:47.011: //118305/703A2A729597/SIP/Call/sipSPICallInfo:
Disconnect Cause (CC) : 47
Disconnect Cause (SIP) : 200

.Aug 21 11:50:47.023: //118304/703A2A729597/SIP/Call/sipSPICallInfo:
The Call Setup Information is:
Call Control Block (CCB) : 0x2BAC1448
State of The Call : STATE_DEAD
TCP Sockets Used : NO
Calling Number : 922293187
Called Number : 226698999
Source IP Address (Sig 10.222.222.206
Destn SIP Req Addr:Port : 41.221.248.10:5060
Destn SIP Resp Addr:Port : 41.221.248.10:5060
Destination Name : 41.221.248.10

.Aug 21 11:50:47.023: //118304/703A2A729597/SIP/Call/sipSPIMediaCallInfo:
Number of Media Streams: 1
Media Stream : 1
Negotiated Codec : g711alaw
Negotiated Codec Bytes : 160
Nego. Codec payload : 8 (tx), 8 (rx)
Negotiated Dtmf-relay : 6
Dtmf-relay Payload : 98 (tx), 98 (rx)
Source IP Address (Media): 10.222.222.206
Source IP Port (Media): 17656
Destn IP Address (Media): 41.221.248.10
Destn IP Port (Media): 37916
Orig Destn IP Address:Port (Media): [ - ]:0

.Aug 21 11:50:47.023: //118304/703A2A729597/SIP/Call/sipSPICallInfo:
Disconnect Cause (CC) : 47
Disconnect Cause (SIP) : 503

 

Thank you!

11 Replies 11

You did from what I can tell not attach the configuration of your gateway. Can you please provide that in an attached text file, along with the output from these debugs running in parallel, debug ccsip message, debug ccsip media and debug voip ccapi inout also in an attached text file.

From the shared information it looks like your getting a disconnect because of cause 47, that means No Resource. There are many reasons for this, so you’ll need to provide a little more details on the matter and the asked for information should help with that.



Response Signature


Thank you for your response.

I’ve attached the configuration of my gateway as well as the outputs from the requested debug commands (debug ccsip message, debug ccsip media, and debug voip ccapi inout). Hopefully, this additional information will help us identify the root cause of the issue.

I appreciate your assistance and look forward to your insights.

You have not turned on Cube functionality in your gateway and your using non best practices matching for your inbound dial peers. Please have a look at these documents and change the match on the inbound dial peers to use information in the VIA header instead of calling number and turn on Cube functionality so that your router acts as a Session Border Controller (SBC).

Cisco Unified Border Element Configuration Guide Through Cisco IOS XE 17.5 

Explain Cisco IOS and IOS XE Call Routing 



Response Signature


*******debug ccsip messages *******

.Aug 21 13:27:02.082: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
OPTIONS sip:metaswitch@10.222.222.206:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 41.221.248.10:5060;rport;branch=z9hG4bK+b8cafe8db90579ecd59f1f841cbad5ed1+sip+1+d60769ee
From: <sip:metaswitch@10.10.4.80>;tag=41.221.248.10+1+b3cc1367+627be514
Content-Length: 0
Supported: resource-priority,siprec, 100rel
To: <sip:metaswitch@41.221.248.10>
Contact: <sip:ff5c292270cd9231aede005efc0546b6@41.221.248.10:5060>
Allow-Events: message-summary,refer,dialog,line-seize,presence,call-info,as-feature-event,calling-name,ua-profile
Max-Forwards: 69
Call-ID: 0gQAAC8WAAACBAAALxYAAClGWQytGPlTfVB0Qf8m1bR9OamOJgCzdeP1I5JIGlsJ@41.221.248.10
CSeq: 156633551 OPTIONS
Organization: MSW
Accept: application/sdp, application/dtmf-relay


.Aug 21 13:27:02.082: //118856/E271EF71983E/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 41.221.248.10:5060;rport;branch=z9hG4bK+b8cafe8db90579ecd59f1f841cbad5ed1+sip+1+d60769ee
From: <sip:metaswitch@10.10.4.80>;tag=41.221.248.10+1+b3cc1367+627be514
To: <sip:metaswitch@41.221.248.10>;tag=482AF780-1BBE
Date: Wed, 21 Aug 2024 13:27:02 GMT
Call-ID: 0gQAAC8WAAACBAAALxYAAClGWQytGPlTfVB0Qf8m1bR9OamOJgCzdeP1I5JIGlsJ@41.221.248.10
Server: Cisco-SIPGateway/IOS-12.x
CSeq: 156633551 OPTIONS
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
Allow-Events: telephone-event
Accept: application/sdp
Supported: 100rel,timer,resource-priority,replaces,sdp-anat
Content-Type: application/sdp
Content-Length: 458

v=0
o=CiscoSystemsSIP-GW-UserAgent 1660 5597 IN IP4 10.222.222.206
s=SIP Call
c=IN IP4 10.222.222.206
t=0 0
m=audio 0 RTP/AVP 18 0 8 9 4 2 15
c=IN IP4 10.222.222.206
m=image 0 udptl t38
c=IN IP4 10.222.222.206
a=T38FaxVersion:0
a=T38MaxBitRate:9600
a=T38FaxFillBitRemoval:0
a=T38FaxTranscodingMMR:0
a=T38FaxTranscodingJBIG:0
a=T38FaxRateManagement:transferredTCF
a=T38FaxMaxBuffer:200
a=T38FaxMaxDatagram:320
a=T38FaxUdpEC:t38UDPRedundancy

.Aug 21 13:27:16.210: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
INVITE sip:226698999@10.222.222.206:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 41.221.248.10:5060;rport;branch=z9hG4bK+734bb4ffc6350a3fb3c5804492f02acc1+sip+1+d6076afe
From: <sip:922293187@41.221.248.10>;tag=41.221.248.10+1+c539d2ba+23e10339;isup-oli=00
To: <sip:226698999@41.221.248.10>
CSeq: 387683071 INVITE
Expires: 180
Content-Length: 198
Call-Info: <sip:41.221.248.10:5060>;method="NOTIFY;Event=telephone-event;Duration=2000"
Supported: resource-priority,siprec, 100rel
Contact: <sip:21528be2e045812c024f8ad768e8f382@41.221.248.10:5060>;isup-oli=00
Content-Type: application/sdp
Allow-Events: message-summary,refer,dialog,line-seize,presence,call-info,as-feature-event,calling-name,ua-profile
Call-ID: 0gQAAC8WAAACBAAALxYAAJTN93+rBlja4hkVVtRMZgeD21nTyqp6Hv9DRkHdVr7Y@41.221.248.10
Organization: MSW
Max-Forwards: 66
P-Asserted-Identity: <sip:922293187@41.221.248.10>
Accept: application/sdp, application/dtmf-relay

v=0
o=- 37492347174507 37492347174507 IN IP4 41.221.248.10
s=-
c=IN IP4 41.221.248.10
t=0 0
m=audio 63018 RTP/AVP 8 98
a=rtpmap:98 telephone-event/8000
a=silenceSupp:off - - - -
a=ptime:20

.Aug 21 13:27:16.222: //118857/EADDB5FE983F/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 41.221.248.10:5060;rport;branch=z9hG4bK+734bb4ffc6350a3fb3c5804492f02acc1+sip+1+d6076afe
From: <sip:922293187@41.221.248.10>;tag=41.221.248.10+1+c539d2ba+23e10339;isup-oli=00
To: <sip:226698999@41.221.248.10>
Date: Wed, 21 Aug 2024 13:27:16 GMT
Call-ID: 0gQAAC8WAAACBAAALxYAAJTN93+rBlja4hkVVtRMZgeD21nTyqp6Hv9DRkHdVr7Y@41.221.248.10
CSeq: 387683071 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-12.x
Content-Length: 0


.Aug 21 13:27:16.222: //118857/EADDB5FE983F/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 503 Service Unavailable
Via: SIP/2.0/UDP 41.221.248.10:5060;rport;branch=z9hG4bK+734bb4ffc6350a3fb3c5804492f02acc1+sip+1+d6076afe
From: <sip:922293187@41.221.248.10>;tag=41.221.248.10+1+c539d2ba+23e10339;isup-oli=00
To: <sip:226698999@41.221.248.10>;tag=482B2EBC-26AF
Date: Wed, 21 Aug 2024 13:27:16 GMT
Call-ID: 0gQAAC8WAAACBAAALxYAAJTN93+rBlja4hkVVtRMZgeD21nTyqp6Hv9DRkHdVr7Y@41.221.248.10
CSeq: 387683071 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-12.x
Reason: Q.850;cause=47
Content-Length: 0


.Aug 21 13:27:16.234: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
ACK sip:226698999@10.222.222.206:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 41.221.248.10:5060;rport;branch=z9hG4bK+734bb4ffc6350a3fb3c5804492f02acc1+sip+1+d6076afe
From: <sip:922293187@41.221.248.10>;tag=41.221.248.10+1+c539d2ba+23e10339;isup-oli=00
To: <sip:226698999@41.221.248.10>;tag=482B2EBC-26AF
CSeq: 387683071 ACK
Content-Length: 0
Call-ID: 0gQAAC8WAAACBAAALxYAAJTN93+rBlja4hkVVtRMZgeD21nTyqp6Hv9DRkHdVr7Y@41.221.248.10
Max-Forwards: 66


.Aug 21 13:27:20.434: //118859/000000000000/SIP/Msg/ccsipDisplayMsg:
Sent:
OPTIONS sip:41.221.248.10:5060 SIP/2.0
Via: SIP/2.0/UDP 10.222.222.206:5060;branch=z9hG4bK135D2180E
From: <sip:sbc1.mstelcom.com:5060>;tag=482B3F30-933
To: <sip:41.221.248.10>
Date: Wed, 21 Aug 2024 13:27:20 GMT
Call-ID: ED623E19-5EF711EF-9845BAAA-AC5AB0ED@sbc1.mstelcom.com:5060
User-Agent: Cisco-SIPGateway/IOS-12.x
Max-Forwards: 70
CSeq: 101 OPTIONS
Contact: <sip:10.222.222.206:5060>
Content-Length: 0


.Aug 21 13:27:20.446: //118859/000000000000/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 200 OK
From: <sip:sbc1.mstelcom.com:5060>;tag=482B3F30-933
To: <sip:41.221.248.10>;tag=sip+1+7bb7002d+5b855c62
Via: SIP/2.0/UDP 10.222.222.206:5060;branch=z9hG4bK135D2180E
Server: SIP/2.0
Date: Wed, 21 Aug 2024 13:27:20 GMT
Call-ID: ED623E19-5EF711EF-9845BAAA-AC5AB0ED@sbc1.mstelcom.com:5060
User-Agent: Cisco-SIPGateway/IOS-12.x
CSeq: 101 OPTIONS
Contact: <sip:10.222.222.206:5060>
Content-Length: 0


.Aug 21 13:27:23.070: //118860/000000000000/SIP/Msg/ccsipDisplayMsg:
Sent:
OPTIONS sip:41.221.248.10:5060 SIP/2.0
Via: SIP/2.0/UDP 10.222.222.206:5060;branch=z9hG4bK135D3285
From: <sip:sbc1.mstelcom.com:5060>;tag=482B497C-1AC9
To: <sip:41.221.248.10>
Date: Wed, 21 Aug 2024 13:27:23 GMT
Call-ID: EEF478D7-5EF711EF-9846BAAA-AC5AB0ED@sbc1.mstelcom.com:5060
User-Agent: Cisco-SIPGateway/IOS-12.x
Max-Forwards: 70
CSeq: 101 OPTIONS
Contact: <sip:10.222.222.206:5060>
Content-Length: 0


.Aug 21 13:27:23.082: //118860/000000000000/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 200 OK
From: <sip:sbc1.mstelcom.com:5060>;tag=482B497C-1AC9
To: <sip:41.221.248.10>;tag=sip+1+547f002d+5d8d79cc
Via: SIP/2.0/UDP 10.222.222.206:5060;branch=z9hG4bK135D3285
Server: SIP/2.0
Date: Wed, 21 Aug 2024 13:27:23 GMT
Call-ID: EEF478D7-5EF711EF-9846BAAA-AC5AB0ED@sbc1.mstelcom.com:5060
User-Agent: Cisco-SIPGateway/IOS-12.x
CSeq: 101 OPTIONS
Contact: <sip:10.222.222.206:5060>
Content-Length: 0


.Aug 21 13:27:34.254: //118861/000000000000/SIP/Msg/ccsipDisplayMsg:
Sent:
OPTIONS sip:41.221.248.10:5060 SIP/2.0
Via: SIP/2.0/UDP 10.222.222.206:5060;branch=z9hG4bK135D42271
From: <sip:sbc1.mstelcom.com:5060>;tag=482B752C-874
To: <sip:41.221.248.10>
Date: Wed, 21 Aug 2024 13:27:34 GMT
Call-ID: F59F0613-5EF711EF-9847BAAA-AC5AB0ED@sbc1.mstelcom.com:5060
User-Agent: Cisco-SIPGateway/IOS-12.x
Max-Forwards: 70
CSeq: 101 OPTIONS
Contact: <sip:10.222.222.206:5060>
Content-Length: 0


.Aug 21 13:27:34.266: //118861/000000000000/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 200 OK
From: <sip:sbc1.mstelcom.com:5060>;tag=482B752C-874
To: <sip:41.221.248.10>;tag=sip+1+53220030+59c3ccbd
Via: SIP/2.0/UDP 10.222.222.206:5060;branch=z9hG4bK135D42271
Server: SIP/2.0
Date: Wed, 21 Aug 2024 13:27:34 GMT
Call-ID: F59F0613-5EF711EF-9847BAAA-AC5AB0ED@sbc1.mstelcom.com:5060
User-Agent: Cisco-SIPGateway/IOS-12.x
CSeq: 101 OPTIONS
Contact: <sip:10.222.222.206:5060>
Content-Length: 0

Please don’t post debug output directly into a post as it makes it very hard to work with. Turn on all the suggested debugs to have them all running at the same time, then redo the test call and collect the output into one text file.



Response Signature


Vaijanath Sonvane
VIP Alumni
VIP Alumni

Hi @edmarcarvalho29177,

You need few changes to your configuration. See below:

1. Remove SIP bind commands under "voice service voip". You already have these bind commands under dial peers

 

voice service voip
 sip
  no bind control source-interface GigabitEthernet0/0.1597
  no bind media source-interface GigabitEthernet0/0.1597

 

The gateway is trying to send calls back to service provider on same interface instead of using LAN interface:

VaijanathSonvane_0-1724249060849.png

2. The incoming dial peer from service provider has the incoming translation profile "PSTNIN".

 

dial-peer voice 10 voip
 description **Inbound WAN dial-peer. From MSTelcom to VGW**
 translation-profile incoming PSTNIN

!
voice translation-rule 3
 rule  /^98/ /98/
!
voice translation-rule 4
 rule  /^98\(.....\)$/ /\1/
!
voice translation-rule 6
 rule  /^226698(.*)$/ /98\1/
!
voice translation-profile PSTNIN
 translate calling 3
 translate called 4
!

 

You are receiving INVITE from service provider with message INVITE sip:226698999@10.222.222.206:5060;transport=udp SIP/2.0. But the translation rule 4 does not match incoming number. Update the translation profile as below:

 

voice translation-profile PSTNIN
 translate called 6

3. Remove test dial-peer and translation rules after you make above changes. 

 

 

 

Please rate helpful posts and if applicable mark "Accept as a Solution".
Thanks, Vaijanath S.

Hi Vaijanath Sonvane

I have made all the necessary changes to my configuration, but the issue persists—calls are still not coming through. Here are the outputs from the current configuration.

You still do not have Cube functionality turned on in your router. Follow this chapter in the Cube configuration guide I linked to in a prior reply. Enabling the CUBE Application on a Device 

Also your dial peer 103 is missing the bind statements. However I believe that this is the dial peer that @Vaijanath Sonvane suggested you to remove as it seems to potentially be some sort of test dial peer.

Please do not put the running configuration and the output from debugs in the same file, it makes it unnecessary difficult to work with.



Response Signature


Look at this post for a hint on how to reconfigure your inbound dial peer match to use VIA header information instead of what you use now.

https://community.cisco.com/t5/ip-telephony-and-phones/outgoing-and-incoming-call-not-working/m-p/5160025#M416472



Response Signature


Hi @edmarcarvalho29177.,

Remove the translation profile from dial-peers pointing to CUCM:

dial-peer voice 101 voip
 description **Outbound LAN dial-peer.From VGW to CUCM**
 no translation-profile outgoing PSTNIN
!
dial-peer voice 102 voip
 description **Outbound LAN dial-peer.From VGW to CUCM**
 no translation-profile outgoing PSTNIN
!
dial-peer voice 104 voip
 description **Outbound LAN dial-peer.From VGW to CUCM**
 no translation-profile outgoing PSTNIN

 

Please rate helpful posts and if applicable mark "Accept as a Solution".
Thanks, Vaijanath S.

How is it going with this, have you made the suggested changes to your configuration and if so what is the current state?



Response Signature