[asterisk-users] Source Based Call Routing
Ron Arts
ron.arts at neonova.nl
Wed Jan 30 01:25:54 CST 2008
Daniel,
attach a dialplan variable to each extension using setvar
in sip.conf:
[6318]
type=friend
username=6318
secret=xxxxxx
host=dynamic
nat=no
dtmfmode=rfc2833
qualify=0
amaflags=billing
disallow=all
allow=alaw
allow=ulaw
canreinvite=no
context=phone
setvar=__usetrunk=1
you can use the ${usetrunk} variable in your dialpan.
Ron
Daniel Cole wrote:
> Hi List,
>
> I have a scenario that I want to try out (we potential have a client who would need this), but I am as of yet unable to find much help with it.
>
> What we want to do is have an asterisk box with a large number of extensions (1000+). This asterisk box will have approximately 3 SIP trunks setup back to providers. What we want to do is to be able to define groups of extensions that use specific outbound trunks.
>
> Approximately a third of the extensions will one the first trunk, a third the second trunk, and the rest will use the last trunk. We also need control over assigning with trunks the given extensions will use.
>
> Any suggestions on how to get this to work would be very much appreciated.
>
>
> Many Thanks,
>
> Daniel
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3295 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20080130/9a5bd7fa/attachment.bin
More information about the asterisk-users
mailing list