[OpenSIPS-Users] opensips v2.1.1 fifo ds_reload not working

Hamid Hashmi hamid2kviii at hotmail.com
Wed Nov 4 12:58:45 CET 2015


Am i doing it right ?
mysql> select * from dispatcher;+----+-------+-------------------------+--------+-------+--------+----------+-----------+--------------+| id | setid | destination             | socket | state | weight | priority | attrs     | description  |+----+-------+-------------------------+--------+-------+--------+----------+-----------+--------------+|  1 |     1 | sip:192.168.26.230:7000 | NULL   |     0 |      1 |        0 | calls=100 |              ||  2 |     1 | sip:192.168.26.231:7000 | NULL   |     1 |      1 |        0 | calls=100 |              |+----+-------+-------------------------+--------+-------+--------+----------+-----------+--------------+2 rows in set (0.00 sec)
mysql> update dispatcher set state=0 where id = 2;Query OK, 1 row affected (0.01 sec)Rows matched: 1  Changed: 1  Warnings: 0
mysql> select * from dispatcher;+----+-------+-------------------------+--------+-------+--------+----------+-----------+--------------+| id | setid | destination             | socket | state | weight | priority | attrs     | description  |+----+-------+-------------------------+--------+-------+--------+----------+-----------+--------------+|  1 |     1 | sip:192.168.26.230:7000 | NULL   |     0 |      1 |        0 | calls=100 |              ||  2 |     1 | sip:192.168.26.231:7000 | NULL   |     0 |      1 |        0 | calls=100 |              |+----+-------+-------------------------+--------+-------+--------+----------+-----------+--------------+2 rows in set (0.00 sec)
mysql>mysql> exitBye[root at edgeproxy ~]# opensipsctl fifo ds_listPARTITION:: default	SET:: 1		URI:: sip:192.168.26.230:7000 state=Active			attr:: calls=100		URI:: sip:192.168.26.231:7000 state=Inactive			attr:: calls=100[root at edgeproxy ~]# opensipsctl fifo ds_reload[root at edgeproxy ~]# opensipsctl fifo ds_listPARTITION:: default	SET:: 1		URI:: sip:192.168.26.230:7000 state=Active			attr:: calls=100		URI:: sip:192.168.26.231:7000 state=Inactive			attr:: calls=100[root at edgeproxy ~]#[root at edgeproxy ~]# /etc/init.d/opensips restartStopping opensips:                                         [  OK  ]Starting opensips:                                         [  OK  ][root at edgeproxy ~]# opensipsctl fifo ds_listPARTITION:: default	SET:: 1		URI:: sip:192.168.26.230:7000 state=Active			attr:: calls=100		URI:: sip:192.168.26.231:7000 state=Active			attr:: calls=100
same for scenario for making node inactive. 
RegardsHamid R. Hashmi 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20151104/382bef11/attachment.htm>


More information about the Users mailing list