[Asterisk-Users] channel configuration
spkao
spkao at morcell.com
Mon Oct 25 11:34:57 MST 2004
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: <niels at wxn.nl>
To: <asterisk-users at lists.digium.com>
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
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list