[asterisk-bugs] [JIRA] (ASTERISK-23583) Set Asterisk App - Context gets changed to value of "Set" variable

Matt Jordan (JIRA) noreply at issues.asterisk.org
Mon Apr 7 09:14:18 CDT 2014


    [ https://issues.asterisk.org/jira/browse/ASTERISK-23583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=217051#comment-217051 ] 

Matt Jordan commented on ASTERISK-23583:
----------------------------------------

Thank you for reporting this issue.

You should be aware that {{pbx_realtime}} is an extended support module. As such, development support for it typically comes from the Asterisk developer community. Resolution times of this issue may reflect that.

> Set Asterisk App - Context gets changed to value of "Set" variable
> ------------------------------------------------------------------
>
>                 Key: ASTERISK-23583
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23583
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 11.9.0
>            Reporter: Jay Jideliov
>
> When using Set Asterisk application in realtime dialplan, the context gets the value of the "Set" variable.
>  
> Not working:
> {noformat}
>   id	context	exten	priority	app	     appdata
>  1   cont1   1011     1         Set   MYVAR=SOMEVAL
>  2   cont1   1011     2         NoOp     ${MYVAL} 
>  {noformat}
> Working
>  {noformat}
>  id	context	exten	priority	app	     appdata
>  1   cont1   1011     1         Set   MYVAR=SOMEVAL
>  2   SOMEVAL   1011     2       NoOp     ${MYVAR} 
>  {noformat}
>  
> Debug:
>  {noformat}
>  Executing [schedule at dynamic-context:9] Set("SIP/comp.device-1766-0000002d", "DYNAMIC_CONTEXT=Schedule1419Start")
> [2014-04-03 15:52:56] DEBUG[5547][C-0000002c]: pbx.c:3671 ast_str_retrieve_variable: Result of 'DYNAMIC_CONTEXT' is 'Schedule1419Start'
> [2014-04-03 15:52:56] DEBUG[5547][C-0000002c]: res_config_odbc.c:93 custom_prepare: Skip: 0; SQL: SELECT * FROM asterisk_db_extensions WHERE exten = ? AND context = ? AND priority = ?
> [2014-04-03 15:52:56] DEBUG[5547][C-0000002c]: res_config_odbc.c:109 custom_prepare: Parameter 1 ('exten') = 'schedule'
> [2014-04-03 15:52:56] DEBUG[5547][C-0000002c]: res_config_odbc.c:109 custom_prepare: Parameter 2 ('context') = 'Schedule1419Start'
> [2014-04-03 15:52:56] DEBUG[5547][C-0000002c]: res_config_odbc.c:109 custom_prepare: Parameter 3 ('priority') = '10'
> [2014-04-03 15:52:56] DEBUG[5547][C-0000002c]: res_odbc.c:1058 odbc_release_obj2: odbc_release_obj2(0x271f458) called (obj->txf = (nil))
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list