On Mon, 21 Mar 2005 11:17:04 -0300, Ezequiel Colombo ecolombo@arcotel.net wrote:
Hi, are you using end_media_session() on receive of non-sucessfull reply ?
Yes, I am doing ... but there wasnt any non-successfull reply in the scenario mentioned. Also, mediaproxy does terminate the session based on Call-ID (correct me if I am wrong) and it terminates the session completely, ignoring branches.
Exist a 487 (Request Cancelled) non-sucessfull response to the CANCEL that can trigger end_media_proxy(). Also if you exec end_media_proxy() at CANCEL it close the relay of audio at all.
I think that mediaproxy terminate the session completely including the session stablished at answer from one of your branches, please try to comment end_media_proxy() at CANCEL and/or non-sucessfull to see what happens.
----- Original Message ----- From: "Enthu" enthuster@gmail.com To: serusers@lists.iptel.org; "Ezequiel Colombo" ecolombo@arcotel.net Sent: Monday, March 21, 2005 11:31 AM Subject: Re: [Serusers] Mediaproxy and parallel forking
| On Mon, 21 Mar 2005 11:17:04 -0300, Ezequiel Colombo | ecolombo@arcotel.net wrote: | > Hi, are you using end_media_session() on receive of non-sucessfull reply ? | | Yes, I am doing ... but there wasnt any non-successfull reply in the | scenario mentioned. Also, mediaproxy does terminate the session based | on Call-ID (correct me if I am wrong) and it terminates the session | completely, ignoring branches. |
On Mon, 21 Mar 2005 12:43:11 -0300, Ezequiel Colombo ecolombo@arcotel.net wrote:
Exist a 487 (Request Cancelled) non-sucessfull response to the CANCEL that can trigger end_media_proxy().
Yes, I ran into this trouble. I removed end_media_proxy for error responses. After this, mediaproxy shows idle session on one end ( which was always the party that sent 180 with sdp ) and active session on the calling end.
Also if you exec end_media_proxy() at CANCEL it close the relay of audio at all.
I think that mediaproxy terminate the session completely including the session stablished at answer from one of your branches, please try to comment end_media_proxy() at CANCEL and/or non-sucessfull to see what happens.
Yes. I noticed it sometime back and removed end_media_proxy for CANCEL as the mediaproxy stores the session by callid and hence cannot identify individual branches.