Hello,

to complete: if you want destination to not to be pinged anymore and not used for routing, you have to disable (deactivate) it, not to set it in state inactive. There are three states:

- active
- inactive (at any time can become active based on ping activity)
- disabled (it is going to be ingored for pinging as well)

The x is as Dmitri said, just a placeholder to say no flag is set there and have always the output being two chars.

Cheers,
Daniel

On 13/01/16 16:08, Dmitri Savolainen wrote:
hi. Sven.

1.  Have you set modparam("dispatcher", "ds_probing_mode", 1)? If so, it will be moved to PROBING mode after  ds_ping_interval 
2. 'X' means  "not any set". just a cross ;)

2016-01-13 16:17 GMT+03:00 Sven Neuhaus <neuhaus@tyntec.com>:
Hello,

when trying to set a destination to inactive using dispatcher.set_state
after setting the state to "i", when I do a "dispatcher.list" I see the
state as "ix". The "x" state appears not to be documented.

After a short time (seconds) the flags return to state "ip" (probing).
According to the module documentation I should be able to set the
"probing" mode.

1. Why doesn't probing mode remain disabled?
2. What is state "x"?

Cheers,
-Sven



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users




--
Savolainen Dmitri


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
http://miconda.eu