[Asterisk-Users] Remember the incoming context?

Christian Gröger mail at christiangroeger.de
Tue Apr 18 16:43:34 MST 2006


I thought this was Local/number at context

If the number is unique in your configuration, and the context is 
already included somehow in your default-context, you can just do a 
Local/number, give it a try

Edwin Groothuis wrote:

>Greetings,
>
>Somewhere on my asterisk system, a calls come in in a certain
>context, for example, from-sip or from-pstn.
>
>Then the calls gets routed through the dialplan, and a macro gets
>called, and another one and then the call needs to be redirected
>to another number in the same initial context. And you can use
>Dial(Local/number/initialcontext) for that.
>
>Oops, this initial context is lost somewhere on the line.
>
>Unless I'm very mistaken, there is no way to find out what the
>original context was, is there?
>
>Edwin
>
>  
>




More information about the asterisk-users mailing list