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-07-01 Thread Artem Chalkov
@bogdan-iancu yes, dialogs are DB-persistent. I use db_mode = 1 for "dialog" 
module.
After restart opensips, i don't see "__dialog_loaded()" in log with debug=4.


---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/240#issuecomment-47657662___
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