Use Goto(context, extension, priority).
So, for instance:
[sip-inbound]
whatever-extension-used-inbound => Goto(other-context, other-extension, 1)
Hope that helps.
On Oct 25, 2004, at 11:34 AM, spkao wrote:
Hi,
Does anyone know if there is a way to have a sip or iax inbound call dial an
extension automatically, sort of like the "immediate" option for a zap
channel?
Thx. ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 26, 2004 5:04 PM Subject: [Asterisk-Users] Can contexts have wildcards too?
In my sip.conf or iax.conf I like to set a user or friend to the following context
[User0001] context=outbound0001
[User0002] context=outbound0002
Then I extensions I would like to capture this with only one context, doing something with the last 4 digits
I mean something like this:
[outbound.] Exten => _.,1,Dial(SIP/${CONTEXT:8})
Or
[outboundXXXX] Exten => _.,1,Dial(SIP/${CONTEXT:8})
Is this possible?
Or, are there any other possibilities to send some digits to the context
from within sip.conf or iax.conf?
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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