I have FXS ports that can call out but no inbound ringing. A trace is stating that there was no answer to the invite so the phone switch terminates the call.
On a test with just FXS line programed inbound work after adding a SIP trunk for a PRI conversion FXS line no longer ring.
Can you post your configuration with passwords redacted?
Also what is the result of turning on "debug sip stack messages invite" and "debug voice verbose" and placing a call to the FXS?
here is the config and the debug
login as: xxxx
xxx@69.39.4.252's password:
Authorized users ONLY!!!!
KeeseeMotors>en
Password:
KeeseeMotors#show run
Building configuration...
!
!
! ADTRAN, Inc. OS version R10.9.6.E
! Boot ROM version 14.04.00
! Platform: Total Access 904 (2nd Gen), part number 4212904L1
! Serial number CFG1532322
!
!
hostname "KeeseeMotors"
enable password 1234
!
!
ip subnet-zero
ip classless
ip routing
!
!
no domain-lookup
name-server 206.123.202.145 206.123.204.65
!
!
no auto-config
!
event-history on
no logging forwarding
no logging email
!
!
username "xxxx" password "xxxx"
!
banner motd #
Authorized users ONLY!!!!#
!
!
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
!
!
!
!
!
!
!
!
!
interface eth 0/1
ip address 69.39.4.252 255.255.255.248
media-gateway ip primary
no awcp
no shutdown
!
!
!
!
interface t1 0/1
description None
tdm-group 1 timeslots 1-24 speed 64
no shutdown
!
interface t1 0/2
description T1/PRI to PBX
fdl none
tdm-group 2 timeslots 1-24 speed 64
no shutdown
!
!
interface pri 1
isdn name-delivery setup
connect t1 0/2 tdm-group 2
digits-transferred 4
no shutdown
!
!
interface fxs 0/1
no shutdown
!
interface fxs 0/2
no shutdown
!
interface fxs 0/3
no shutdown
!
interface fxs 0/4
no shutdown
!
!
isdn-group 1
connect pri 1
!
!
!
!
timing-source internal
!
!
!
!
!
!
ip route 0.0.0.0 0.0.0.0 69.39.4.249
!
no tftp server
no tftp server overwrite
no 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 users
codec g729
codec g711ulaw
!
voice codec-list TRUNK
codec g729
codec g711ulaw
!
voice codec-list PRI-Trunk
codec g729
codec g711ulaw
!
!
!
voice trunk T01 type sip
sip-server primary 206.123.194.201
registrar primary 206.123.194.201
outbound-proxy primary 206.123.194.201
codec-list TRUNK both
!
voice trunk T02 type isdn
resource-selection circular descending
connect isdn-group 1
no early-cut-through
modem-passthrough
rtp delay-mode adaptive
codec-list PRI-Trunk
!
!
voice grouped-trunk NETWORK
trunk T01
accept $ cost 0
!
!
voice grouped-trunk PRI
trunk T02
accept $ cost 10
!
!
voice user 9705641123
connect fxs 0/2
password "1234"
sip-identity Farm9705641123 T01 register auth-name "Farm9705641123" password "1234"
modem-passthrough
codec-list users
!
!
voice user 9705658218
connect fxs 0/1
password "1234"
sip-identity Farm9705658218 T01 register auth-name "Farm9705658218" password "1234"
modem-passthrough
codec-list users
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
sip proxy domain "206.123.194.201"
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
line con 0
no login
!
line telnet 0 4
login
password md5 encrypted
no shutdown
line ssh 0 4
login local-userlist
no shutdown
!
!
!
!
!
end
KeeseeMotors#
DEBUG_____________________________________________________________
!
!
!
!
end
KeeseeMotors#
2010.08.06 12:15:03 T1.t1 0/1 SEFS 15 min threshold exceeded
2010.08.06 12:15:11 T1.t1 0/1 UAS 15 min threshold exceeded
KeeseeMotors#debug sip stack messages invite
KeeseeMotors#debug voice verboseContent-Length: 0
12:16:44.885 SIP. MSG INVITE REQ RX 9707398072 Farm9705658218
INVITE sip:Farm9705658218@69.39.4.252:5060;transport=UDP SIP/2.0
From: "FARMERS TELEPHO"<sip:9707398072@206.123.194.201:5060>;tag=206.123.194.201+1+6107d118+f281c27d
To: <sip:Farm9705658218@206.123.194.201>
Call-ID: 0gQAAC8WAAACBAAALxYAACGFaQlO6fK+0i8WBtEIlJXWzZtSP+nEX6kb5vC0T+05@206.123.194.201
CSeq: 438934318 INVITE
Via: SIP/2.0/UDP 206.123.194.201:5060;branch=z9hG4bK+1eedf4b44e7bfa5e9e01b98c68ad2f651+sip+1+a7cfd0bc
Expires: 180
Call-Info: <sip:206.123.194.201:5060>;method="NOTIFY;Event=telephone-event;Duration=2000"
Supported: resource-priority
Supported: siprec
Supported: 100rel
Organization: MetaSwitch
Max-Forwards: 69
Alert-Info: <http://www.notused.com>;info=alert-external
Accept: application/sdp, application/dtmf-relay
Contact: <sip:47aaaf2993fa0de6c778b7409d0876fc@206.123.194.201:5060>
Allow-Events: message-summary,refer,dialog,line-seize,presence,call-info,as-feature-event,calling-name
Content-Type: application/sdp
Content-Length: 204
v=0
o=- 60950806898943 60950806898943 IN IP4 206.123.194.201
s=-
c=IN IP4 206.123.194.201
t=0 0
m=audio 49722 RTP/AVP 0 101
a=rtpmap:101 telephone-event/8000
a=silenceSupp:off - - - -
a=ptime:20
12:16:44.888 TM.T01 01 SipTM_Idle rcvd SIP call-leg request: INVITE
12:16:44.889 TM.T01 01 SipTM_Idle call-leg -> Offering
12:16:44.890 TM.T01 01 SipTM_Idle State change >> SipTM_Idle->SipTM_Trying
12:16:44.891 TM.T01 01 SipTM_Trying SDP offer is not loopback request
12:16:44.892 TM.T01 01 SipTM_Trying Processing From for Caller-ID.
12:16:44.893 TM.T01 01 SipTM_Trying Caller ID Name = "FARMERS TELEPHO"
12:16:44.893 TM.T01 01 SipTM_Trying Caller ID Number = "9707398072"
12:16:44.894 TM.T01 01 SipTM_Trying info: unable to set redirect number(s) from INVITE
12:16:44.895 TM.T01 01 SipTM_Trying sent: TA->InboundCall
12:16:44.895 TM.T01 01 Looking up source address for destination 206.123.194.201
12:16:44.896 TM.T01 01 call-leg (0x2aeb7e0) -> src: 69.39.4.252 : 5060 dst: 206.123.194.201 : 5060
12:16:44.899 SIP. MSG INVITE RSP TX 9707398072 Farm9705658218
SIP/2.0 100 Trying
From: "FARMERS TELEPHO"<sip:9707398072@206.123.194.201:5060>;tag=206.123.194.201+1+6107d118+f281c27d
To: <sip:Farm9705658218@206.123.194.201>
Call-ID: 0gQAAC8WAAACBAAALxYAACGFaQlO6fK+0i8WBtEIlJXWzZtSP+nEX6kb5vC0T+05@206.123.194.201
CSeq: 438934318 INVITE
Via: SIP/2.0/UDP 206.123.194.201:5060;branch=z9hG4bK+1eedf4b44e7bfa5e9e01b98c68ad2f651+sip+1+a7cfd0bc
Contact: <sip:Farm9705658218@69.39.4.252:5060;transport=UDP>
Supported: 100rel,replaces
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER, REGISTER
User-Agent: ADTRAN_Total_Access_904_2nd_Gen/R10.9.6.E
Content-Length: 0
12:16:44.901 TM.T01 01 SipTM_Trying sent: 100 Trying
12:16:44.902 TA.T01 01 TAIdle rcvd: inboundCall from TM
12:16:44.903 TA.T01 01 State change >> TAIdle->TAInboundCall (TAS_Calling)
12:16:44.903 TA.T01 01 Failed - DID translation: no match for Farm9705658218, using Farm9705658218
12:16:44.904 TA.T01 01 TAIdle sent: call to SB
12:16:44.905 TM.T01 01 SipTM_Trying tachg -> TAInboundCall
12:16:44.906 TM.T01 01 SipTM_Trying State change >> SipTM_Trying->SipTM_Pending
12:16:44.906 SB.CALL 6 Idle Called the call routine with Farm9705658218
12:16:44 SB.TGMgr For dialed number Farm9705658218, against template $, on TrunkGroup NETWORK, the score is 500
12:16:44 SB.TGMgr For dialed number Farm9705658218, against template $, on TrunkGroup PRI, the score is 490
12:16:44.908 SB.CCM isMappable:
12:16:44.908 SB.CCM : Call Struct 0x2636010 : Call-ID = 6
12:16:44.909 SB.CCM : Org Acct = T01 Dst Acct = T02
12:16:44.910 SB.CCM : Org Port ID = SipTrunk 0/0 Dst Port ID = unknown 0/0
12:16:44.910 SB.CCM : SDP Transaction = CallID: 6
12:16:44.911 SB.CCM : SDP Offer = 0x02610a10, (206.123.194.201:49722)
12:16:44.911 SB.CCM isMappable: Call Connection Type is RTP_TO_TDM
12:16:44.913 SB.CCM isMappable: Reserving RTP Channel 0/1.1
12:16:44.914 SB.CCM translateOffer: offer codec list: PCMU
12:16:44.915 SB.CCM translateOffer: revised offer codec list: PCMU
12:16:44.917 SB.CCM translateOffer: codec list after answerer: PCMU
12:16:44.918 SB.CCM translateOffer: DTMF signaling: answerer has no restrictions configured, passing offer(NTE 101) through
12:16:44.919 SB.CCM translateOffer: success
12:16:44.920 MEDIA.MANAGER Allocating media port.
12:16:44.920 MEDIA.MANAGER getSubstitutePort: No matching callIdMap entry found for call 6
12:16:44.921 MEDIA.MANAGER Call ID map : Added new entry : call ID 6 : session -60950806898943INIP4206.123.194.201 : version 926001407 : index 10
12:16:44.922 MEDIA.MANAGER New media entry : type(0), callID(6), sessionID(-60950806898943INIP4206.123.194.201), original IP(206.123.194.201) ports(49722-49723), substitute IP(::) ports(10010-10011), RtpChannel(0/1.1), connection(0x25fb710), sdpOverride(0), me(0x25fc010). RtpChannel 0/1.1
12:16:44.923 SB.CALL 6 Idle Call sent from T01 to T02 (Farm9705658218)
12:16:44.923 SB.CALL 6 State change >> Idle->Delivering
12:16:44.924 RTP.MANAGER Isdn(Group) 0/ - empty - RTP: Reserve resource
12:16:44.925 RTP.MANAGER Isdn(Group) 0/ - Dsp 0/1.1 - RTP: (null)
12:16:44.926 RTP.PROVIDER unknown - Dsp 0/1.1 - RTP: reserving already allocated RTP channel
12:16:44.926 TA.T01 01 TAInboundCall CallResp event accepted
12:16:44.927 TA.T01 01 State change >> TAInboundCall->TAConnectWaitIn (TAS_Calling)
12:16:44.927 TA.T02 18 State change >> TAIdle->TAOutGoing (TAS_Delivering)
12:16:44.928 TM.T02 18 tachg_Delivering
12:16:44.929 TM.T02 18 IsdnTmStateIdle->IsdnTmStateOutboundDeliver
12:16:44.929 TM.T02 18 IsdnTmStateOutboundDeliver::enter()
12:16:44.931 SB.CALL 6 Delivering Called the deliverResponse routine from Delivering
12:16:44.931 SB.CALL 6 Delivering DeliverResponse(accept) sent from T02 to T01
12:16:44.932 TA.T01 01 TAConnectWaitIn deliverResponse event accepted
12:16:44.933 TA.T01 01 TAConnectWaitIn ERROR! deliverResponse ignored
12:16:44 SB.CallStructObserver 6 Created
12:16:44 SB.CallStructObserver 6 <-> 0gQAAC8WAAACBAAALxYAACGFaQlO6fK+0i8WBtEIlJXWzZtSP+nEX6kb5vC0T+05@206.123.194.201
12:16:54.874 TM.T01 01 SipTM_Pending rcvd SIP call-leg request: CANCEL
12:16:54.878 TM.T01 01 SipTM_Pending call-leg -> Cancelled
12:16:54.878 TM.T01 01 SipTM_Pending State change >> SipTM_Pending->SipTM_Closing
12:16:54.879 TM.T01 01 SipTM_Closing sent: TA->Clear
12:16:54.881 SIP. MSG INVITE RSP TX 9707398072 Farm9705658218
SIP/2.0 487 Request Terminated
From: "FARMERS TELEPHO"<sip:9707398072@206.123.194.201:5060>;tag=206.123.194.201+1+6107d118+f281c27d
To: <sip:Farm9705658218@206.123.194.201>;tag=2acb828-7f000001-13c4-8737-388176ad-8737
Call-ID: 0gQAAC8WAAACBAAALxYAACGFaQlO6fK+0i8WBtEIlJXWzZtSP+nEX6kb5vC0T+05@206.123.194.201
CSeq: 438934318 INVITE
Via: SIP/2.0/UDP 206.123.194.201:5060;branch=z9hG4bK+1eedf4b44e7bfa5e9e01b98c68ad2f651+sip+1+a7cfd0bc
Supported: 100rel,replaces
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER, REGISTER
User-Agent: ADTRAN_Total_Access_904_2nd_Gen/R10.9.6.E
Content-Length: 0
12:16:54.884 TM.T01 01 SipTM_Closing call-leg -> Disconnected
12:16:54.884 TM.T01 01 SipTM_Closing CallLegStateChanged to Disconnected - TM change to closing state.
12:16:54.885 TA.T01 01 TAConnectWaitIn rcvd: clear from TM
12:16:54.886 TA.T01 01 State change >> TAConnectWaitIn->TATrunkClearing (TAS_Clearing)
12:16:54.886 TM.T01 01 SipTM_Closing tachg -> TATrunkClearing
12:16:54.887 TM.T01 01 SipTM_Closing State change >> SipTM_Closing->SipTM_Terminated
12:16:54.887 TM.T01 01 SipTM_Terminated sent: TA->AppearanceOff
12:16:54.888 TM.T01 01 SipTM_Terminated State change >> SipTM_Terminated->SipTM_Idle
12:16:54.888 SB.CALL 6 Delivering Called the clearCall routine
12:16:54.889 SB.CALL 6 Delivering Call Cleared by originator on call from T01 to T02
12:16:54.890 SB.CALL 6 State change >> Delivering->Clearing
12:16:54.890 TA.T01 01 TATrunkClearing rcvd: appearance off from TM
12:16:54.891 TA.T01 01 State change >> TATrunkClearing->TAClearingComplete (TAS_Clearing)
12:16:54.891 TA.T01 01 TATrunkClearing Processing an appearance OFF
12:16:54.892 TA.T02 18 TAOutGoing ClearCall event accepted
12:16:54.892 TA.T02 18 State change >> TAOutGoing->TAClearingComplete (TAS_Clearing)
12:16:54.893 TM.T02 18 IsdnTmStateOutboundDeliver->IsdnTmStateUserClearing
12:16:54.894 TM.T02 18 IsdnTmStateUserClearing::enter()
12:16:54.896 SB.CALL 6 Clearing Called the clearResponse routine
12:16:54.896 SB.CALL 6 State change >> Clearing->CallIdlePending
12:16:54.897 SB.CCM release:
12:16:54.897 SB.CCM : Call Struct 0x2636010 : Call-ID = 6
12:16:54.898 SB.CCM : Org Acct = T01 Dst Acct = T02
12:16:54.899 SB.CCM : Org Port ID = SipTrunk 0/0 Dst Port ID = Isdn(Group) 0/0
12:16:54.899 SB.CCM : SDP Transaction = CallID: 6
12:16:54.900 SB.CCM : SDP Offer = 0x02610a10, (206.123.194.201:49722)
12:16:54.900 SB.CCM : RTP Channel = 0/1.1
12:16:54.901 SB.CCM release: Call Connection Type is RTP_TO_TDM
12:16:54.901 SB.CCM release: Releasing RTP Channel 0/1.1
12:16:54.902 RTP.CHANNEL Channel 0/1.1 released successfully.
12:16:54.902 SB.CALL 6 CallIdlePending ClearResponse sent from T02 to T01
12:16:54.903 TONESERVICES.EVENTS t1 0/2.18 - empty - FastBusy Generation: Request resource
12:16:54.904 TONESERVICES.EVENTS t1 0/2.18 - Dsp 0/1.2 - FastBusy Generation: DSP channel allocated for the resource
12:16:54.904 TONESERVICES.EVENTS t1 0/2.18 - Dsp 0/1.2 - FastBusy Generation: constructed
12:16:54.905 TONESERVICES.EVENTS t1 0/2.18 - Dsp 0/1.2 - FastBusy Generation: starting
12:16:54.906 TONESERVICES.EVENTS t1 0/2.18 - Dsp 0/1.2 - FastBusy Generation: TDM map
12:16:54.907 TA.T01 01 TAClearingComplete clearResponse event accepted
12:16:54.907 TA.T01 01 TAClearingComplete Clear Local Variables
12:16:54.908 TA.T01 01 State change >> TAClearingComplete->TAIdle (TAS_Idle)
12:16:54.908 TM.T01 01 SipTM_Idle tachg -> TAIdle
12:16:54.909 RTP.CHANNEL unknown - Dsp 0/1.1 - RTP: releasing RTP resource
12:16:54.910 RTP.CHANNEL unknown - Dsp 0/1.1 - RTP: releasing
12:16:54 SB.CallStructObserver 6 Finalized
12:16:54.918 TM.T02 18 IsdnTmStateUserClearing->IsdnTmStateIdling
12:16:54.919 TM.T02 18 IsdnTmStateIdling::enter()
12:16:54.919 TM.T02 18 IsdnTmStateIdling - send appearance off
12:16:54.920 TM.T02 18 IsdnTmStateIdling->IsdnTmStateIdle
12:16:54.920 TM.T02 18 IsdnAppearanceChannel::releaseChannel
12:16:54.921 TM.T02 18 IsdnTmStateIdle::enter()
12:16:54.922 TONESERVICES.EVENTS t1 0/2.18 - Dsp 0/1.2 - FastBusy Generation: stopping
12:16:54.922 TONESERVICES.EVENTS t1 0/2.18 - Dsp 0/1.2 - FastBusy Generation: TDM unmap
12:16:54.923 RTP.CHANNEL t1 0/2.18 - Dsp 0/1.2 - FastBusy Generation: releasing RTP resource
12:16:54.924 TONESERVICES.EVENTS t1 0/2.18 - Dsp 0/1.2 - FastBusy Generation: release
12:16:54.925 TA.T02 18 TAClearingComplete rcvd: appearance off from TM
12:16:54.925 TA.T02 18 TAClearingComplete Clear Local Variables
12:16:54.926 TA.T02 18 State change >> TAClearingComplete->TAIdle (TAS_Idle)
2010.08.06 12:16:55 SMDR 6 08/06/2010 12:16:44 0.1 0 E 00/00 FARMERS TELEPHO 9707398072 00/00 T02 Farm9705658218 0 N
KeeseeMotors#
Thanks for helping
The calls are being sent out the PRI.
Does the carrier require registration ? The PBX doesn't seem to be registered. I'd guess that the carrier is programmed to send the calls to the IP address and not looking for registration. Try the following:
Do a "show sip trunk-registration" and I suspect that you'll find the FXS ports aren't registered. This is OK because the carrier is delivering the calls anyway.
Change the configuration to eliminate the registration on the FXS ports.
Instead of:
!
voice user 9705641123
connect fxs 0/2
password "1234"
sip-identity Farm9705641123 T01 register auth-name "Farm9705641123" password "1234"
modem-passthrough
codec-list users
!
make it:
!
voice user 9705641123
connect fxs 0/2
password "1234"
sip-identity Farm9705641123 T01
modem-passthrough
codec-list users
!
You'll probably have to no-out the existing lines and replace them.
Also, you might want to be more specific on the grouped-trunk for the PBX. Instead of:
!
voice grouped-trunk PRI
trunk T02
accept $ cost 10
!
consider
!
voice grouped-trunk PRI
trunk T02
no accept $
accept 9705641XXX ! (put in the specific DID blocks facing the PBX here, more than one line if needed)
reject 9705641123 ! (if within a DID block above, otherwise not needed.)
reject 9705658218 ! (if within a DID block above, otherwise not needed.)
!
The way it is now, callers from the FXS ports won't be able to reach numbers on the PBX without hairpinning out the SIP trunk.
Give those changes a shot.
The carrier does require registration. (I also manage the carrier end a META switch) and I put the 1234 at the end of the line (sip-identity Farm9705641123 T01 register auth-name "Farm9705641123" password "1234") there is a complex password usually there. The PBX is not a SIP enable device (Mitel SX200 ICP)
we put another 904 at the site with out the SIP/PRI statements and the lines worked.
So I agree that the adtran is routing the FXS numbers to the PRI and getting rejected.
We left the other adtran at site to make their fax lines work till we got this working and put a test line on the existing adtran
that line registered
KeeseeMotors#show sip trunk-registration
Trk Identity Reg'd Grant Expires Success Failed Requests Chal Roll
--- -------------------- ----- ------- ------- ------- ------ -------- ---- ----
T01 Farm9705161005 Yes 3600 3123 7 3 17 7 0
Total Displayed: 1
I will try the PRI statement later on tonight to see if I can force the calls to the fax lines.
let me know if you have any other ideas
Thanks for your help
Rodney
I made these changes this morning and calls to the 516 number are ringing going later to switch the fax lines back over to this adtran.
by forcing the FXS lines away from the PRI fixed it
Thanks for your help.
voice grouped-trunk PRI
trunk T02
no accept $
accept 9705644XXX
!
accept 9705648431
!
accept 9705658431
!
reject 9705641123
!
reject 9705658218
!
reject 9705161005
!
Do the FXS ports have separate registrations from the PRI? I see a registration for the trunk with identity Farm9705161005 but no registrations for the FXS lines. If the individual FXS voice users are registered separately it should just work.
Good to know. From your previous post, individual registrations on the FXS lines should also do the trick.
As a general rule, I try to avoid using "$" as an accept statement. By default I program the DID ranges into the PBX grouped-trunk and the standard NANP patterns including service codes and international access on outbound facing trunks. Let the TA900 throw the misdials on the floor rather than kicking the can down the road and waiting for something unknown and out of my control to time out or throw an error.