[OpenSIPS-Users] Dispatcher command question

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Aug 17 11:29:01 CEST 2016


Hi Chen-Che,

What is the db_mode you use for the db_text module ? see :
http://www.opensips.org/html/docs/modules/2.2.x/db_text.html#id293561

If in mode 0, the db_text (as sql backend) will not read the text file 
during runtime unless you run the MI dbt_reload command.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 17.08.2016 10:36, Chen-Che Huang wrote:
> Hi all,
>
> I'm using the dispatcher module with DBTEXT. With the preconfigured
> /etc/opensips/dispatcher file, the front OpenSIPS proxy works with two
> backend SIP proxies. Now, I would like to add a new backend SIP proxy at the
> run time of the front OpenSIPS proxy. I have tried to modified the
> dispatcher file and then call 'sudo opensipsctl fifo ds_reload'. But I could
> not see the added SIP proxy by running sudo opensipsctl fifo ds_list'. I
> also try call `sudo opensipsctl dispatcher addgw'. However, I can see the
> added SIP proxy by `sudo opensipsctl dispatcher show' but not in the result
> of `sudo opensipsctl dispatcher show'. It seems that  the content of
> text-based db does not sync with the memory. I'm using opensips version
> 1.11.6. I wonder it is feasible to add a new backend proxy during the run
> time in the dispatcher module? Any comment is appreciated.
>
> Best regards,
> Chen-Che
>
>
>
> --
> View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Dispatcher-command-question-tp7604038.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>




More information about the Users mailing list