12-16-2011 09:43 AM - edited 03-21-2019 05:04 AM
I have configured this and appear to be running into a Dial-Peer issue in that I am not matching on the outgoing dial peer. This is a lab configuration and here are the applicable Config entries.
fax receive called-subscriber $d$
fax interface-type fax-mail
mta send server 172.21.12.12 port 25
mta send subject FAX
mta send postmaster myemailaddress
mta send mail-from hostname sendingaddress
mta send mail-from username $s$
application
service onramp flash:/app_faxmail_onramp.2.0.1.3.tcl
!
service fax_detect flash:app_fax_detect.2.1.2.2.tcl
voice-port 0/1/1
dial-peer voice 233 pots
service onramp
incoming called-number 5551212
direct-inward-dial
port 0/1/1
!
dial-peer voice 232 mmoip
service fax_on_vfc_onramp_app out-bound
destination-pattern 5551212
information-type fax
session target mailto:myemailaddress
image encoding MH
image resolution fine
dsn failure
I am matching on the incoming - but I thought it should then send it to the next dial peer - but I get no match.
Dec 15 21:53:05.512: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=, Called Number=, Voice-Interface=0x87D74004,
Timeout=TRUE, Peer Encap Type=ENCAP_VOICE, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
Dec 15 21:53:05.512: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_PORT;
Dec 15 21:53:05.512: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_PORT; Incoming Dial-peer=233
Dec 15 21:53:05.512: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0
Dec 15 21:53:05.512: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerSPI:exit@6475
Dec 15 21:53:05.516: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=, Called Number=, Peer Info Type=DIALPEER_INFO_SPEECH
Dec 15 21:53:05.516: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)
Dec 15 21:53:05.516: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=, saf_enabled=0, saf_dndb_lookup=1, dp_result=-1
Dec 15 21:53:05.516: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
Result=NO_MATCH(-1)
Any help is greatly appeciated.
Thanks,
Heath
Solved! Go to Solution.
12-16-2011 11:41 AM
I'm not sure, but try to add this translation rule. The goal is add a called number in incoming calls from FXO port.
If it doesn't work, add the output of debug voice ccapi inout.
voice translation-rule 10
rule 1 /.*/ /5551212/
voice translation-profile ADD_CALLED
translate called 10
voice-port 0/1/1
translation-profile incoming ADD_CALLED
Regards.
12-16-2011 10:42 AM
Have you tried doing the configuration with the Cisco Configuration Assistant? I did a deployment for a T.37 fax onramp using the CCA version 3.1, the configuration is really easy and it works, at least for me it worked on the first try, so I really advise you to try it.
12-16-2011 10:52 AM
No we do not generally use the Configuration Assistant as we do everything in CLI for customer Deployments. Would you be able to share the Dial-Peers that were created in the CLI for the t.37 config?
Thanks,
Heath
12-16-2011 11:07 AM
In your call the Calling and Called number are missing:
Dec 15 21:53:05.512: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=, Called Number=, Voice-Interface=0x87D74004,
Timeout=TRUE, Peer Encap Type=ENCAP_VOICE, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
Dec 15 21:53:05.512: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_PORT;
so, your router can match only the physical port:
Dec 15 21:53:05.512: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=, Called Number=, Voice-Interface=0x87D74004,
Timeout=TRUE, Peer Encap Type=ENCAP_VOICE, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
Dec 15 21:53:05.512: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_PORT;
so, the matched dial-peer is the pots dial-peer 233.
Is the voice port 0/1/1 an analog FXS port? Can support DID?
Regards.
12-16-2011 11:12 AM
It is an Analog FXO and therefore does not display Calling or Called Identifiers. That is why I used the Port 0/1/1 for matching the incoming peer - but how to I get it to then match on the MMOIP dial-peer.
12-16-2011 11:41 AM
I'm not sure, but try to add this translation rule. The goal is add a called number in incoming calls from FXO port.
If it doesn't work, add the output of debug voice ccapi inout.
voice translation-rule 10
rule 1 /.*/ /5551212/
voice translation-profile ADD_CALLED
translate called 10
voice-port 0/1/1
translation-profile incoming ADD_CALLED
Regards.
12-16-2011 11:48 AM
Daniele, That made a huge difference - answers and I heard fax tones... Now I need to trouble shoot the mail part as I got this...
Dec 16 19:46:33.211: %MSPI-4-MSPI_NO_SMTP_SEND: MSPI- Could not
send data to the SMTP server, cid=163, mspi_on_xmit, lost connection
Thanks a bunch for your help.....
12-16-2011 11:55 AM
Now you can use the command debug mta send all. Post the output.
Regards.
12-16-2011 12:06 PM
Thanks again, great help... I was able to get it going....
12-16-2011 11:18 AM
Hi Heath,
this are the only ones I found that are related to the T.37 fax-to-mail config:
dial-peer voice 1800 mmoip
description ** fax onramp for outbound faxmail to CUE **
service fax_on_vfc_onramp_app out-bound
destination-pattern ^....$
information-type fax
session target mailto:$d$@10.1.10.1
dial-peer voice 3028 pots
service cca_fax_detection
incoming called-number .%
direct-inward-dial
port 0/3/0:0
dial-peer voice 3034 pots
description FAX_T37
translation-profile incoming FAX_T37_Called_36
service cca_onramp
incoming called-number 2469
direct-inward-dial
port 0/3/0:0
This last one is because I have it configured with a DID... don't ask me about the destination patterns because I really have no clue... cca does some crazy stuff.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide