Hi guys,
Let's say my current opensips application is reponsible for finishing a
call if the session is not refreshed by the endpoints. At that point what
we do is to send BYE messages to both legs and get the 200OK from them to
finish the dialog.
My question is, is it possible to trace those BYE
Hi Douglas,
Indeed, that's an interesting case - have you tried to call sip_trace()
from local route when the BYEs are sent out ?
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 01/24/2013 01:00 PM, Douglas Lopes Pereira wrote:
Hi guys,
Let
Hi Bogdan,
thanks for the quick reply.
Unfortunatelly the BYE messages are sent by the dlg_end_dlg (triggered on
dlg_ontimeout) so I believe we don't have a chance to call sip_trace() from
any local route. Do we?
Regards,
Douglas
On Thu, Jan 24, 2013 at 10:24 AM, Bogdan-Andrei Iancu
wrote:
>
Douglas, all internally generated requests (including the ones from
dlg_end_dlg ) are visible in local_route.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 01/24/2013 02:48 PM, Douglas Lopes Pereira wrote:
Hi Bogdan,
thanks for the quick re
Fantastic! I didn't know about local_route. I'm now able to log using
sip_trace().
Thank you very much.
Regards,
Douglas.
On Thu, Jan 24, 2013 at 10:50 AM, Bogdan-Andrei Iancu
wrote:
> **
> Douglas, all internally generated requests (including the ones from
> dlg_end_dlg ) are visible in local
Guys,
I was able to trace BYE messages after a session expires by adding the
sip_trace() function call on local_route as suggested by Bogdan. But
unfortunatelly I just realize that the 200OK reply for those messages are
not logged.
I tried adding a call back for TMCB_RESPONSE_IN on sip_trace for
Just managed to achieve that by using the onreply_route and sip_trace()
function.
Thanks for your attention.
Regards,
Douglas
On Fri, Jan 25, 2013 at 2:56 PM, Douglas Lopes Pereira <
douglaslopespere...@gmail.com> wrote:
> Guys,
>
> I was able to trace BYE messages after a session expires by a
Hi Douglas,
I agree that something like this should be doable in a simpler way -
once you do the trace_dialog() or sip_trace() is should cover the local
route also - I will create a ticket for future improvements on this.
Thanks and regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer