| |||||||||||||||||||||||||||||||
|
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 _______________________________________________ -- 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
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com