[Asterisk-Users] channel configuration
Chad Scott
chad at idworld.net
Tue Oct 26 08:21:38 MST 2004
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: <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
>
> _______________________________________________
> 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