Daniel Nyström
2005-Feb-03 08:15 UTC
[Asterisk-Users] Individual contexts pending on Caller-ID?
Hi! Is it possible to handle incoming calls with different contexts pending on the callerid ? E.g. like you are able to define different contexts on each Zap-channel. Thanks!
Andrew Thompson
2005-Feb-03 09:40 UTC
[Asterisk-Users] Individual contexts pending on Caller-ID?
Daniel Nystr?m wrote:> Hi! Is it possible to handle incoming calls with different contexts pending on the callerid ? > E.g. like you are able to define different contexts on each Zap-channel.Just dump all the calls to a "sorter" context, and build your rules there. Either type in all the relavent telephone numbers, or use a database lookup tool. The last command ran here would be: Goto(<VARIABLE_HOLDING_CONTEXT_NAME>, 1) -- Andrew Thompson http://aktzero.com/ http://dev.asteriskdocs.org/
B. J. Bomar
2005-Feb-03 10:37 UTC
[Asterisk-Users] Individual contexts pending on Caller-ID?
Indirectly. You can use the "ex-girlfriend" feature to route the calls differently. The following is a simple example. exten => s/5551234,1,Goto(context1,s,1) exten => s/5555678,1,Goto(context2,s,1) exten => s,1,Goto(default,s,1) I hope that helps you out. B. J. -----Original Message----- From: Daniel Nystr?m [mailto:daniel.nystrom@westel.se] Sent: Thursday, February 03, 2005 9:16 To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Individual contexts pending on Caller-ID? Hi! Is it possible to handle incoming calls with different contexts pending on the callerid ? E.g. like you are able to define different contexts on each Zap-channel. Thanks!