[SR-Users] Question regarding calling a shell script from kamailio

Daniel-Constantin Mierla miconda at gmail.com
Mon Jul 3 09:09:27 CEST 2017


Hello,

your first email was answered:

  - https://lists.kamailio.org/pipermail/sr-users/2017-June/097640.html

The exec_avp() should allow you to get back values in kamailio.cfg, iirc.

Cheers,
daniel

On 29.06.17 18:58, Anuradha Selvarajan wrote:
>
> Hello,
>
>  
>
> Resending as I didn’t get any reply yet. I tried to use exec_msg to
> call a external script but that is not working as expected (used it
> under request_route function as suggested). Also exec_msg doesn’t
> store any return value so not sure if this will help. Like mentioned
> in my previous email, looking for calling a external shell script and
> use the return value in fork.cfg file. I need help with this asap.
> Appreciate some help!
>
>  
>
> Thanks a lot!
>
> Anu
>
>  
>
> *From:* Anuradha Selvarajan
> *Sent:* Wednesday, June 28, 2017 10:03 AM
> *To:* Kamailio (SER) - Users Mailing List <sr-users at lists.sip-router.org>
> *Subject:* Question regarding calling a shell script from kamailio
>
>  
>
> Hello,
>
>  
>
> I am using fork.cfg file and I want to call a shell script (which has
> curl commands extracting value from database and returns the value)
> and use the value in the fork.cfg. How can I do it?
>
>  
>
> Appreciate your help!
>
>  
>
> Thanksm
> Anu
>
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170703/34b5c761/attachment.html>


More information about the sr-users mailing list