[SR-Users] Script @Startup

Nicolas Breuer Nicolas.Breuer at belcenter.biz
Sun Oct 28 10:07:24 CET 2018


Hello Daniel,

Any updates on this ?
Need to get the IP-Address of the Kamailio server in the event route.

Thanks


De : Nicolas Breuer
Envoyé : samedi 20 octobre 2018 16:13
À : miconda at gmail.com; Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
Objet : RE: [SR-Users] Script @Startup

Hello Daniel,

Let me know if you found a solution to access the $sel into the event route.
I put the IP address of the server into a system variable and I need to access it into the event route 😊

Again thanks for your feedback.


De : Daniel-Constantin Mierla <miconda at gmail.com<mailto:miconda at gmail.com>>
Envoyé : vendredi 19 octobre 2018 11:56
À : Nicolas Breuer <Nicolas.Breuer at belcenter.biz<mailto:Nicolas.Breuer at belcenter.biz>>; Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>>
Objet : Re: [SR-Users] Script @Startup


I pushed a commit for a safety check to avoid the crash, but the value won't be available for $sel(...) in that event route. I will look to see if there is any solution for it, not being the author of that part of code.

Meanwhile, try by replacing the $sel(...) with a #!define / #!subst token or its actual value.

Cheers,
Daniel


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20181028/8c86e047/attachment.html>


More information about the sr-users mailing list