[Asterisk-Users] Routing by DID

Rene Kluwen rene.kluwen at chimit.nl
Thu Jul 21 18:13:31 MST 2005


This only works if you DONT have:

insecure=very

in your SIP section.

Rene Kluwen
Chimit

> In sip.conf you specify a context right?
>
> In extensions.conf, in that context, you route the call...
>
> exten => 12134441234,1,Dial(whatever)
>
>
>
> --On Thursday, July 21, 2005 11:30 AM -0600 "Olusoji (soji)  Oyenuga"
> <soji at mdci.ca> wrote:
>
>>
>> Hi,
>>
>> This is my setup;
>>
>> 1. PSTN ==> Cisco ==> Internet  ==> Asterisks  ==> Grandstream Phone
>> 2. Grandstream ATA =>SIP Proxy ==> Internet  ==> Asterisks  ==>
>> Grandstream Phone
>>
>> In both cases above when I dialed the DID (say)  1-213-444-1234 from
>> either the PSTN or Grandstream ATA the response I "see" on the asterisks
>> is  somthing like this below;
>>
>> "SIP/kkk.kkk.kkk.kkk-084cfc38"      ==> where kkk.kkk.kkk.kkk  is the IP
>> address on the Cisco or SIP Proxy
>>
>> I was actually expecting something like
>>
>> SIP/12134441234
>>
>> that will allow me the opportunity to route the incoming calls by DID to
>> different context base on each DID.
>>
>> How do I achieve this?
>>
>> -------------------------------------------------------------
>> Olusoji (Soji) Oyenuga
>> Senior VoIP Project Manager
>> Modern Digital Communications Inc
>> Phone:    1-306-683-2089
>> Email:    soji at mdci.ca
>> MSN:      sogi at mdci.ca
>> http://www.mdci.ca
>
>
>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>




More information about the asterisk-users mailing list