Re: [asterisk-users] Outbound T.38 via RTP with pjsip does not work as expected

2017-05-03 Thread Michael Maier
On 04/06/2017 at 08:33 PM Joshua Colp wrote:
> On Thu, Apr 6, 2017, at 03:15 PM, Michael Maier wrote:
>> Hello!
>>
>> I'm trying to send a fax via T.38 to a destination, which should be T.38
>> capable. My provider supports T.38, too. Unfortunately, it doesn't work.
>> This means:
>>
>> Call is started and SDP is negotiated w/ alaw. Callee sends reinvite -
>> for alaw again (and not for T.38)!! After about 30s, callee hangs up
>> because of missing data (this is true, because I don't send alaw coded
>> fax data.
>>
>> Tracing the signaling shows, that the callee doesn't have any
>> possibility to recognize, if I'm supporting T.38, because it is never
>> sent during Invite process.
>>
>> I'm missing the media feature tag sip.fax in the contact header. Did I
>> miss some configuration?
> 
> This is not currently supported in either chan_sip or chan_pjsip.
> There's no configuration which will enable it. It would need to be
> written. Have you confirmed this is what is needed by them?

It turned out, that there is a  third provider in between, which doesn't
support T.38 ... .


Thanks,
Michael

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  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


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 Đặng  wrote:

> 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 execute
> cli:
>
> *AGI Rx << EXEC CELGenUserEvent
> DIAL_DATA,abc"xyz-- AGI Script Executing Application: (CELGenUserEvent)
> Options: (DIAL_DATA,abcxyz)*
>
> It leads to wrong data generated.
> I tried other commands like *SET VARIABLE, *but my quotations don't get
> removed. Single quotations are not removed in AGICommand_exec as well.
>
> I'm not sure what I missed, helps are appreciated.
> rgds,
> Loi Dang
>
>
>
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  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

[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 execute
cli:

*AGI Rx << EXEC CELGenUserEvent
DIAL_DATA,abc"xyz-- AGI Script Executing Application: (CELGenUserEvent)
Options: (DIAL_DATA,abcxyz)*

It leads to wrong data generated.
I tried other commands like *SET VARIABLE, *but my quotations don't get
removed. Single quotations are not removed in AGICommand_exec as well.

I'm not sure what I missed, helps are appreciated.
rgds,
Loi Dang
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  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