cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
888
Views
0
Helpful
27
Replies

SIP outgoing calls are not working on Cisco 4331

Bothra Group
Level 1
Level 1

Hi all,

we have 3 locations connected with MPLS line and internal calls are working fine.we have taken SIP for outgoing calls in one location. SIP connected to cisco 4331 router. outbound calls are not working. attached is my debug and config.

Please do the needful.

27 Replies 27

Can you please use a simple text file to provide your information instead of a Word file? There are some companies that have security protocols that don’t allow opening files of this type from unknown sources.



Response Signature


I looked briefly on your file on my mobile phone, as it doesn’t have the same security restrictions as regular computer devices. First of all you have not turned on Cube functionality in your router, you do that with mode border-element under the voice service voip section, secondly why do you not share the entire running configuration instead of trying to show pieces of it with filter options? If there are parts that you want to redact due to security concerns please do so by changing the data. Thirdly it is not best practice to use SIP-UA for registration configuration to your ITSP, use tenant configuration for this instead. See this document for further information on how to configure your router as an SBC. Cisco Unified Border Element Configuration Guide - Cisco IOS XE 17.6 Onwards 



Response Signature


Bothra Group
Level 1
Level 1

Please find the attached configuration on cisco 4331 

Still in a Word file. As mentioned I’m not going to be able to open that on any of my computers as it’s not allowed per company policy. If you want me to help you out with this please post the text in a regular txt file.



Response Signature


Bothra Group
Level 1
Level 1

Dear Roger,

 

I"m trying to upload txt file but no luck. they consider as a spam and deleting the file.

Correct the highlighted errors and try again.

The attachment's vtz_isr_4331.txt.txt content type (text/plain) does not match its file extension and has been removed.

 

I don’t know what you’re doing wrong, I’ve never had any problems uploading a text file. But never mind, please do the changes I suggested initially and see if you get the registration to work for your ITSP trunk.



Response Signature


Bothra Group
Level 1
Level 1

voice service voip
ip address trusted list
ipv4 172.17.27.59
ipv4 192.168.5.8
ipv4 172.17.40.8
ipv4 10.125.41.230
ipv4 10.5.109.147
ipv4 10.5.64.98
ipv4 10.5.64.99
ipv4 10.5.64.114
ipv4 10.5.64.115
ipv4 10.5.64.66
ipv4 10.5.64.67
ipv4 10.5.64.82
ipv4 10.5.64.83
--More--   allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
no supplementary-service sip moved-temporarily
no supplementary-service sip refer
supplementary-service media-renegotiate
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
trace
sip
registrar server expires max 120 min 60
!
!
voice class uri PSTN sip
host ipv4:10.5.109.147
voice class codec 1
codec preference 1 g711ulaw
!
!
voice class sip-profiles 1
request INVITE sip-header P-Asserted-Identity modify "ap.ims.airtel.in" "10.5.109.147"
request INVITE sip-header From modify "ap.ims.airtel.in" "10.5.109.147"
!

Bothra Group
Level 1
Level 1

voice class tenant 3
registrar 1 ipv4:10.5.109.147:5060 expires 3600
credentials username +918914560050 password xxxx realm ap.ims.airtel.in
authentication username +918914560050 password xxxx realm ap.ims.airtel.in
no remote-party-id
retry invite 4
retry response 3
retry bye 2
retry cancel 2
retry register 5
timers register 250
sip-server ipv4:10.5.109.147
connection-reuse via-port
bind control source-interface GigabitEthernet0/0/2
bind media source-interface GigabitEthernet0/0/2
outbound-proxy ipv4:10.5.109.147:5060

Bothra Group
Level 1
Level 1

voice translation-rule 1
rule 1 /^9\(.*\)/ /\1/
!
voice translation-rule 2
rule 1 /.*/ /8914560050/
!
voice translation-rule 3
rule 1 /918914560050/ /187/
!

Bothra Group
Level 1
Level 1

voice translation-profile INCOMING
translate called 3
!
voice translation-profile OUTGOING
translate calling 2
translate called 1

Bothra Group
Level 1
Level 1

interface GigabitEthernet0/0/0
ip address 172.17.40.8 255.255.255.0
negotiation auto
!
interface GigabitEthernet0/0/1
ip address 172.49.53.22 255.255.255.252
negotiation auto
!
interface GigabitEthernet0/0/2
ip address 10.125.41.230 255.255.255.252
negotiation auto
!

Bothra Group
Level 1
Level 1

ip route 0.0.0.0 0.0.0.0 172.17.40.1
ip route 10.5.64.0 255.255.255.0 10.125.41.229
ip route 10.5.109.0 255.255.255.0 10.125.41.229
ip route 172.17.24.0 255.255.252.0 172.49.53.21
ip route 172.17.27.0 255.255.255.0 172.49.53.21

Bothra Group
Level 1
Level 1

dial-peer voice 900 voip
description KolCUCM
destination-pattern 9..
session protocol sipv2
session target ipv4:172.17.27.59
session transport tcp
incoming called-number 1..
voice-class sip bind control source-interface GigabitEthernet0/0/0
voice-class sip bind media source-interface GigabitEthernet0/0/0
--More--   dtmf-relay rtp-nte
codec g711ulaw
!
dial-peer voice 1 voip
description KkdCME
destination-pattern 8..
session protocol sipv2
session target ipv4:192.168.5.8
incoming called-number 1..
voice-class sip bind control source-interface GigabitEthernet0/0/0
voice-class sip bind media source-interface GigabitEthernet0/0/0
dtmf-relay rtp-nte
codec g711ulaw
!
dial-peer voice 300 voip
description *Outbound Calls*
translation-profile outgoing OUTGOING
destination-pattern 9[2-9].........
session protocol sipv2
session target ipv4:10.5.109.147
voice-class codec 1
voice-class sip early-offer forced
voice-class sip profiles 1
--More--   voice-class sip tenant 3
dtmf-relay rtp-nte
no vad
!
dial-peer voice 500 voip
description *Inbound calls*
translation-profile incoming INCOMING
session protocol sipv2
incoming called-number .%
incoming uri via PSTN
voice-class codec 1
voice-class sip transport switch udp tcp
voice-class sip early-offer forced
voice-class sip tenant 3
dtmf-relay rtp-nte
no vad
!
!
sip-ua
retry invite 2
timers trying 300
registrar ipv4:10.125.41.229 expires 3600
registrar dns:ap.ims.airtel.in expires 3600 secondary
--More--   connection-reuse
g729-annexb override

 

Bothra Group
Level 1
Level 1


VTZ_ISR_4331#sh run | s sip-ua
sip-ua
retry invite 2
timers trying 300
registrar ipv4:10.5.109.147 expires 3600
registrar dns:ap.ims.airtel.in expires 3600 secondary
connection-reuse
g729-annexb override
VTZ_ISR_4331#