RE: OT: VOIP question

From: DBehrens@logosinc.com
Date: Tue Oct 10 2006 - 20:51:38 ART


Thomas,

I think we should take a step back and talk about dial-peer selection.
When selecting an incoming dial-peer, the router matches inbound
dial-peers in this order:

1) "incoming called-number" w/ called number (ANI)
2) "answer-address" w/ calling number (DNIS)
3) "destination-pattern" w/ calling number (DNIS)
4) "port" w/ incoming voice port

Outbound dial-peers are selected comparing Dialed Number against
"destination-pattern". The dialed number is automatically populated if
"directory-inward-dial" is configured on the incoming POTS dial peer or
if the incoming dial peer is VOIP.

So back to your example. If a PSTN user dials 1234 (assuming this is an
E.164 telephone number), the call gets routed to PRI and selects the
following incoming dial-peer:

dial-peer voice 2 pots
   incoming called-number .
   direct-inward-dial
   port 0/0/0:23

When selecting the outgoing dial-peer, the router will compare the
Called Number (DNIS) with the destination-pattern of other dial-peers.
It would choose example #1 that you wrote.

Got it?

Dennis
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Thomas
Sent: Tuesday, October 10, 2006 10:31 AM
To: Dusty; Hooman Parta
Cc: ccielab@groupstudy.com
Subject: Re: OT: VOIP question

Thak you for your reply.

I have read the links but still can't get why and when should I use the
incoming called-number or destination-pattern

For example, a caller from PSTN dials 1234, on the router that receive
this
call, I can have the configuration:

1. dial-peer voice 1 voip
         destination-pattern 1234
         session target ipv4:1.1.1.1
or

2. dial-peer voice 1 voip
            incoming called-number 1234
            session target ipv4:1.1.1.1

I think the result for both set of configuration is the same. So, what
is
the situation that I must use the incoming called-number command?

Thank you.

Thomas
----- Original Message -----
From: "Dusty" <dustygoody@gmail.com>
To: "Hooman Parta" <hooman@voipsol.com>
Cc: "Thomas" <thomascheung2003@hotmail.com>; <ccielab@groupstudy.com>
Sent: Tuesday, October 10, 2006 6:58 AM
Subject: Re: OT: VOIP question

> Yeah...These links are good. Basically, dial-peer with no restriction
will
> provide for both incomming and outgoing call. That is why you will ned
> called-number, destination pattern, and so forth... each of these
commands
> has its own precedence of one over the other.
>
> Dusty
>
>
> On 10/9/06, Hooman Parta <hooman@voipsol.com> wrote:
>>
>> Thomas,
>>
>> Check the following links. They explain it all.
>>
>>
>>
http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a0
08010ae1c.shtml
>>
>>
>>
http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a0
080147524.shtml
>>
>> HTH,
>> Hooman Parta
>>
>> Thomas wrote:
>>
>> Hi All,
>>
>> In a book I read the following description under a section "Matching
>> Inbound
>> Dial Peer":
>> 1. Inbound POTS dial peers are associated with the incoming POTS call

>> legs
>> of
>> the originating router or gateway.
>> 2. inbound VOIP dial peers are associated with the incoming VOIP call

>> legs
>> of
>> the terminating router or gateway.
>>
>> I don't understand their meaning and how they are related to the
sequence
>> matching inbound dial peer: incoming called-no, answer address and
>> destination
>> pattern?
>>
>> Please help to explain.
>>
>> Thank you very much.
>>
>> Regards,
>>
>> Thomas
>>
>>



This archive was generated by hypermail 2.1.4 : Wed Nov 01 2006 - 07:29:05 ART