Re: [asterisk-dev] chan_sip and early media

2017-05-04 Thread Valter Nogueira
should be made in that part of the chan_sip.c code. > > Att, > Rafael Prado Rocchi > > > > ORIGINAL MESSAGE > FROM: Valter Nogueira [val...@fastway.com.br]; > TO: Asterisk Developers Mailing List [asterisk-dev@lists.digium.com]; > SUBJECT: [asterisk-dev] c

Re: [asterisk-dev] chan_sip and early media

2017-05-02 Thread Valter Nogueira
I am using AMI to originate Action: Originate Channel: SIP/5511996175361@UPVOX Context: FD_106_010_INICIO Earlymedia: 1 ActionID: CALL_42240 Exten: s Priority: 1 Async: 1 Timeout: 55000 Context FD_106_010_INICIO starts an FASTAGI program which starts an app that just waits for*

Re: [asterisk-dev] chan_sip and early media

2017-05-02 Thread
Valter,you must drop the early-media call on the dial application, not directly in chan_sip.cNo change should be made in that part of the chan_sip.c code.Att,Rafael Prado Rocchi ORIGINAL MESSAGE FROM: Valter Nogueira [val...@fastway.com.br]; TO: Asterisk Developers Mailing List

Re: [asterisk-dev] chan_sip and early media

2017-05-02 Thread Joshua Colp
On Tue, May 2, 2017, at 06:47 PM, Valter Nogueira wrote: > I am originating call using early media option. > > Whe I issue a hangup (like in hangup request sip/...) before the b-leg > answer, it don't send a SIP CANCEL and the call keeps going on. > > I figured out that it is happening due to

[asterisk-dev] chan_sip and early media

2017-05-02 Thread Valter Nogueira
I am originating call using early media option. Whe I issue a hangup (like in hangup request sip/...) before the b-leg answer, it don't send a SIP CANCEL and the call keeps going on. I figured out that it is happening due to sip_hangup() checks: * if (p->invitestate < INV_COMPLETED &&