Re: [OpenSIPS-Devel] [opensips] Opensips does not publish states after restart (#240)

2014-07-03 Thread Artem Chalkov
@bogdan-iancu i checked again as you say (with additional debug trigger on 
__dialog_loaded() function) and still don't see any output with 
__dialog_loaded() in log with debug=4. I think that function doesn't work.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/240#issuecomment-47875812___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] Opensips does not publish states after restart (#240)

2014-07-02 Thread Artem Chalkov
ok, i'll give you result a bit later.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/240#issuecomment-47776353___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] Opensips does not publish states after restart (#240)

2014-07-01 Thread Bogdan Andrei IANCU
But did you add some log messages in the __dialog_loaded() function ? by 
default is not logging anything. Add something like:
 LM_DBG(being triggered\n);

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/240#issuecomment-47669006___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] Opensips does not publish states after restart (#240)

2014-05-29 Thread Bogdan Andrei IANCU
Do you use DB persistence for dialogs ? Do you see the dialogs as being 
restored after OpenSIPS restart ?
The pua_dialoginfo module is registering a callback ( __dialog_loaded() ) for 
the DLGCB_LOADED event (when a dialog is loaded from DB) - and in this callback 
the module restores the callback on the dialog (the dlg values are 
automatically restored by the dialog module).
With some simple debug logs, please check if the __dialog_loaded() callback is 
triggered on load and if, sequentially, the rest of the dialog related 
callbacks ( __dialog_sendpublish() ) are triggered in the module.

Thanks, Bogdan

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/240#issuecomment-44552265___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [opensips] Opensips does not publish states after restart (#240)

2014-05-21 Thread Artem Chalkov
I init publishing by dealoginfo_set(), then establish call and after that i 
restart opensips.
In this case, if i end call (established before restart) by BYE request, 
opensips does not publishes anything.

params:

...

modparam(pua_dialoginfo, include_callid, 1)
modparam(pua_dialoginfo, include_tags, 1)
modparam(pua_dialoginfo, include_localremote, 1)
modparam(pua_dialoginfo, caller_confirmed, 0)
modparam(pua_dialoginfo, publish_on_trying, 1)
modparam(pua_dialoginfo, presence_server, sip:PRES_SRV)

...

opensips 1.11 latest git commit

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/240___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel