[cisco-voip] Dial-peers gone crazy...

Jonathan Charles jonvoip at gmail.com
Fri Aug 1 11:40:16 EDT 2008


Well, he needs to do a debug voip dialpeer all and on the inbound, I
would bet it is matching DP 1030....



Jonathan

On Fri, Aug 1, 2008 at 8:59 AM, Robert Schuknecht <rschuknecht at gmx.de> wrote:
> Jonathan,
>
> AFAIK the dial-peer Tag is not used in dial-peer matching. The dial-peer matching depends on "incoming called-number"; "answer-address", "destination-pattern" and "port".
>
> /Robert
>
>>>> Jonathan Charles<jonvoip at gmail.com> schrieb am Freitag, 1. August 2008 um 15:50
> in Nachricht 3aafb946aae5232e997381b336692447:
>> Incoming calls will match the first dial-peer listed.
>>
>> Without incoming called-number . the system gives the caller dial
>> tone. With it, it collects digits and passes it to the next peer.
>>
>> My guess is your inbound is matching PID=0 and doing wacky stuff.
>>
>> Delete dial-peer voice 1 it looks to be screwing stuff up...
>>
>>
>> Jonathan
>>
>> On Fri, Aug 1, 2008 at 8:41 AM, Anthony Kouloglou <akoul at dataways.gr> wrote:
>>> Hi Charles,
>>> why add this only in 1030?
>>> What does it do?
>>> Do i realy need dial-peer voice 1 pots?
>>>
>>> Thanks a lot
>>> Anthony
>>>
>>> Jonathan Charles wrote:
>>>
>>> Add this:
>>>
>>> dial-peer voice 1030 pots
>>>  incoming called-number .
>>>
>>> That is why you are getting DT.
>>>
>>>
>>>
>>> Jonathan
>>>
>>> On Fri, Aug 1, 2008 at 1:44 AM, Anthony Kouloglou <akoul at dataways.gr> wrote:
>>>
>>>
>>> Hi Jonathan,
>>> here are my dial-peers:
>>> When user who has the cell phone number 6912345678 calls the E1 number,
>>> voice translation rule -1, although it changes the called number to 4011, it
>>> does not call the 4011 but instead, user of cell phones gets tone from the
>>> router!!
>>> All other incoming calls are routed to 4011 with no problem.
>>>
>>> voice translation-rule 1
>>>  rule 15 /.*/ /4011/
>>> !
>>> voice translation-profile TP01
>>>  translate called 1
>>> !
>>> voice-port 0/3/0:15
>>>  translation-profile incoming TP01
>>>  bearer-cap Speech
>>> !
>>> voice-port 2/0/17
>>>  input gain 14
>>>  connection plar 4011
>>>  description ### FXO Connected to FCT 2: 6911223344 ###
>>>  station-id name Call To FCT2
>>>  station-id number 6911223344
>>>  caller-id enable
>>> !
>>> dial-peer voice 1030 pots
>>>  description ### All International Calls - No Prefix 0 ###
>>>  destination-pattern 00T
>>>  direct-inward-dial
>>>  port 0/3/0:15
>>>  prefix 00
>>> !
>>> dial-peer voice 1041 pots
>>>  description ### Calls To Greece LandLine - No Prefix 0 ###
>>>  destination-pattern 2.........
>>>  direct-inward-dial
>>>  port 0/3/0:15
>>>  prefix 2
>>> !
>>> dial-peer voice 1042 pots
>>>  description ### Calls To Greece Mobile - No Prefix 0 ###
>>>  destination-pattern 6.........
>>>  direct-inward-dial
>>>  port 0/3/0:15
>>>  prefix 6
>>> !
>>> dial-peer voice 1050 pots
>>>  description ### Calls To Greece Special Numbers - No Prefix 0 ###
>>>  destination-pattern 1T
>>>  direct-inward-dial
>>>  port 0/3/0:15
>>>  prefix 1
>>> !
>>> dial-peer voice 1051 pots
>>>  description ### Calls To Greece Low Toll/No Toll Numbers - No Prefix 0 ###
>>>  destination-pattern 8T
>>>  direct-inward-dial
>>>  port 0/3/0:15
>>>  prefix 8
>>> !
>>> dial-peer voice 1 pots
>>>  destination-pattern .
>>>  direct-inward-dial
>>> !
>>> dial-peer voice 6000 pots
>>>  description ### Calls To CellPhone 1 ###
>>>  destination-pattern 6912345678
>>>  port 2/0/17
>>>  prefix 6912345678
>>> !
>>>
>>>
>>> Thanks and Regards
>>> Anthony
>>>
>>> Jonathan Charles wrote:
>>>
>>> What is the order of your dial-peers?
>>>
>>> First off, your first dial-peers should be pots and have the
>>> incoming-called number . command on them
>>>
>>> Second, are you using variable length matching on your dial-peers?
>>> (any route patterns with a T on them?)
>>>
>>> Post all of your dial-peers...
>>>
>>>
>>>
>>> Jonathan
>>>
>>> On Thu, Jul 31, 2008 at 12:19 PM, Anthony Kouloglou <akoul at dataways.gr>
>>> wrote:
>>>
>>>
>>> Hi,
>>> i have a 2800 series router with one E1 and 2 FXOs where FCTs are connected
>>> I have one dial-peer pots pointing to E1 and 5-6d dial-peer pots pointing to
>>> FXOs so only specific destinations are routed via the FCTs.
>>> One of these dial-peers are like this:
>>>
>>> dial-peer voice 6000 pots
>>> destination-pattern 69123456
>>> prefix 69123456
>>> port 0/2/0
>>>
>>> and also:
>>>
>>> dial-peer voice 2 pots
>>> destination-pattern 6.......
>>> prefix 6
>>> port 0/3/0:15
>>>
>>> All seem to work well until cell phone with number 69123456 did not call the
>>> FCT number but the E1 number.
>>> Then, as the voip ccapi debug showed, the incoming number matched dial-peer
>>> 6000 and so the caller got dial-tone of the router instead of being routed
>>> to the console number (there is translation profile applied at the voice
>>> port which works fine for all other calling numbers that do not match any
>>> dial-peer)
>>>
>>> Could someone help one this?
>>>
>>> Thanks
>>> akoul
>>>
>>> _______________________________________________
>>> cisco-voip mailing list
>>> cisco-voip at puck.nether.net
>>> https://puck.nether.net/mailman/listinfo/cisco-voip
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>> _______________________________________________
>> cisco-voip mailing list
>> cisco-voip at puck.nether.net
>> https://puck.nether.net/mailman/listinfo/cisco-voip
>


More information about the cisco-voip mailing list