Re: [asterisk-users] AGICommand_exec remove my double quotation

2017-05-03 Thread Lợi Đặng
sr guys, but I found it out, commands like SET VARIABLE also have the same problem, strip off my quotations. solution is to escape the quotation with double slash \\. *EXEC CELGenUserEvent DIAL_DATA,abc\\"xyz.* It has been noted in res_agi.c rgds, Loi Dang On Wed, May 3, 2017 at 2:36 PM Lợi

[asterisk-users] AGICommand_exec remove my double quotation

2017-05-03 Thread Lợi Đặng
Good day, guys As the subject, I'm sending this command for executing CELGenUserEvent via AGI *EXEC CELGenUserEvent DIAL_DATA,abc"xyz* in asterisk cli with agi debug mode, I see that I successfully sent my param *abc"xyz *to asterisk, but it removes my double quotation in collecting the options to

Re: [asterisk-users] codec negotiation or transcoding issue

2017-03-15 Thread Lợi Đặng
Asterisk might be unable to transcode rtp type from downstream to upstream, or vice versa. There's a bug reported here, for asterisk 12 or above, using chan_sip. https://issues.asterisk.org/jira/browse/ASTERISK-25676 It says that you could avoid the bug by using chan_pjsip, but you still encounter