On Wed, 2004-07-28 at 03:07, Altus Snyman wrote: > What about outgoing > How do I tell it all sales,sip 100+, to go out threw vpb card's channel > and all admin,sip 200+ to go threw zaptel? > Thanks for the help so far
You also do this through contexts. In your sip.conf you assign a context to each phone like so: [sip100] type=friend username=sip100 secret=XXXXXXX callerid="Buckaroo Bonzai" <100> host=dynamic context=sales <------- /* right here */ [EMAIL PROTECTED] Then in your extentions.conf you would have: [sales] ignorepat => 9 exten => _91NXXNXXXXXX,1,Dial(Zap/1/${EXTEN:1}) <---- /* use the zap */ exten => _91NXXNXXXXXX,2,Congestion The above example would allow the sales people to dial 9 to dial a long distance number on the Zaptel card. The context you use for admin would explicitly use the vpb card instead. -Seth -- Seth Remington SaberLogic, LLC 661-B Weber Drive Wadsworth, Ohio 44281 Phone: (330)335-6442 Fax: (330)336-8559 _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users