[sr-dev] [kamailio/kamailio] Dialog: Core dump when using dlg_set_timeout (#1011)

Daniel-Constantin Mierla notifications at github.com
Mon Feb 27 14:27:43 CET 2017


The values in the variables have to be numbers, not strings. Try to convert first with {s.int}, like:

```
$var(entry) = $(var(entry){s.int});
$var(id) = $(var(id){s.int});
dlg_set_timeout("2419200", "$var(entry)", "$var(id)");
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1011#issuecomment-282719388
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20170227/0d93cbd7/attachment-0001.html>


More information about the sr-dev mailing list