[asterisk-ss7] different context on each spam

Rafael Visser visser.rafael at gmail.com
Mon Mar 12 09:22:16 CDT 2012


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
context=ss7
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
;;2nd E1
cicbeginswith = 33
channel = 32-46
;sigchan = 47
cicbeginswith = 49
channel = 48-62


Thanks in advance..
rv



More information about the asterisk-ss7 mailing list