different context on each spam

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

 



Hi ,
              First map to all campaign to different different group  and
then set simple context=your context name
example
group=1
cicbeginswith = 1
sigchan = 16
channel=1-15
cicbeginswith = 17
channel = 17-31
context=your context name
group=2
cicbeginswith = 33
channel = 32-46
;sigchan = 47
cicbeginswith = 49
 channel = 48-62
context= your second context
              Try it's work 100%.

On Tue, Mar 13, 2012 at 12:08 AM, Rafael Visser <visser.rafael at gmail.com>wrote:

> Thanks, it works.
> rv
>
> 2012/3/12 Mitul Limbani <mitul at enterux.com>:
> > 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
> >>
> >>
> >
> >
> > --
> > _____________________________________________________________________
> > -- 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
>
> --
> _____________________________________________________________________
> -- 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
>



-- 
BIPIN RAGHUVANSHI
OPERATION HEAD
ASTERISK (DEVELOPMENT AND RESEARCH)
WWW.EHORIZONS.IN
011-32323262
011-46334633
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-ss7/attachments/20120314/8d2accda/attachment-0001.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