[asterisk-users] Get context with hangup handler

Eric Wieling ewieling at nyigc.com
Thu Jan 6 00:16:57 CST 2022


This might not help, but you don't have to use different contexts when 
using GoSub, here is an example:  https://pastebin.com/ftwWwpKt

On 1/5/22 22:22, Dovid Bender wrote:
> Steve,
> 
> I thought of this but that would mean I would need to add this to the 
> beginning of every context which I can do, but I was trying to avoid.
> 
> 
> On Wed, Jan 5, 2022 at 10:06 PM Steve Edwards <asterisk.org at sedwards.com 
> <mailto:asterisk.org at sedwards.com>> wrote:
> 
>     On Wed, 5 Jan 2022, Steve Edwards wrote:
> 
>      >       same = n,                       set(LAST-CONTEXT=${context}
> 
>     Double damn. I munged the case on ${CONTEXT}. I give up for today :)
> 
>     -- 
>     Thanks in advance,
>     -------------------------------------------------------------------------
>     Steve Edwards sedwards at sedwards.com <mailto:sedwards at sedwards.com> 
>          Voice: +1-760-468-3867 PST
>     https://www.linkedin.com/in/steve-edwards-4244281
>     <https://www.linkedin.com/in/steve-edwards-4244281>
> 
>     -- 
>     _____________________________________________________________________
>     -- Bandwidth and Colocation Provided by http://www.api-digital.com
>     <http://www.api-digital.com> --
> 
>     Check out the new Asterisk community forum at:
>     https://community.asterisk.org/ <https://community.asterisk.org/>
> 
>     New to Asterisk? Start here:
>     https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>     <https://wiki.asterisk.org/wiki/display/AST/Getting+Started>
> 
>     asterisk-users mailing list
>     To UNSUBSCRIBE or update options visit:
>     http://lists.digium.com/mailman/listinfo/asterisk-users
>     <http://lists.digium.com/mailman/listinfo/asterisk-users>
> 
> 

-- 
http://help.nyigc.net/



More information about the asterisk-users mailing list