cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
672
Views
0
Helpful
11
Replies

Fax Onramp with T1-CAS

procopius1980
Level 1
Level 1

I am encountering difficulty with configuring Fax Onramp with a T1-CAS connection.  The problem is that my POTS dial peer, once applied to a port, immediately catches and black holes every inbound call.  Here is sample from a debug:

*Nov 14 19:02:58.345: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Calling Number=, Called Number=, Voice-Interface=0x453F42F8,

   Timeout=TRUE, Peer Encap Type=ENCAP_VOICE, Peer Search Type=PEER_TYPE_VOICE,

   Peer Info Type=DIALPEER_INFO_SPEECH

*Nov 14 19:02:58.345: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Result=Success(0) after DP_MATCH_PORT; Incoming Dial-peer=5551234

I have a dial-peer configured to match traffic coming into 555-1234 and send it to an MMOIP dial peer.  Our router strips all digits but the last three.

dial-peer voice 5551234 pots

service onramp

destination-pattern 234

information-type fax

forward-digits 0

Port 0/0/0:0

dial-peer voice 3000 mmoip

  service fax_on_vfc_onramp_app out-bound

destination-pattern 234$

information-type fax

session target  mailto:admin@mycompany.org

http://www.cisco.com/en/US/docs/ios/12_1/12_1xi/feature/guide/dt_xifax.html

Here is the guide that tells you to set information-type fax on the POTS dial-peer.

I appreciate any help I can receive.  I will be more than happy to provide more detail if requested.

11 Replies 11

paolo bevilacqua
Hall of Fame
Hall of Fame

You need to use incoming called-number, not destination-pattern.

I have tried both.  I appologize for not making that clear.  I just changed the dial-peer to use incoming called-number instead of destination-pattern.  All calls immediately black holed as soon as I applied the dial-peer to the port.

Thanks,

That should not be the case, remove port and destination-pattern, even if the doc says otherwise.

I have removed the port and destination-pattern.  Here is what my dial-peer looks like:

dial-peer voice 5551234 pots 

service onramp

information-type fax

incoming-called number 234

foward-digits 0

Debuging using debug voip dialpeer all shows that the call gets matched to the VOIP dial-peer (dial-peer 100) that routes the call to Call Manager.  Dial-peer 150 is a backup.

dial-peer voice 100 voip

description Incoming Calls

destination-pattern [2,3,4,5,]..

session target ipv4:10.1.1.1

dtmf-relay h245-alphanumeric

codec g711ulaw

no vad

Like you said from the beginning, using incoming called-number should have matched the incoming call.  Thank you for working with me!

*Nov 14 21:48:33.409: //-1/DE50A40F9EF7/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=234, Peer Info Type=DIALPEER_INFO_SPEECH

*Nov 14 21:48:33.409: //-1/DE50A40F9EF7/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=234

*Nov 14 21:48:33.409: //-1/DE50A40F9EF7/DPM/dpMatchCore:

   Dial String=234, Expanded String=234, Calling Number=

   Timeout=FALSE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH

*Nov 14 21:48:33.409: //-1/DE50A40F9EF7/DPM/MatchNextPeer:

   Result=Success(0); Outgoing Dial-peer=100 Is Matched

*Nov 14 21:48:33.409: //-1/DE50A40F9EF7/DPM/MatchNextPeer:

   Result=Success(0); Outgoing Dial-peer=150 Is Matched

*Nov 14 21:48:33.409: //-1/DE50A40F9EF7/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

*Nov 14 21:48:33.409: //-1/DE50A40F9EF7/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=100

     2: Dial-peer Tag=150

*Nov 14 21:48:33.413: //-1/DE50A40F9EF7/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=234, Peer Info Type=DIALPEER_INFO_SPEECH

*Nov 14 21:48:33.413: //-1/DE50A40F9EF7/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=234

*Nov 14 21:48:33.413: //-1/DE50A40F9EF7/DPM/dpMatchCore:

   Dial String=234, Expanded String=234, Calling Number=

   Timeout=TRUE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH

*Nov 14 21:48:33.413: //-1/DE50A40F9EF7/DPM/MatchNextPeer:

   Result=Success(0); Outgoing Dial-peer=100 Is Matched

bctyvg#

*Nov 14 21:48:33.413: //-1/DE50A40F9EF7/DPM/MatchNextPeer:

   Result=Success(0); Outgoing Dial-peer=150 Is Matched

*Nov 14 21:48:33.413: //-1/DE50A40F9EF7/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

*Nov 14 21:48:33.413: //-1/DE50A40F9EF7/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=100

     2: Dial-peer Tag=150

Here is some additional information that may or may not be pertinent. 

Our T1 controller is broken into two groups:

controller T1 0/0/0

framing esf

linecode b8zs

cablelength long 0db

ds0-group 0 timeslots 1-12 type e&m-wink-start

ds0-group 1 timeslots 13-24 type fxo-ground-start

Channels 1-12 are for inbound calls.  Channels 13-24 are for outbound.  Setting the POTS dial-peer to port 0/0/0:1 (the outbound channels) causes the POTS dial-peer to be matched, but of course nothing happens.  You just get a dial-tone from your test fax.

In many case debug doesn;t show incoming DP at all, so that's normal

Do you have the onramp tcl files, fax-interface mail and the needed reboot after that ?

My apologies for the delay.  I have been on holiday.

Yes, I have the app_faxmail_onramp.2.0.1.3.tcl file in the flash and I have entered fax interface-type fax mail + reboot.  I noticed you wrote files, did I need anything else? 

Additionaly, I have already had a voice specialist look over my config.  He has performed many fax onramp jobs and confirmed that I had everything setup correctly.  He thinks the issue is due to the fact that I am using a T1-CAS for voice service.  His advice is that I contact Cisco TAC.

Thanks,

I don't think so, you can also the "debug voice application tclcommands" to check if the service script is invoked.

The debug did confirm that the script is getting invoked.  I still have the problem where every call gets matched and dropped by the POTS dial-peer.  I basically kill all inbound calls once I apply the port to the dial-peer.  Here is the debug output that writes to the screen as soon as I apply the dial-peer to the inbound port:

bctyvg(config-dial-peer)#port 0/0/0:0
bctyvg(config-dial-peer)#
*Nov 26 19:58:33.510: //-1/xxxxxxxxxxxx/DPM/dpCheckTerminationStatus:
bctyvg(config-dial-peer)#

Thank you for your continued assistance.

For incoming DP, 'port' is not needed, matching is done on called number.

You may have other things  in config preventing this to work.

Here is my router's running config.  I did not set anything up on this router except for the Fax Onramp information.  I am very inexperienced in voice.  Thank you for the help.

Current configuration : 3067 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname voicerouter
!
boot-start-marker
boot-end-marker
!
card type t1 0 0
!
no aaa new-model
network-clock-participate wic 0
network-clock-select 1 T1 0/0/0
!
!
ip cef
!
!
ip domain name XXX
ip name-server X.X.X.X
ip name-server X.X.X.X
!
voice-card 0
no dspfarm
!
!
!
voice service voip
!
!
!
!
!
!
!
!
!
!
fax receive called-subscriber $d$
fax interface-type fax-mail
mta send server XXX port 25
mta send subject Incoming Fax
mta send mail-from hostname XXX
mta send mail-from username XXX
mta receive aliases XXX
mta receive maximum-recipients 10
mta receive generate permanent-error
!
application
  service onramp flash:app_faxmail_onramp.2.0.1.3.tcl
  !
!
!
!
!
!
controller T1 0/0/0
framing esf
linecode b8zs
cablelength long 0db
ds0-group 0 timeslots 1-12 type e&m-wink-start
ds0-group 1 timeslots 13-24 type fxo-ground-start
!
controller T1 0/0/1
framing esf
linecode b8zs
cablelength long 0db
!
!
!
!
interface FastEthernet0/0
ip address X.X.X.X 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 X.X.X.X
!
no ip http server
no ip http secure-server
!

!
control-plane
!
!
!
voice-port 0/0/0:0
!
voice-port 0/0/0:1
output attenuation 0
connection plar 500
caller-id enable
!
!
!
!
!
dial-peer voice 100 voip
description Incoming Calls
destination-pattern [5,6,7,8,9]..
session target ipv4:X.X.X.X
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
!
dial-peer voice 120 pots
description Outbound calls
preference 1
destination-pattern 9.T
port 0/0/0:1
!
dial-peer voice 150 voip
description Incoming Calls
preference 2
destination-pattern [5,6,7,8,9]..
session target ipv4:X.X.X.X
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
!
dial-peer voice 130 pots
description Outbound calls
preference 1
destination-pattern 911
port 0/0/0:1
forward-digits all
!
dial-peer voice 3000 mmoip
service fax_on_vfc_onramp_app out-bound
destination-pattern 234$
information-type fax
session target mailto:XXX
!
dial-peer voice 5551234 pots
service onramp
information-type fax
incoming called-number 234
forward-digits 0
!
!
scheduler allocate 20000 1000
!
end