[OpenSIPS-Users] Dialog Ping

Vlad Paiu vladpaiu at opensips.org
Thu Jul 14 16:55:46 CEST 2011


Hello Brett,

In 1.6.x the dialog could have also been created by setting a flag from 
the script, but this was dropped in 1.7.0.

Quite a few modules used the Dialog internal API to create dialogs on 
their own, like trace_dialog() in Siptrace, engage_rtp_proxy() in 
RTPProxy, or even the ACC module when generating CDRs.

The latest commit should fix all of these issues, where the dialog was 
created internally by a function called from the script, and pinging or 
automatic timeout would have been skipped.


Regards,

-- 
Vlad Paiu
OpenSIPS Developer



On 07/14/2011 05:43 PM, Brett Nemeroff wrote:
> On Thu, Jul 14, 2011 at 9:34 AM, Vlad Paiu <vladpaiu at opensips.org 
> <mailto:vladpaiu at opensips.org>> wrote:
>
>     Hello Duane,
>
>     Just took a look at your config.
>     What was happening is that you were first calling trace_dialog(),
>     which creates the dialog structure internally. When the call to
>     create_dialog("PpB") came later on, it already found that the
>     dialog was created and did not set the needed flags for pinging.
>
>
> Nice catch here...
>
> Are there any other "automatic dialog creation" methods that might 
> interfere with the dialog creation flags being set?
>
> -Brett
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110714/d3e07b26/attachment.htm>


More information about the Users mailing list