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

Adtran sending 404s on inbound sip calls

When placing inbound SIP calls to the Adtran 908e, the unit returns a "404 Not Found " message. The results debugging shows "Request URI indicates a local address, but could not match INVITE to an available trunk". All of the necessary trunks have been configured and appear up. Can you tell  by included config and debug results what might be causing this?

X5-OCP-CORP-01#debug sip cldu

X5-OCP-CORP-01#

09:39:47.969 SIP.CLDU Cldu::CallLegCreatedEv: Incoming CallLeg created from 3609102933@199.242.56.9:5060 to 5038931396@67.23.197.62:5060                                    

09:39:47.970 SIP.CLDU Searching for a matching trunk account by P-Asserted-Idenity (199.242.56.9:5060 - UDP)

09:39:47.971 SIP.CLDU Searching for a matching trunk account by Via (199.242.56.9:5060 - UDP)

09:39:47.971 SIP.CLDU Searching for a matching trunk account by Via (10.0.1.10:5060 - UDP)

09:39:47.972 SIP.CLDU Searching for a matching trunk account by From (199.242.56.9:5060 - UDP)

09:39:47.972 SIP.CLDU Searching for a matching trunk account by To (67.23.197.62:5060 - UDP)

09:39:47.973 SIP.CLDU Searching for a matching trunk account by Contact (199.242.56.9:5060 - UDP)

09:39:47.974 SIP.CLDU Searching for a matching trunk account by Source IP (199.242.56.9:5060 - UDP)

09:39:47.974 SIP.CLDU Request URI indicates a local address, but could not match INVITE to an available trunk

09:39:47.974 SIP.CLDU Default trunk is not enabled or does not exist.

09:39:47.975 SIP.CLDU Incoming message received from 199.242.56.9:5060 via UDP

09:39:47.975 SIP.CLDU Cldu::CallLegStateChangedEv: (0x49fd3a0)->Offering

09:39:47.976 SIP.CLDU Cldu::CallLegStateChangedEv: (0x49fd3a0)->Disconnected

09:39:47.995 SIP.CLDU Incoming message received from 199.242.56.9:5060 via UDP

09:39:47.995 SIP.CLDU Cldu::CallLegStateChangedEv: (0x49fd3a0)->Terminated

X5-OCP-CORP-01#

X5-OCP-CORP-01#

X5-OCP-CORP-01#

X5-OCP-CORP-01#

X5-OCP-CORP-01#debug sip stack message

X5-OCP-CORP-01#

09:41:04.006 SIP.STACK MSG     Rx: UDP src=199.242.56.9:5060 dst=67.23.197.62:5060

09:41:04.006 SIP.STACK MSG         INVITE sip:5038931396@67.23.197.62:5060;transport=udp SIP/2.0

09:41:04.007 SIP.STACK MSG         Via: SIP/2.0/UDP 199.242.56.9:5060;branch=z9hG4bKihrgs43010j1fhndg3o0.1

09:41:04.007 SIP.STACK MSG         Via: SIP/2.0/UDP 10.0.1.10:5060;received=10.0.1.10;branch=z9hG4bK-3db2e6b2de0839fdca95e07421bf89db1-10.0.1.10-1;rport=5060

09:41:04.007 SIP.STACK MSG         Allow-Events: message-summary, refer, dialog, line-seize, presence, call-info, as-feature-event

09:41:04.007 SIP.STACK MSG         Max-Forwards: 69

09:41:04.007 SIP.STACK MSG         Call-ID: 7350F78D@10.0.1.10

09:41:04.007 SIP.STACK MSG         From: "WIRELESS CALLER" <sip:3609102933@199.242.56.9:5060>;tag=10.0.1.10+1+684201+4fa2aa39;isup-oli=62

09:41:04.008 SIP.STACK MSG         To: <sip:5038931396@67.23.197.62>

09:41:04.008 SIP.STACK MSG         CSeq: 776261152 INVITE

09:41:04.008 SIP.STACK MSG         Expires: 180

09:41:04.008 SIP.STACK MSG         Organization: MetaSwitch

09:41:04.008 SIP.STACK MSG         Supported: resource-priority, 100rel

09:41:04.008 SIP.STACK MSG         Content-Length: 193

09:41:04.009 SIP.STACK MSG         Content-Type: application/sdp

09:41:04.009 SIP.STACK MSG         Contact: "WIRELESS CALLER" <sip:3609102933@199.242.56.9:5060;transport=udp>;isup-oli=62

09:41:04.009 SIP.STACK MSG         Alert-Info: <http://www.notused.com>;info=alert-internal

09:41:04.009 SIP.STACK MSG         P-Asserted-Identity: "WIRELESS CALLER" <sip:3609102933@199.242.56.9:5060>

09:41:04.009 SIP.STACK MSG

09:41:04.009 SIP.STACK MSG         v=0

09:41:04.010 SIP.STACK MSG         o=- 1974892302 1974892302 IN IP4 199.242.56.9

09:41:04.010 SIP.STACK MSG         s=-

09:41:04.010 SIP.STACK MSG         c=IN IP4 199.242.56.9

09:41:04.010 SIP.STACK MSG         t=0 0

09:41:04.010 SIP.STACK MSG         m=audio 18546 RTP/AVP 18 0 101

09:41:04.010 SIP.STACK MSG         a=rtpmap:101 telephone-event/8000

09:41:04.011 SIP.STACK MSG         a=ptime:20

09:41:04.011 SIP.STACK MSG         a=silenceSupp:off - - - -

09:41:04.011 SIP.STACK MSG

09:41:04.014 SIP.CLDU Cldu::CallLegCreatedEv: Incoming CallLeg created from 3609102933@199.242.56.9:5060 to 5038931396@67.23.197.62:5060

09:41:04.015 SIP.CLDU Searching for a matching trunk account by P-Asserted-Idenity (199.242.56.9:5060 - UDP)

09:41:04.015 SIP.CLDU Searching for a matching trunk account by Via (199.242.56.9:5060 - UDP)

09:41:04.016 SIP.CLDU Searching for a matching trunk account by Via (10.0.1.10:5060 - UDP)

09:41:04.016 SIP.CLDU Searching for a matching trunk account by From (199.242.56.9:5060 - UDP)

09:41:04.017 SIP.CLDU Searching for a matching trunk account by To (67.23.197.62:5060 - UDP)

09:41:04.018 SIP.CLDU Searching for a matching trunk account by Contact (199.242.56.9:5060 - UDP)

09:41:04.018 SIP.CLDU Searching for a matching trunk account by Source IP (199.242.56.9:5060 - UDP)

09:41:04.019 SIP.CLDU Request URI indicates a local address, but could not match INVITE to an available trunk

09:41:04.019 SIP.CLDU Default trunk is not enabled or does not exist.

09:41:04.019 SIP.CLDU Incoming message received from 199.242.56.9:5060 via UDP

09:41:04.019 SIP.CLDU Cldu::CallLegStateChangedEv: (0x49fd5c8)->Offering

09:41:04.021 SIP.STACK MSG     Tx: UDP src=67.23.197.62:5060 dst=199.242.56.9:5060

09:41:04.021 SIP.STACK MSG         SIP/2.0 404 Not Found

09:41:04.021 SIP.STACK MSG         From: "WIRELESS CALLER"<sip:3609102933@199.242.56.9:5060>;tag=10.0.1.10+1+684201+4fa2aa39;isup-oli=62

09:41:04.021 SIP.STACK MSG         To: <sip:5038931396@67.23.197.62>;tag=49ad070-7f000001-13c4-79a-25b9b8c1-79a

09:41:04.021 SIP.STACK MSG         Call-ID: 7350F78D@10.0.1.10

09:41:04.021 SIP.STACK MSG         CSeq: 776261152 INVITE

09:41:04.022 SIP.STACK MSG         Via: SIP/2.0/UDP 199.242.56.9:5060;branch=z9hG4bKihrgs43010j1fhndg3o0.1

09:41:04.022 SIP.STACK MSG         Via: SIP/2.0/UDP 10.0.1.10:5060;received=10.0.1.10;rport=5060;branch=z9hG4bK-3db2e6b2de0839fdca95e07421bf89db1-10.0.1.10-1

09:41:04.022 SIP.STACK MSG         Supported: 100rel,replaces

09:41:04.022 SIP.STACK MSG         Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER, REGISTER

09:41:04.022 SIP.STACK MSG         User-Agent: ADTRAN_Total_Access_908e_2nd_Gen/R10.9.1.E

09:41:04.023 SIP.STACK MSG         Content-Length: 0

09:41:04.023 SIP.STACK MSG

09:41:04.023 SIP.CLDU Cldu::CallLegStateChangedEv: (0x49fd5c8)->Disconnected

09:41:04.038 SIP.STACK MSG     Rx: UDP src=199.242.56.9:5060 dst=67.23.197.62:5060

09:41:04.038 SIP.STACK MSG         ACK sip:5038931396@67.23.197.62:5060;transport=udp SIP/2.0

09:41:04.038 SIP.STACK MSG         Via: SIP/2.0/UDP 199.242.56.9:5060;branch=z9hG4bKihrgs43010j1fhndg3o0.1

09:41:04.038 SIP.STACK MSG         CSeq: 776261152 ACK

09:41:04.039 SIP.STACK MSG         Max-Forwards: 69

09:41:04.039 SIP.STACK MSG         Call-ID: 7350F78D@10.0.1.10

09:41:04.039 SIP.STACK MSG         From: "WIRELESS CALLER" <sip:3609102933@199.242.56.9:5060>;tag=10.0.1.10+1+684201+4fa2aa39;isup-oli=62

09:41:04.039 SIP.STACK MSG         To: <sip:5038931396@67.23.197.62>;tag=49ad070-7f000001-13c4-79a-25b9b8c1-79a

09:41:04.039 SIP.STACK MSG         Content-Length: 0

09:41:04.040 SIP.STACK MSG

09:41:04.041 SIP.CLDU Incoming message received from 199.242.56.9:5060 via UDP

09:41:04.041 SIP.CLDU Cldu::CallLegStateChangedEv: (0x49fd5c8)->Terminated

X5-OCP-CORP-01#

X5-OCP-CORP-01#

X5-OCP-CORP-01#unbeg all

config t

!

hostname "X5-OCP-CORP-01"

enable password ########

!

clock timezone -8

!

ip subnet-zero

ip classless

ip routing

ipv6 unicast-routing

!

domain-proxy

name-server 199.242.58.130 199.242.58.131

!

no auto-config

no auto-config authname #########

!

event-history on

no logging forwarding

no logging email

!

service password-encryption

!

username "########" password ########

!

no ip firewall alg msn

no ip firewall alg mszone

no ip firewall alg h323

!

ip sip qos dscp 24

no dot11ap access-point-control

!

interface eth 0/1

  description Network Access Interface

  ip address 67.23.197.62 255.255.255.224

  media-gateway ip primary

  speed 100

  full-duplex

  no awcp

  no shutdown

exit

interface eth 0/2

  description Customer LAN

  shutdown

exit

interface t1 0/1

  shutdown

exit

interface t1 0/2

  shutdown

exit

interface t1 0/3

  description First PRI to Customer

  fdl none

  tdm-group 1 timeslots 1-24 speed 64

  no shutdown

exit

interface t1 0/4

  shutdown

exit

interface pri 1

  isdn name-delivery setup

  connect t1 0/3 tdm-group 1

  digits-transferred all

  no shutdown

exit

interface pri 2

  shutdown

exit

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

exit

isdn-group 1

  connect pri 1

exit

isdn-number-template 1 prefix 011 international X$

!

timing-source t1 0/3

!

timing-source t1 0/4 secondary

!

ip access-list standard PRIMARY_ACL_IN

  permit 65.249.42.0 0.0.0.255

  permit 199.242.56.0 0.0.0.255

  permit 199.242.61.0 0.0.0.255

exit

ip access-list extended MAIN_ACL_IN

  permit ip 199.242.56.0 0.0.0.255 any log

  permit ip 65.249.42.0 0.0.0.255 any log

  permit ip 199.242.61.0 0.0.0.255 any log

  deny   ip any any

exit

!

ip route 0.0.0.0 0.0.0.0 67.23.197.33

!

no tftp server

no tftp server overwrite

no http server

http session-limit 5

http secure-server

snmp agent

no ip ftp server

no ip scp server

no ip sntp server

!

no sip tcp

!

snmp-server enable traps

snmp-server community X54LYFE RO

snmp-server host 199.242.58.230 traps version 2c X54LYFE

!

voice feature-mode network

voice forward-mode network

!

voice dial-plan 1 local NXX-NXX-XXXX

!

voice codec-list PRI-Trunk

  codec g729

  codec g711ulaw

exit

voice trunk-list SIP

  trunk T01

exit

voice trunk T01 type sip

  sip-server primary accesspbx2.x5sip.com

  dial-string source to

  codec-list PRI-Trunk both

  grammar from host local

  grammar p-asserted-identity host local

  authentication username 5032811191 password ########

  default-ring-cadence external

exit

voice trunk T03 type isdn

  resource-selection circular descending

  connect isdn-group 1

  early-cut-through

  modem-passthrough

  t38

  rtp delay-mode adaptive

  codec-list PRI-Trunk

exit

voice grouped-trunk PRI

  description "X5 MetaSwitch SIP"

  resource-selection circular

  trunk T03

  trunk T01

  accept $ cost 0

  reject NXX-976-XXXX

  reject 1-900-NXX-XXXX

  reject 1-976-NXX-XXXX

  permit list SIP

  !deny all other trunks

  !deny all other ani

exit

voice grouped-trunk SIP

  description "X5 Metaswitch SIP"

  trunk T01

  accept $ cost 0

exit

http ip secure-access-class PRIMARY_ACL_IN in

line con 0

  login

  password ########

exit

line telnet 0 4

  login

  shutdown

exit

line ssh 0 4

  login local-userlist

  no shutdown

  access-class PRIMARY_ACL_IN in

sntp server 3.pool.ntp.org

exit

exit

Labels (2)
0 Kudos
Reply
4 Replies
Highlighted
New Contributor

Re: Adtran sending 404s on inbound sip calls

Here is the show ver info:

X5-OCP-CORP-01#show ver

ADTRAN, Inc. OS version R10.9.1.E

  Mainline Version: ENM.13.100

  P4 Changelist: 102711

  Checksum: A4106ABB

  Built on: Thu Oct 10 19:59:42 2013

  Upgrade key: 7884d4ed04773f335c101d3f5ff1d30c

Boot ROM version 14.05.00.SA

  Checksum: F343

  Built on: Thu Jun 21 13:58:08 2007

Copyright (c) 1999-2013, ADTRAN, Inc.

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

Serial number CFG0815853

Flash: 33554432 bytes  DRAM: 134217727 bytes

X5-OCP-CORP-01 uptime is 0 days, 0 hours, 44 minutes, 0 seconds

slot 0, DSP 1

  DSP software version: G2.R10.8.M.4b

  DSP hardware version: Freescale MSC7119

  Total channels: 30

slot 0, DSP 2

  DSP software version: G2.R10.8.M.4b

  DSP hardware version: Freescale MSC7119

  Total channels: 30

System returned to ROM by Warm Start

Current system image file is "T900E2A-R10-9-1-E.biz"

Boot system image file is "T900E2A-R10-9-1-E.biz"

Primary system configuration file is "startup-config"

0 Kudos
Highlighted
Valued Contributor
Valued Contributor

Re: Adtran sending 404s on inbound sip calls

X5asissell,

Thanks for posting!  I would consider upgrading to R10.9.3, or R10.9.4 when it becomes available, as that is our recommended firmware version within that line.  Also, "trunk T01" likely should not be configured under "voice grouped-trunk PRI", particularly with resource selection set to circular.  I would then verify that the D channel is up in the channel status in the output of "show int pri 1".  If none of those items fix or identify the issue, we will likely need to get the following debug commands for a test call, all run at the same time in the same log file.


debug sip stack message


debug sip cldu


debug voice verbose


debug isdn L2-formatted



Thanks,

David

Highlighted
Honored Contributor
Honored Contributor

Re: Adtran sending 404s on inbound sip calls

Pull the SIP trunk out of the voice grouped-trunk PRI grouping.  And I'd change its description to be more clear

voice grouped-trunk PRI

  description "X5 MetaSwitch SIP" ! <-- Change to description "PRI to PBX"

resource-selection circular

  trunk T03

  trunk T01! <- "no" this out.  no trunk T01

 

  !Also get rid of SABR, you don't need it here.

  no permit list SIP


Highlighted
New Contributor

Re: Adtran sending 404s on inbound sip calls

Found the issue outside of the device. Your responses were helpful in troubleshooting the issue. Thanks.

0 Kudos