different context on each spam

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



However, Its a good idea if you put bi-furcation in the dialplan based on
the Inbound DIDs landing.

like :

exten => 7611,1,DoSomething
exten => 7612,2,DoSomethingelse

in the extensions.conf

Mitul Limbani

On Mon, Mar 12, 2012 at 7:57 PM, Mitul Limbani <mitul at enterux.com> wrote:

>
> Try the following below.
>
> Mitul Limbani
>
> On Mon, Mar 12, 2012 at 7:52 PM, Rafael Visser <visser.rafael at gmail.com>wrote:
>
>> Hi people.
>> Is there any way to set a different context on each spam, so i can
>> route to different application depending on what trunk came the
>> incoming call?.
>> In other word, if the call is received on first spam context=first ,
>> and if the call is received on the second, context=second.
>>
>>
>>
>> Here is my chan_dahdy.conf
>>
>> [trunkgroups]
>> trunkgroup => 1,16
>> spanmap => 1,1,1
>> spanmap => 2,1,2
>>
>>
>> [channels]
>> language=es
>> -------------------------> Removed from here
>>
>> group=1
>> echocancel=no
>> signalling=SS7
>> ss7type = itu
>> ss7_explictacm=yes
>> networkindicator=national
>> threewaycalling=yes
>> transfer=yes
>> canpark=yes
>> cancallforward=yes
>> callreturn=yes
>> facilityenable=yes
>> callwaiting=yes
>> ;usecallingpres=yes
>> inmediate=yes
>> jitterbuffers=4
>> jbenable = yes
>> jbmaxsize = 200
>> jbresyncthreshold = 1000
>> jbimpl = fixed ; or "adaptive"
>> jblog = no
>> linkset = 1
>> ;;AIMS2
>> pointcode = 2539
>> adjpointcode = 2500
>> defaultdpc = 2500
>> ;;1st E1
>> cicbeginswith = 1
>> sigchan = 16
>> channel=1-15
>> cicbeginswith = 17
>> channel = 17-31
>>
> *context=first*
>
>> ;;2nd E1
>> cicbeginswith = 33
>> channel = 32-46
>> ;sigchan = 47
>> cicbeginswith = 49
>> channel = 48-62
>>
> *context=second*
>
>>
>> Thanks in advance..
>> rv
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> asterisk-ss7 mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-ss7
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-ss7/attachments/20120312/93f0fdf3/attachment.htm>


[Index of Archives]     [Asterisk App Development]     [PJ SIP]     [Gnu Gatekeeper]     [IETF Sipping]     [Info Cyrus]     [ALSA User]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite Backpacking]     [Deep Creek Hot Springs]     [Yosemite Campsites]     [ISDN Cause Codes]     [Asterisk Books]

  Powered by Linux