Hello Ron,<br>Thanks for your response. Now I'm able to start and destroy dialog properly. But I guess dialog timer is reset when openser receives "Update" message. I looked in dialog and sst module codes and found that they rely on UA to send "Update" message periodically to keep the dialog active. I dont think it is good idea to rely on clients as all clients may not be sending "UPDATE" messages after call is established. Correct me if I'm wrong. Also I think that I may have to change source code of dialog or sst to send bye if any UA is broken and can't send "Bye" in case of dialog timeout.
<br><br><div><span class="gmail_quote">On 1/2/07, <b class="gmail_sendername">Ron Winacott</b> <<a href="mailto:ronw@somanetworks.com">ronw@somanetworks.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Tuesday 26 December 2006 6:20 am, Asterisk Expert wrote:<br>> Hello,<br>> I am currently trying to do accurate billing with openser. I found that<br>> dialog and sst modules can be used to determine failed transactions.
i.e.<br>> If UA crashed and no BYE received at all. I tried to configure dialog and<br>> sst modules as specified in the documentation. But active dialogs keep<br>> incrementing even after hangup. It would be nice if someone can post a good
<br>> example. I am using cvs head of openser.<br><br>I will take a look at the SST code, this sounds like a bug. There has been a<br>great deal of change in the dialogs, and stats lately and something could<br>have gotten by me.
<br><br>your script looks like it should work, the only thing is the<br>avp_write("15", "$avp(i:10)"); Why a 15 second dialog timeout, what is the<br>SST refresh time? 15 seconds is too short.<br><br>ronw
<br><br>--<br>Ron Winacott - SOMA Networks, Inc.<br>Work: 1-416-348-1580 - <a href="mailto:ronw@somanetworks.com">ronw@somanetworks.com</a><br><br>---<br>A bad xhost is a good thing to waste, here have a cookie!<br> -- Brian Onn
<br><br></blockquote></div><br><br clear="all"><br>-- <br>Regards<br>Asterisk Expert