cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
416
Views
0
Helpful
5
Replies

trying to get FXS ports to work

Mark Graham
Level 1
Level 1

i'm running a 1760 with 12.4(25d) and Call manager 9 .  the 1760 has a vic-2fxs and a DSP module

 

if i put the router in SRST i can call the POTS phone and the associated ip phone i have in failover mode and vise versa with the ip phone.  

 

i set the router as a mgcp gateway on the CUCM console. assigned it the ports and gave them DN's  the call manager is talking to the device and registered, but says the device is not trusted.  

 

 

i try to dial from the POTS phone and i get a fast busy always, untill i put my router into failover.  am i doing something wrong?  should i be using it as a H323 GW or is the device just so old that its not compatible with the version of call manager? 

 

 

5 Replies 5

Mark Graham
Level 1
Level 1

i just wanted to add this is just lab work, maybe at some point it will be put in practice :) 

 

 

debugging dial peer shows this 

 

 

*Sep  1 13:22:35.700: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
   Calling Number=4040, Called Number=, Voice-Interface=0x84345020,
   Timeout=TRUE, Peer Encap Type=ENCAP_VOICE, Peer Search Type=PEER_TYPE_VOICE,
   Peer Info Type=DIALPEER_INFO_SPEECH
*Sep  1 13:22:35.700: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
   Match Rule=DP_MATCH_ANSWER; Calling Number=4040
*Sep  1 13:22:35.700: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:
   Is Incoming=TRUE, Number Expansion=FALSE
*Sep  1 13:22:35.700: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
   Dial String=, Expanded String=, Calling Number=4040T
   Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
*Sep  1 13:22:35.704: //-1/xxxxxxxxxxxx/DPM/MatchNextPeer:
   Result=Success(0); Incoming Dial-peer=102 Is Matched
*Sep  1 13:22:35.704: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:exit@5406
*Sep  1 13:22:35.704: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
   Result=Success(0) after DP_MATCH_ANSWER; Incoming Dial-peer=102
*Sep  1 13:22:35.704: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerSPI:exit@5940
*Sep  1 13:22:38.048: //-1/B6A8195E82AE/DPM/dpMatchPeersCore:
   Calling Number=, Called Number=6, Peer Info Type=DIALPEER_INFO_SPEECH
*Sep  1 13:22:38.052: //-1/B6A8195E82AE/DPM/dpMatchPeersCore:
   Match Rule=DP_MATCH_DEST; Called Number=6
*Sep  1 13:22:38.052: //-1/B6A8195E82AE/DPM/dpMatchCore:
   Dial String=6, Expanded String=6, Calling Number=
   Timeout=FALSE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
*Sep  1 13:22:38.052: //-1/B6A8195E82AE/DPM/MatchNextPeer:
   Result=MORE_DIGITS_NEEDED(1); Outgoing Dial-peer=202
*Sep  1 13:22:38.052: //-1/B6A8195E82AE/DPM/dpMatchCore:
   Result=1
*Sep  1 13:22:38.052: //-1/B6A8195E82AE/DPM/dpMatchPeersCore:
   Result=Partial Matches(1) after DP_MATCH_DEST
*Sep  1 13:22:38.052: //-1/B6A8195E82AE/DPM/dpMatchPeersMoreArg:
   Result=MORE_DIGITS_NEEDED(1)
*Sep  1 13:22:39.839: //-1/B6A8195E82AE/DPM/dpMatchPeersCore:
   Calling Number=, Called Number=60, Peer Info Type=DIALPEER_INFO_SPEECH
*Sep  1 13:22:39.839: //-1/B6A8195E82AE/DPM/dpMatchPeersCore:
   Match Rule=DP_MATCH_DEST; Called Number=60
*Sep  1 13:22:39.843: //-1/B6A8195E82AE/DPM/dpMatchCore:
   Dial String=60, Expanded String=60, Calling Number=
   Timeout=FALSE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
*Sep  1 13:22:39.843: //-1/B6A8195E82AE/DPM/MatchNextPeer:
   Result=MORE_DIGITS_NEEDED(1); Outgoing Dial-peer=202
*Sep  1 13:22:39.843: //-1/B6A8195E82AE/DPM/dpMatchCore:
   Result=1
*Sep  1 13:22:39.843: //-1/B6A8195E82AE/DPM/dpMatchPeersCore:
   Result=Partial Matches(1) after DP_MATCH_DEST
*Sep  1 13:22:39.843: //-1/B6A8195E82AE/DPM/dpMatchPeersMoreArg:
   Result=MORE_DIGITS_NEEDED(1)
*Sep  1 13:22:41.630: //-1/B6A8195E82AE/DPM/dpMatchPeersCore:
   Calling Number=, Called Number=600, Peer Info Type=DIALPEER_INFO_SPEECH
*Sep  1 13:22:41.634: //-1/B6A8195E82AE/DPM/dpMatchPeersCore:
   Match Rule=DP_MATCH_DEST; Called Number=600
*Sep  1 13:22:41.634: //-1/B6A8195E82AE/DPM/dpMatchCore:
   Dial String=600, Expanded String=600, Calling Number=
   Timeout=FALSE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
*Sep  1 13:22:41.634: //-1/B6A8195E82AE/DPM/MatchNextPeer:
   Result=MORE_DIGITS_NEEDED(1); Outgoing Dial-peer=202
*Sep  1 13:22:41.634: //-1/B6A8195E82AE/DPM/dpMatchCore:
   Result=1
*Sep  1 13:22:41.634: //-1/B6A8195E82AE/DPM/dpMatchPeersCore:
   Result=Partial Matches(1) after DP_MATCH_DEST
*Sep  1 13:22:41.634: //-1/B6A8195E82AE/DPM/dpMatchPeersMoreArg:
   Result=MORE_DIGITS_NEEDED(1)
*Sep  1 13:22:43.224: //-1/B6A8195E82AE/DPM/dpMatchPeersCore:
   Calling Number=, Called Number=6008, Peer Info Type=DIALPEER_INFO_SPEECH
*Sep  1 13:22:43.224: //-1/B6A8195E82AE/DPM/dpMatchPeersCore:
   Match Rule=DP_MATCH_DEST; Called Number=6008
*Sep  1 13:22:43.224: //-1/B6A8195E82AE/DPM/dpMatchCore:
   Dial String=6008, Expanded String=6008, Calling Number=
   Timeout=FALSE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
*Sep  1 13:22:43.228: //-1/B6A8195E82AE/DPM/MatchNextPeer:
   Result=Success(0); Outgoing Dial-peer=202 Is Matched
*Sep  1 13:22:43.228: //-1/B6A8195E82AE/DPM/dpMatchPeersCore:
   Result=Success(0) after DP_MATCH_DEST
*Sep  1 13:22:43.228: //-1/B6A8195E82AE/DPM/dpMatchPeersMoreArg:
   Result=SUCCESS(0)
   List of Matched Outgoing Dial-peer(s):
     1: Dial-peer Tag=202
*Sep  1 13:22:43.232: //-1/B6A8195E82AE/DPM/dpMatchPeersCore:
   Calling Number=, Called Number=6008, Peer Info Type=DIALPEER_INFO_SPEECH
*Sep  1 13:22:43.236: //-1/B6A8195E82AE/DPM/dpMatchPeersCore:
   Match Rule=DP_MATCH_DEST; Called Number=6008
*Sep  1 13:22:43.236: //-1/B6A8195E82AE/DPM/dpMatchCore:
   Dial String=6008, Expanded String=6008, Calling Number=
   Timeout=TRUE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
*Sep  1 13:22:43.236: //-1/B6A8195E82AE/DPM/MatchNextPeer:
   Result=Success(0); Outgoing Dial-peer=202 Is Matched
*Sep  1 13:22:43.236: //-1/B6A8195E82AE/DPM/dpMatchPeersCore:
   Result=Success(0) after DP_MATCH_DEST
*Sep  1 13:22:43.236: //-1/B6A8195E82AE/DPM/dpMatchPeersMoreArg:
   Result=SUCCESS(0)
   List of Matched Outgoing Dial-peer(s):
     1: Dial-peer Tag=202

 

Can you post the show run of your MGCP Gateway ?


voice-card 2

carrier-id source
!
!
voice rtp send-recv
!
voice service pots
!
voice service voip
 allow-connections h323 to h323
 allow-connections h323 to sip
 allow-connections sip to h323
 h323
  call start slow
!
!
!
!
!
voice class h323 1
 h225 timeout tcp establish 3

!
!
!
voice-port 2/0
 timeouts call-disconnect 3
 timing digit 50
 station-id name Analog 1
 station-id number 4040
!
voice-port 2/1
!
ccm-manager switchback immediate
ccm-manager redundant-host 172.21.2.10
ccm-manager mgcp
no ccm-manager fax protocol cisco
ccm-manager music-on-hold
ccm-manager config server 172.21.0.10
ccm-manager config
!
mgcp
mgcp call-agent 172.21.0.10 2427 service-type mgcp version 0.1
mgcp rtp unreachable timeout 1000 action notify
mgcp modem passthrough voip mode nse
mgcp package-capability rtp-package
mgcp package-capability sst-package
no mgcp package-capability res-package
no mgcp timer receive-rtcp
mgcp sdp simple
mgcp validate domain-name
mgcp rtp payload-type g726r16 static
!
mgcp profile default
 timeout tone busy 600
 timeout tone dial 600
 max1 retries 3
!
sccp local FastEthernet0/0
sccp
sccp ccm 172.21.0.10 priority 1
sccp ip precedence 1
sccp switchback timeout guard 180
sccp mtp sessions 15
sccp codec g711ulaw mask
!
!
!
dial-peer voice 102 pots
 answer-address 4040
 destination-pattern 4040
 incoming called-number 4040
 port 2/0
 forward-digits all
!
dial-peer voice 202 voip
 destination-pattern [0-8]...
 session protocol sipv2
 session target ipv4:172.21.0.10
 incoming called-number 4...
 dtmf-relay h245-alphanumeric
 codec g711ulaw
 no vad
!
dial-peer voice 111 voip
 destination-pattern 4040
!
dial-peer voice 99920 pots
 service mgcpapp
 port 2/0
!
dial-peer voice 99921 pots
 service mgcpapp
 port 2/1
!
gateway
 timer receive-rtp 1200
!
!
call-manager-fallback
 max-conferences 4 gain -6
 ip source-address 172.21.0.10 port 2000
 max-ephones 10
 max-dn 10
 keepalive 10
 

I don't understand that you put 172.21.0.10 on both "ccm-manager config server 172.21.0.10"   and under "call-manager-fallback ip source-address 172.21.0.10 port 2000"

The first command is for CUCM Sub, and the second is for the IP address of your 1760 router, and these IP addresses are different.

 

Also, you don't need dial-peer 202 and 111. The FXS ports are controlled by CUCM thanks to service mgcpapp command. And also you don't need it for SRST purpose because SRST means the link with CUCM is broken so you are not going to communicate with CUCM anyway. From the dial-peer matching debug I see that you are matching Dial-peer 202 which is wrong. Remove them and then re-test.

i fixed alot of that in my config, however, i can only call into the fxs, not bi directional, is there a reason?  is it only due to the nature of the card?   i sitll need the dial peer 102 for calling phones and i can do bi directional calls from the phone in fallback.  

 

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: