[asterisk-bugs] [JIRA] (ASTERISK-20589) eswitch not substitute variables

Rusty Newton (JIRA) noreply at issues.asterisk.org
Wed Nov 7 17:32:21 CST 2012


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

Rusty Newton commented on ASTERISK-20589:
-----------------------------------------

sybasesql, please remove the debug and attach as separate files to the issue. https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines

The issue has been acknowledged and being that it's most likely in pbx_realtime (under extended support) it will be up to the community to investigate the issue.

Thanks!
                
> eswitch not substitute variables
> --------------------------------
>
>                 Key: ASTERISK-20589
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20589
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: PBX/pbx_realtime
>    Affects Versions: 1.8.16.0
>         Environment: OS: CentOS 5.5 x86_64
> Asterisk: Asterisk 1.8.16.0 x86_64
>            Reporter: sybasesql
>            Assignee: Matt Jordan
>
> eswitch not substitute variables (${CDR(accountcode)}=100 in this example):
> [out]
> eswitch => Realtime/${CDR(accountcode)}-out@
> and when I dialed 101 extension I got INCORRECT SQL in PostgreSQL (through odbc):
> LOG:  statement: SELECT * FROM asterisk.extensions WHERE exten = E'101' AND context = E'-out' AND priority = E'1'
> but if I add any function before eswitch calling variables substitution occured:
> [out]
> exten => _X.,1,NoOp(out)
> eswitch => Realtime/${CDR(accountcode)}-out@
> and when I dialed 101 extension I got CORRECT SQL in PostgreSQL (through odbc):
> LOG:  statement: SELECT * FROM asterisk.extensions WHERE exten = E'101' AND context = E'100-out' AND priority = E'2'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list