[Asterisk-Users] Can contexts have wildcards too?

niels at wxn.nl niels at wxn.nl
Tue Oct 26 02:04:26 MST 2004


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?





More information about the asterisk-users mailing list