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.

I have committed a fix for this in OpenSIPS trunk. Please update and let me know if everything is ok.


Regards,

--
Vlad Paiu
OpenSIPS Developer



On 07/14/2011 05:08 PM, Duane Larson wrote:
I am pretty much doing the following
if (method=="INVITE" && !has_totag() ) {
 if ( create_dialog("PpB") )
        {
xlog("L_INFO", "----- !*!*!*!**!*!*!*!*!**! Successfully created Dialog Pp");
        };
};
I will send you a personal email showing you what I am really doing.

On Thu, Jul 14, 2011 at 5:36 AM, Vlad Paiu <[email protected] <mailto:[email protected]>> wrote:

    Hello,

    How are you calling create_dialog() ? Could you maybe paste a
    snippet from the cfg file ?
    If should be called like
       create_dialog("Pp");
    to enable pinging.


    Regards,

-- Vlad Paiu
    OpenSIPS Developer



    On 07/13/2011 10:14 PM, osiris123d wrote:

        When the call is initially set up between the two clients
        should I see sip
        OPTIONS messages being sent to both clients every X seconds?
         I have this
        set up and I don't see any OPTIONS messages being sent at all
        during the
        duration of the good call.

        --
        View this message in context:
        
http://opensips-open-sip-server.1449251.n2.nabble.com/Dialog-Ping-tp6484704p6580315.html
        Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

        _______________________________________________
        Users mailing list
        [email protected] <mailto:[email protected]>
        http://lists.opensips.org/cgi-bin/mailman/listinfo/users




    _______________________________________________
    Users mailing list
    [email protected] <mailto:[email protected]>
    http://lists.opensips.org/cgi-bin/mailman/listinfo/users




--
--
*--*--*--*--*--*
Duane
*--*--*--*--*--*
--


_______________________________________________
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

Reply via email to