Re: Dial-peer question

From: Robert Kimble <hoodooman21_at_gmail.com>
Date: Wed, 27 Oct 2010 11:03:10 -0500

Thanks Ryan,

I'm not sure where I'm going wrong though....

Here's the info:

Pilot number: 2101
non-existing extension: 2004
CUE address: 10.218.4.100
Circuit: E&M wink with 4 digits being passed off

Configs:

voice translation-rule 1
 rule 1 /..../ /2101/
!
!
voice translation-profile to_AA
 translate called 1

dial-peer voice 2 voip
 translation-profile outgoing to_AA
 destination-pattern ....
 session target ipv4:10.218.4.100
 codec g711ulaw
 no vad

debug voice dialpeer all shows that outgoing dial-peer 2 is being matched,
but I'm still getting a busy signal instead of the AA:

*Oct 27 10:58:09.013: //-1/D3570F3F8B44/DPM/dpMatchPeersCore:
   Calling Number=, Called Number=2004, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 27 10:58:09.013: //-1/D3570F3F8B44/DPM/dpMatchPeersCore:
   Match Rule=DP_MATCH_DEST; Called Number=2004
*Oct 27 10:58:09.013: //-1/D3570F3F8B44/DPM/dpMatchCore:
   Dial String=2004, Expanded String=2004, Calling Number=
   Timeout=FALSE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 27 10:58:09.013: //-1/D3570F3F8B44/DPM/MatchNextPeer:
   Result=Success(0); Outgoing Dial-peer=2 Is Matched
*Oct 27 10:58:09.013: //-1/D3570F3F8B44/DPM/dpMatchPeersCore:
   Result=Success(0) after DP_MATCH_DEST
*Oct 27 10:58:09.013: //-1/D3570F3F8B44/DPM/dpMatchSafModulePlugin:
   dialstring=2004, saf_enabled=1, saf_dndb_lookup=0, dp_result=0
*Oct 27 10:58:09.013: //-1/D3570F3F8B44/DPM/dpMatchPeersMoreArg:
   Result=SUCCESS(0)
   List of Matched Outgoing Dial-peer(s):
     1: Dial-peer Tag=2
*Oct 27 10:58:09.013: //-1/D3570F3F8B44/DPM/dpMatchPeersCore:
   Calling Number=, Called Number=2004, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 27 10:58:09.013: //-1/D3570F3F8B44/DPM/dpMatchPeersCore:
   Match Rule=DP_MATCH_DEST; Called Number=2004
*Oct 27 10:58:09.013: //-1/D3570F3F8B44/DPM/dpMatchCore:
   Dial String=2004, Expanded String=2004, Calling Number=
   Timeout=TRUE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 27 10:58:09.017: //-1/D3570F3F8B44/DPM/MatchNextPeer:
   Result=Success(0); Outgoing Dial-peer=2 Is Matched
*Oct 27 10:58:09.017: //-1/D3570F3F8B44/DPM/dpMatchPeersCore:
   Result=Success(0) after DP_MATCH_DEST
*Oct 27 10:58:09.017: //-1/D3570F3F8B44/DPM/dpMatchSafModulePlugin:
   dialstring=2004, saf_enabled=0, saf_dndb_lookup=1, dp_result=0
*Oct 27 10:58:09.017: //-1/D3570F3F8B44/DPM/dpMatchPeersMoreArg:
   Result=SUCCESS(0)
   List of Matched Outgoing Dial-peer(s):
     1: Dial-peer Tag=2
*Oct 27 10:58:09.017: //-1/D3570F3F8B44/DPM/dpMatchPeersCore:
   Calling Number=, Called Number=2004, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 27 10:58:09.017: //-1/D3570F3F8B44/DPM/dpMatchPeersCore:
   Match Rule=DP_MATCH_DEST; Called Number=2004
*Oct 27 10:58:09.017: //-1/D3570F3F8B44/DPM/dpMatchCore:
   Dial String=2004, Expanded String=2004, Calling Number=
   Timeout=TRUE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 27 10:58:09.017: //-1/D3570F3F8B44/DPM/MatchNextPeer:
   Result=Success(0); Outgoing Dial-peer=2 Is Matched
*Oct 27 10:58:09.017: //-1/D3570F3F8B44/DPM/dpMatchPeersCore:
   Result=Success(0) after DP_MATCH_DEST
*Oct 27 10:58:09.017: //-1/D3570F3F8B44/DPM/dpMatchSafModulePlugin:
   dialstring=2004, saf_enabled=0, saf_dndb_lookup=1, dp_result=0
*Oct 27 10:58:09.017: //-1/D3570F3F8B44/DPM/dpMatchPeersMoreArg:
   Result=SUCCESS(0)
   List of Matched Outgoing Dial-peer(s):
     1: Dial-peer Tag=2
*Oct 27 10:58:09.017: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
   Calling Number=2004, Called Number=2004, Peer Info
Type=DIALPEER_INFO_SPEECH
*Oct 27 10:58:09.017: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
   Match Rule=DP_MATCH_DEST; Called Number=2004
*Oct 27 10:58:09.017: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
   Dial String=2004, Expanded String=2004, Calling Number=2004T
   Timeout=TRUE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 27 10:58:09.017: //-1/xxxxxxxxxxxx/DPM/MatchNextPeer:
   Result=Success(0); Outgoing Dial-peer=2 Is Matched
*Oct 27 10:58:09.017: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
   Result=Success(0) after DP_MATCH_DEST
*Oct 27 10:58:09.017: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
   dialstring=2004, saf_enabled=0, saf_dndb_lookup=1, dp_result=0
*Oct 27 10:58:09.017: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
   Result=SUCCESS(0)
   List of Matched Outgoing Dial-peer(s):
     1: Dial-peer Tag=2
*Oct 27 10:58:09.017: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
   Calling Number=, Called Number=, Voice-Interface=0x0,
   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search
Type=PEER_TYPE_VOICE,
   Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 27 10:58:09.017: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
   Result=NO_MATCH(-1) After All Match Rules Attempt
*Oct 27 10:58:09.017: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=-1
*Oct 27 10:58:09.017:
//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeer:exit_at_6610
*Oct 27 10:58:09.017: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
   Calling Number=2004, Called Number=, Voice-Interface=0x0,
   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search
Type=PEER_TYPE_VOICE,
   Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 27 10:58:09.017: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
   Match Rule=DP_MATCH_ANSWER; Calling Number=2004
*Oct 27 10:58:09.017: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:
   Is Incoming=TRUE, Number Expansion=FALSE
*Oct 27 10:58:09.017: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
   Dial String=, Expanded String=, Calling Number=2004T
   Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 27 10:58:09.017: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
   Result=-1
*Oct 27 10:58:09.017: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:exit_at_5982
*Oct 27 10:58:09.017: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
   Match Rule=DP_MATCH_ORIGINATE; Calling Number=2004
*Oct 27 10:58:09.017: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:
   Is Incoming=TRUE, Number Expansion=FALSE
*Oct 27 10:58:09.017: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
   Dial String=, Expanded String=, Calling Number=2004T
   Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 27 10:58:09.017: //-1/xxxxxxxxxxxx/DPM/MatchNextPeer:
   Result=Success(0); Incoming Dial-peer=2 Is Matched
*Oct 27 10:58:09.017: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:exit_at_5982
*Oct 27 10:58:09.017: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
   Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=2
*Oct 27 10:58:09.017: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0
*Oct 27 10:58:09.017:
//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeer:exit_at_6610
*Oct 27 10:58:09.017: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
   Calling Number=, Called Number=2004, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 27 10:58:09.017: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
   Match Rule=DP_MATCH_DEST; Called Number=2004
*Oct 27 10:58:09.017: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
   Dial String=2004, Expanded String=2004, Calling Number=
   Timeout=TRUE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 27 10:58:09.017: //-1/xxxxxxxxxxxx/DPM/MatchNextPeer:
   Result=Success(0); Outgoing Dial-peer=2 Is Matched
*Oct 27 10:58:09.017: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
   Result=Success(0) after DP_MATCH_DEST
*Oct 27 10:58:09.017: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
   dialstring=2004, saf_enabled=0, saf_dndb_lookup=1, dp_result=0
*Oct 27 10:58:09.017: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
   Result=SUCCESS(0)
   List of Matched Outgoing Dial-peer(s):
     1: Dial-peer Tag=2
*Oct 27 10:58:09.017: //-1/D3570F3F8B44/DPM/dpMatchPeersCore:
   Calling Number=, Called Number=2004, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 27 10:58:09.017: //-1/D3570F3F8B44/DPM/dpMatchPeersCore:
   Match Rule=DP_MATCH_DEST; Called Number=2004
*Oct 27 10:58:09.017: //-1/D3570F3F8B44/DPM/dpMatchCore:
   Dial String=2004, Expanded String=2004, Calling Number=
   Timeout=TRUE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
*Oct 27 10:58:09.017: //-1/D3570F3F8B44/DPM/MatchNextPeer:
   Result=Success(0); Outgoing Dial-peer=2 Is Matched
*Oct 27 10:58:09.017: //-1/D3570F3F8B44/DPM/dpMatchPeersCore:
   Result=Success(0) after DP_MATCH_DEST
*Oct 27 10:58:09.017: //-1/D3570F3F8B44/DPM/dpMatchSafModulePlugin:
   dialstring=2004, saf_enabled=1, saf_dndb_lookup=1, dp_result=0
*Oct 27 10:58:09.017: //-1/D3570F3F8B44/DPM/dpMatchPeersMoreArg:
   Result=SUCCESS(0)
   List of Matched Outgoing Dial-peer(s):
     1: Dial-peer Tag=2

-Bobby

On Tue, Oct 26, 2010 at 5:39 PM, Ryan West <rwest_at_zyedge.com> wrote:

> Sure. Destination-pattern .... With a translation-profile outgoing that
> translates called to your cue target.
>
> Sent from handheld
>
> On Oct 26, 2010, at 6:30 PM, "Robert Kimble" <hoodooman21_at_gmail.com>
> wrote:
>
> > Hi All,
> >
> > I have a question regarding dial-peers and CUE. As it stands, I can call
> in
> > and pass off four digits from the provider. If the four digits match an
> > ephone-dn, the call will either go to the phone or CUE depending on
> whether
> > or not it is answered.
> >
> > However, if a call comes in and sends four digits that are not associated
> > with an existing ephone, then the call rings busy. Is there a way to have
> > unrecognized extensions go to the autoattendant?
> >
> > Example:
> >
> > Call existing extension 2001 - no answer will go to voice mail
> >
> > Call non-existing extension 2002 - the call will go to AA
> >
> > Please let me know if I need to clarify my question.
> >
> > Thanks!
> >
> > -Bobby
> >
> >
> > Blogs and organic groups at http://www.ccie.net
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net
Received on Wed Oct 27 2010 - 11:03:10 ART

This archive was generated by hypermail 2.2.0 : Mon Nov 01 2010 - 06:42:06 ART