Kamailo 5.8

Description

I use ds_is_active function() in dispatcher module.

$var(sip_url) = $sht(conf_fs=>$var(conf_id));  # sip:192.168.1.44:5060
if(ds_is_active("1", "$var(sip_url)")){
    #### is allways run
}

or
ds_is_active("1", $var(sip_url))

Debugging Data

When I check dispatcher:

"DEST": {
                "URI":  "sip:192.168.1.44:5060",
                "FLAGS":  "IP",
                "PRIORITY": 0,
                "ATTRS":  {
                  "BODY": "rweight=50;weight=50;cc=1",
                  "DUID": null,
                  "MAXLOAD":  0,
                  "WEIGHT": 50,
                  "RWEIGHT":  50,
                  "SOCKET": null,
                  "SOCKNAME": null,
                  "OBPROXY":  null
                }
              }

Why is the flag set to IP, but ds_is_active() returns true?


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/issues/4001@github.com>