[OpenSIPS-Users] [db_berkeley] Can't reload data to berkeley after opensips running

2010-03-28 Thread liuf
Hello List, I'm trying to use db_berkeley module. I can reload data to berkeley by using command "./sbin/opensipsdbctl bdb append dialplan /path/dialplan-data-file". But after opensips running, I can not reload data. It gives me following error: db_load: configured environment flags incompatibl

[OpenSIPS-Users] 答复: [load_balancer] lb_ disable() cannot be used in onreply route block

2010-03-26 Thread liuf
Hi, I really catch the 408 event in failure route by t_check_status(). Thank you for your help! Best Regards, Liu fan _ 发件人: Bogdan-Andrei Iancu [via OpenSIPS (Open SIP Server)] [mailto:ml-node+4796810-797783194-419...@n2.nabble.com] 发送时间: 2010年3月25日 18:43 收件人: liuf

[OpenSIPS-Users] [load_balancer] lb_disable() cannot be used in onreply route block

2010-03-24 Thread liuf
Hell All: I tried load_balancer module, when received 408 in onreply route block, I cannot use lb_disable to mark this unavailble destination. Let lb_disable can be used in onreply route block, is this idea correct? Thanks! Best regards! -- View this message in context: http://n2.nabble.com/

Re: [OpenSIPS-Users] [dialog] Can't fetch data in 200 reply route of BYE

2010-03-11 Thread liuf
Thanks a lot. You're very professional. Best Regards, Liu Fan -- View this message in context: http://n2.nabble.com/dialog-Can-t-fetch-data-in-200-reply-route-of-BYE-tp4699883p4720817.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___

Re: [OpenSIPS-Users] [dialog] Can't fetch data in 200 reply route of BYE

2010-03-10 Thread liuf
Yes, you are right. They're the same. Had this bug been fixed yet? It seems still open now. Best Regards, Liu Fan -- View this message in context: http://n2.nabble.com/dialog-Can-t-fetch-data-in-200-reply-route-of-BYE-tp4699883p4713459.html Sent from the OpenSIPS - Users mailing list archive

Re: [OpenSIPS-Users] db_berkeley append

2010-03-10 Thread liuf
Thanks. Base svn revision 6624, I check files in db_berkeley/opensips/ again. I found the files which have no METADATA_KEY value as below: dialplan dr_gateways dr_groups dr_rules globalblacklist nh_sockets userblacklist maybe you need fix them also. -- View this message in cont

Re: [OpenSIPS-Users] db_berkeley append

2010-03-09 Thread liuf
I know this source directory, I have read all file in this directory before. Can I put another question? I found in SOURCE/scripts/db_berkeley/opensips, only load_balancer file has no METADATA_KEY info, is it right? Because refer to document http://www.opensips.org/html/docs/modules/1.6.x/db_b

Re: [OpenSIPS-Users] [dialog] Can't fetch data in 200 reply route of BYE

2010-03-09 Thread liuf
I'm sorry. My real question is about where to set dialog pointer to the new transaction of sequential request, so that opensips can retrieve the correct dialog pointer in the correspond reply. My actions as below, please help me check: 1. I used fetch_dlg_value function in onreply_route, when op

Re: [OpenSIPS-Users] [dialog] Can't fetch data in 200 reply route of BYE

2010-03-09 Thread liuf
My actions as below, please help me check: 1. I used fetch_dlg_value function in onreply_route, when opensips received 100/200 reply of INVITE, I can get dialog stored value, but in 200 reply of BYE, I can't get any data. 2. First, I found opensips had not get dialog pointer in w_fetch_dlg_value

[OpenSIPS-Users] [dialog] Can't fetch data in 200 reply route of BYE

2010-03-08 Thread liuf
When I used fetch_dlg_value to get data in 200 reply route of BYE, it always empty. I read some source about dialog module, I had discovered some possible mistakes in function dlg_onreq() (file dlg_handles.c)(svn rev 6658)(2010-03-08) When opensips receive 'BYE', current_dlg_pointer must be not

[OpenSIPS-Users] db_berkeley append

2010-02-25 Thread liuf
I'm trying to use db_berkeley module. When I want to append some data rows to table 'load_balancer', I have confused with the command 'opensipsdbctl bdb append '. How can I form the ? My tried datafile as below. datafile_example_1 === METADAT

Re: [OpenSIPS-Users] storing and accessing dialog vals

2010-02-03 Thread liuf
Thanks for your help. I've got it. Now I can access the dialog vals on request route and reply route. Thanks. -- View this message in context: http://n2.nabble.com/storing-and-accessing-dialog-vals-tp4499104p4507368.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

Re: [OpenSIPS-Users] storing and accessing dialog vals

2010-02-03 Thread liuf
Thanks for your help. I've another question. I can't access any of the dialog vals on reply route. loose_route() only can be used for REQUEST_ROUTE. Am I missing something? opensips.cfg = onreply_route { if (status=="100") { f

[OpenSIPS-Users] storing and accessing dialog vals

2010-02-01 Thread liuf
I have the same problem as the topic " http://n2.nabble.com/storing-and-accessing-dialog-module-flags-and-vals-td3562938.html storing and accessing dialog module flags and vals ", I can't access any of the dialog vals that I set on previous messages. Am I missing something? I've check out th