cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
New Contributor

URI is not correct in SIP invite

First time setting up a 908e to use FQDN instead of IP addresses to SIP provider. I have my SIP trunk registered and can receive inbound calls but unable to make outbound calls. Did a trace with the provider and they state that the adtran is not sending the URI correctly. In the invite the adtran is sending From: <sip:sip1.FQDN.com:5060;transport=UDP> and it should be From: <sip:7xxxxxxxxx@sip1.FQDN.com:5060;transport=UDP> so they are rejecting the call because the adtran is not attaching the DID. Any help would be appreciated. Below is a scrubbed config.

!

!

! ADTRAN, Inc. OS version R13.5.0.E

! Boot ROM version 14.05.00.SA

! Platform: Total Access 908e (2nd Gen), part number 4242908L1

! Serial number CFG1107411

!

!

hostname "My Adtran"

enable password encrypted xxx

!

!

clock timezone -5-Eastern-Time

!

ip subnet-zero

ip classless

ip routing

ipv6 unicast-routing

!

!

domain-name "1.1.1.1"

name-server 208.77.63.162 208.93.135.82

!

!

no auto-config

auto-config authname adtran encrypted password xxx

!

event-history on

no logging forwarding

no logging console

no logging email

!

service password-encryption

!

username "admin" password encrypted "xxx"

!

banner motd ^

*************************************************************

*****   This is a PRIVATE NETWORK FACILITY        *****

***** You are attempting to access a RESTRICTED DEVICE. *****

***** Access to this device is restricted to authorized *****

***** personnel only. All login attempts to this device  *****

***** are logged and monitored. Violators will be       *****

***** prosecuted to the fullest extent of the law!      *****

*****                                                   *****

*************************************************************^

!

!

no ip firewall alg msn

no ip firewall alg mszone

no ip firewall alg h323

!

!

!

!

!

!

!

!

no dot11ap access-point-control

!

!

!

!

!

!

!

ip dhcp pool "Private"

  network 10.10.10.0 255.255.255.0

  netbios-node-type h-node

  default-router 10.10.10.1

!

!

!

!

!

!

!

!

!

!

!

qos map VOIP 10

  match dscp 46

  priority 1000

!

qos map voip 20

  match dscp 26

  bandwidth 50

!

!

!

!

interface eth 0/1

  description Wan Link

  ip address  1.1.1.1  255.255.255.240

  traffic-shape rate 25000000

  qos-policy out VOIP

  no shutdown

  media-gateway ip primary

!

!

interface eth 0/2

  no ip address

  shutdown

!

!

!

!

interface t1 0/1

  shutdown

!

interface t1 0/2

  description PRI 1

  tdm-group 1 timeslots 1-24 speed 64

  no shutdown

!

interface t1 0/3

  shutdown

!

interface t1 0/4

  shutdown

!

!

interface pri 1

  isdn name-delivery setup

  connect t1 0/2 tdm-group 1

  digits-transferred 4

  no shutdown

!

interface pri 2

  isdn name-delivery setup

  digits-transferred 4

  shutdown

!

!

interface fxs 0/1

  shutdown

!

interface fxs 0/2

  shutdown

!

interface fxs 0/3

  shutdown

!

interface fxs 0/4

  shutdown

!

interface fxs 0/5

  shutdown

!

interface fxs 0/6

  shutdown

!

interface fxs 0/7

  shutdown

!

interface fxs 0/8

  shutdown

!

!

interface fxo 0/0

  shutdown

!

!

isdn-group 1

  connect pri 1

!

!

!

!

!

!

!

ip access-list extended SIP-SERVER

  permit udp hostname 1.1.1.1  any eq 5060  

!

!

!

!

!

!

ip route 0.0.0.0 0.0.0.0 1.1.1.1

!

no tftp server

no tftp server overwrite

http server

no http secure-server

no snmp agent

no ip ftp server

no ip scp server

no ip sntp server

!

!

!

!

!

!

!

!

sip

sip udp 5060

no sip tcp

!

!

!

voice feature-mode network

voice forward-mode network

!

!

!

!

!

!

!

!

!

!

!

!

voice codec-list VOICE

  default

  codec g711ulaw

!

!

voice trunk-list SIP

  trunk T01

!

!

voice trunk T01 type sip

  description "SIP Provider"

  sip-server primary sip1.FQDN.com

  registrar primary sip1.FQDN.com

  registrar max-concurrent-reg 1

  outbound-proxy primary sip1.FQDN.com

  dial-string source to

  max-number-calls 23

  register 7XXXXXXXXX auth-name "7XXXXXXXXX" password encrypted "xxx"

  trust-domain

  codec-list VOICE both

  authentication username "7XXXXXXXXX" password encrypted "xxx"

!

voice trunk T02 type isdn

  description "PRI 1 to Customer PBX Equipment"

  resource-selection linear descending

  connect isdn-group 1

  no early-cut-through

  rtp delay-mode adaptive

  rtp qos dscp 46

  codec-list VOICE

!

!

voice grouped-trunk PRI_1

  trunk T02

  accept $ cost 0

  permit list SIP

  !deny all other trunks

  !deny all other ani

!

!

voice grouped-trunk SIP

  trunk T01

  accept $ cost 0

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

ip rtp symmetric-filter

!

!

!

line con 0

  login

!

line telnet 0 4

  login local-userlist

  password encrypted xxx

  no shutdown

line ssh 0 4

  login local-userlist

  line-timeout 30

  no shutdown

!

sntp server 208.77.63.254

!

!

!

!

end

Labels (1)
0 Kudos
1 Reply
Highlighted
Honored Contributor
Honored Contributor

Re: URI is not correct in SIP invite

Is the PBX sending the correct sending number in its outbound SETUP message?

If not, try, on the PBX trunk T02:

caller-id-override number-inbound 7XXXXXXXXX