Greetings folks,
My customer (MS Lync) is sending me sip calls in a +1NXX-NXX-XXXX format through a NV3140eSBC, to my softswitch.
Lync Server sends +1NXX-NXX-XXXX for a long-distance call
NV3140eSBC send me a simple 10D call
Call fails due to invalid dialing pattern (i expect a 1NXX-NXX-XXXX or +1NXX-NXX-XXXX)
MS_Lync to NV3140eSBC
10:28:06.427 SIP.STACK MSG | Rx: TCP src=192.168.250.26:51436 dst=192.168.250.10:5060 |
10:28:06.427 SIP.STACK MSG | INVITE sip:+14186863802@192.168.250.10;user=phone SIP/2.0 |
10:28:06.427 SIP.STACK MSG | FROM: <sip:4507748621@msgeslam.com;user=phone>;epid=21D3C28CE0;tag=bb82b9187c |
10:28:06.428 SIP.STACK MSG | TO: <sip:+14186863802@192.168.250.10;user=phone> |
NV3140eSBC to Softswitch
10:28:06.444 SIP.STACK MSG | Tx: UDP src=10.10.7.5:5060 dst=10.201.0.40:5060 |
10:28:06.445 SIP.STACK MSG | INVITE sip:4186863802@10.201.0.40:5060 SIP/2.0 |
10:28:06.445 SIP.STACK MSG | From: <sip:4507748621@10.201.0.40:5060;transport=UDP>;tag=5232fd70-7f000001-13c4-38c64a-ced94389-38c64a |
10:28:06.445 SIP.STACK MSG | To: <sip:4186863802@10.201.0.40:5060> |
Here's the config... what am i missing?
NV3140-GESLAM#show running-config
Building configuration...
!
!
! ADTRAN, Inc. OS version R12.3.2
! Boot ROM version R11.5.0
!
clock timezone -5-Eastern-Time
!
ip subnet-zero
ip classless
ip default-gateway 10.10.7.1
ip routing
ipv6 unicast-routing
!
!
domain-proxy
!
!
!
!
no ip firewall alg msn
no ip firewall alg mszone
no ip firewall alg h323
!
!
!
!
!
!
aaa authentication login default local
!
aaa authentication enable default enable
!
!
!
no dot11ap access-point-control
!
!
!
!
!
!
!
!
!
!
!
!
!
!
ip flow top-talkers
interval 10
!
interface gigabit-eth 0/1
description PROVIDER
ip address 10.10.7.5 255.255.255.0
no shutdown
media-gateway ip primary
!
!
interface gigabit-eth 0/2
description CUSTOMER
ip address 192.168.250.10 255.255.255.0
ip mtu 1500
no awcp
no shutdown
media-gateway ip primary
!
!
interface gigabit-eth 0/3
no ip address
shutdown
!
!
!
!
!
!
!
!
!
!
!
ip route 0.0.0.0 0.0.0.0 10.10.7.1
!
no tftp server
no tftp server overwrite
http server
http secure-server
snmp agent
no ip ftp server
no ip scp server
no ip sntp server
!
!
!
!
snmp-server community snmpmgt RO
!
!
!
!
sip
sip udp 5060
sip tcp 5060
!
!
voice international-prefix abbreviated
!
voice feature-mode network
voice transfer-mode local
voice forward-mode local
!
!
!
!
!
!
!
!
voice dial-plan 0 local NXX-NXX-XXXX
voice dial-plan 1 long-distance 1NXX-NXX-XXXX
!
!
!
voice codec-list G.711
default
codec g711ulaw
!
!
!
voice trunk T01 type sip
description "Xittel"
sip-server primary 10.201.0.40
max-number-calls 99
trust-domain
codec-list G.711 both
!
voice trunk T02 type sip
description "Client"
sip-server primary 192.168.250.26 tcp
codec-list G.711 both
!
!
voice grouped-trunk PROVIDER
trunk T02
trunk T01
accept N11 cost 0
accept NXX-XXXX cost 0
accept NXX-NXX-XXXX cost 0
accept 1-NXX-NXX-XXXX cost 0
accept 011-X$ cost 0
accept *$ cost 0
reject NXX-976-XXXX
reject 1-900-NXX-XXXX
reject 1-976-NXX-XXXX
reject 1-NXX-976-XXXX
!
!
!
!
!
!
!
!
sip privacy
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
ip rtp media-anchoring
!
!
Hi Vince,
I had the exact same issue.
Just added the following to my config and it started working:
isdn-number-template 0 prefix "" plan 1 type 2 NXX-NXX-XXXX
Let me know if it does the same magic it did for me!
jeacha wrote:
I had the exact same issue.
Just added the following to my config and it started working:
isdn-number-template 0 prefix "" plan 1 type 2 NXX-NXX-XXXX
That might work but I doubt it. No PRI here, it's SIP-to-SIP.
I would try creating a separate voice grouped-trunk for the provider and the client, each with only the appropriate trunk.