cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1115
Views
5
Helpful
6
Replies

SIP Trunk Outbound Call Failure

Hi,

We are trying to configure an authenticated SIP trunk towards the ITSP. The registration looks good. We are able to receive incoming calls but outbound calls are failing.

 

Here is the relevant configuration:

sip-ua
credentials username 55507210 password 7 xxx realm sipprovider.com
retry register 10
registrar 1 dns:sipprovider.com:6321 expires 3600
sip-server dns:sipprovider.com:6321

 

dial-peer voice 2001 voip
translation-profile incoming IN
translation-profile outgoing OUT
max-conn 10
destination-pattern [925678].......
modem passthrough nse codec g711ulaw
session protocol sipv2
session target sip-server
session transport udp
incoming called-number .
dtmf-relay sip-notify sip-kpml rtp-nte h245-signal
codec g711ulaw
no vad

 

And here is the debug ccsip mess output:

----------------------------------------------------------------------------------------

Sent:
INVITE sip:22224444@sipprovider.com:6321 SIP/2.0
Via: SIP/2.0/UDP 166.166.166.166:5060;branch=z9hG4bK657A671
Remote-Party-ID: "Office" <sip:55507210@166.166.166.166>;party=calling;screen=no;privacy=off
From: "Office" <sip:55507210@166.166.166.166>;tag=1716A8D4-2347
To: <sip:22224444@sipprovider.com>
Date: Mon, 05 Jul 2021 12:56:52 GMT
Call-ID: 4DAEF96A-DCC711EB-8353AF28-E51E2F2F@166.166.166.166
Supported: 100rel,timer,resource-priority,replaces,sdp-anat
Min-SE: 1800
Cisco-Guid: 1287072012-3704033771-2202971944-3843960623
User-Agent: Cisco-SIPGateway/IOS-12.x
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
CSeq: 101 INVITE
Max-Forwards: 70
Timestamp: 1625489812
Contact: <sip:55507210@166.166.166.166:5060>
Call-Info: <sip:166.166.166.166:5060>;method="NOTIFY;Event=telephone-event;Duration=2000"
Expires: 180
Allow-Events: kpml, telephone-event
Content-Type: application/sdp
Content-Disposition: session;handling=required
Content-Length: 298

v=0
o=CiscoSystemsSIP-GW-UserAgent 666 7875 IN IP4 166.166.166.166
s=SIP Call
c=IN IP4 166.166.166.166
t=0 0
m=audio 17166 RTP/AVP 0 100 101
c=IN IP4 166.166.166.166
a=rtpmap:0 PCMU/8000
a=rtpmap:100 X-NSE/8000
a=fmtp:100 192-194
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20

Jul 5 15:56:52.696: //26030/4CB7290C834E/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 403 No relaying
Via: SIP/2.0/UDP 166.166.166.166:5060;received=166.166.166.166;rport=56169;branch=z9hG4bK657A671
From: "Office" <sip:55507210@166.166.166.166>;tag=1716A8D4-2347
To: <sip:22224444@sipprovider.com>;tag=9e08.c5bf3bfd769785537187c6c20318433e
Call-ID: 4DAEF96A-DCC711EB-8353AF28-E51E2F2F@166.166.166.166
CSeq: 101 INVITE
Server : SIPProvider proxy
Content-Length: 0


Jul 5 15:56:52.712: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
ACK sip:22224444@sipprovider.com:6321 SIP/2.0
Via: SIP/2.0/UDP 166.166.166.166:5060;branch=z9hG4bK657A671
From: "Office" <sip:55507210@166.166.166.166>;tag=1716A8D4-2347
To: <sip:22224444@sipprovider.com>;tag=9e08.c5bf3bfd769785537187c6c20318433e
Date: Mon, 05 Jul 2021 12:56:52 GMT
Call-ID: 4DAEF96A-DCC711EB-8353AF28-E51E2F2F@166.166.166.166
Max-Forwards: 70
CSeq: 101 ACK
Allow-Events: kpml, telephone-event
Content-Length: 0

-----------------------------------------------------------------------------

 

Im not able to find any documentation for the error "SIP/2.0 403 No relaying"

Kindly assist.

 

Regards

SAIF

6 Replies 6

How do you bind the media, I don't see any bind command  on dial-peer. are you binding it globally ?

 

can you share the voice service voip configuration. 

 

 



Response Signature


Are you sure that you source the traffic from the IP that your service provider expects? This is done with bind statements on the dial peers.



Response Signature


The bind statements are globally placed and are according to the design. Yes, ITSP accepts our IP. Inward calls are working fine, this would confirm that source binding for signaling and media are fine.

 

voice service voip
ip address trusted list
ipv4 192.168.0.0 255.255.0.0
ipv4 X.X.X.0 255.255.255.0
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
sip
bind control source-interface Tunnel1000
bind media source-interface Tunnel1000
registrar server expires max 600 min 60
!

Is this the whole section for voice services? If so you do not have the Cube services started on your SBC. For details on this please see this document. https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/voice/cube/configuration/cube-book/voi-cube-overview.html



Response Signature


Its old IOS on 2800 ISR. It does not have SBC and mode commands.

 

Cisco IOS Software, 2800 Software (C2800NM-ADVENTERPRISEK9-M), Version 15.1(4)M12a, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2016 by Cisco Systems, Inc.
Compiled Tue 04-Oct-16 03:37 by prod_rel_team

That’s a really old piece of hardware and software that both are EOL. Would really recommend you to change it out to something current.



Response Signature