Hello,

Indeed, if you set the default_timeout parameter, but don't set the 'B' flag when calling create_dialog(), the dialog will be internally terminated ( removed from memory, CDR will be written , etc ) but no BYEs will be sent at all.

If you want BYEs to be triggered in both directions when the timeout occurs, call the create_dialog("B") function. So in short, yes, you are on the right track :)

Best Regards,
Vlad

On 5/1/2013 5:58 PM, Kneeoh wrote:
I have an odd occurrence and I want to know if I'm on the right track. I have a dialog 
default_timeout set to 10818 to catch and kill any long calls. The behavior I'm seeing in some 
cases is that if the UA is sending regular UPDATEs or Re-INVITEs my acc record will show the call 
ending at 10818 seconds, however the SIP trace shows the call actually lasts longer and I can see 
the BYE from the UA well after the dialog default_timeout. I THINK it's because I don't have a 
create_dialog("B"); Set anywhere in my script. This being the case, does this behavior 
sound correct? And would I be able to solve this by inserting the create_dialog("B"); in 
my script? Based on the dialog docs for OpenSIPS 1.8.1 in section 1.6.1 it sounds like it will, and 
send a BYE in both directions. Am I on the right track with this? Thanks in Advance.

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to