Hi Vlad, I'll also take look at capturing outgoing BYE's, this sounds even better.
I want a event based method, so the output of the dlg_list command is not the best option in my opinion as i have to periodically query and parse the output. Steven On 20 sep 2011, at 19:01, Vlad Paiu wrote: > Hello, > > Ok, I understand. But what do you do when the end-party does not reply to the > ping. The dialog will be terminated, but you will have no reply to capture > for the ping, so it seems to me that your approach of capturing the reply > would not work for such a scenario.. > > In the end, why not rely on the actual dialog statistics exported by the > dialog module ? Or on the output of the dlg_list MI command ( if state=5 or > does not appear anymore, it means that the dialog has been terminated, either > normally or from the middle, by OpenSIPS ) ? > > If you need to only capture the dialogs terminated explicitly by OpenSIPS > from the middle, you can capture the BYEs on the local_route.. > > Regards, > > Vlad Paiu > OpenSIPS Developer > > > On 09/20/2011 07:54 PM, Steven Lam, KeenSystems B.V. wrote: >> Hi Vlad, >> >> Thank you for your anwer. I'll check to see if only capturing the outgoing >> OPTIONS will work for me.. >> What i am trying to accomplish is to notify a external systems (using perl) >> what dialogs are still active.. >> >> Steven >> >> On 20 sep 2011, at 18:31, Vlad Paiu wrote: >> >>> Hello Steven, >>> >>> No, there is currently no way to capture the replies to the in-dialog >>> pings... >>> What are you trying to accomplish ? If it helps, you can only capture the >>> outgoing Options messages, inside the local_route... >>> >>> Regards, >>> >>> Vlad Paiu >>> OpenSIPS Developer >>> >>> >>> On 09/20/2011 07:30 PM, Steven Lam, KeenSystems B.V. wrote: >>>> Hi all, >>>> >>>> Is there a way to get the replies to a "in-dialog ping" generated by the >>>> dialog module through a onreply_route routing block? >>>> >>>> I'm using OpenSIPS 1.7.0... >>>> >>>> Thanks! >>>> >>>> Steven >>>> _______________________________________________ >>>> Users mailing list >>>> [email protected] >>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >>> _______________________________________________ >>> Users mailing list >>> [email protected] >>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >>> >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
