Re: [SR-Users] cfg script 101

2018-05-17 Thread KamDev Essa
Awesome. Thanks KD On Thursday, May 17, 2018, 11:38:14 AM EDT, Ovidiu Sas wrote: 1. Here's the documentation for while loop: http://www.kamailio.org/wiki/cookbooks/devel/core#while 2. Here are some string helper functions: http://www.kamailio.org/wiki/cookbooks/devel/transformations#ss

Re: [SR-Users] cfg script 101

2018-05-17 Thread Ovidiu Sas
1. Here's the documentation for while loop: http://www.kamailio.org/wiki/cookbooks/devel/core#while 2. Here are some string helper functions: http://www.kamailio.org/wiki/cookbooks/devel/transformations#ssubstr_offset_length http://www.kamailio.org/wiki/cookbooks/devel/transformations#sselect_inde

[SR-Users] cfg script 101

2018-05-16 Thread KamDev Essa
I have decided to do Hunting DIY. I needed some help with the cfg script part and using a database dip.  Say I do the db dip  sql_xquery("ca", "call usp_GetHuntBranches( '$rU', '$rd');", "ra");that will return the uri/q pairs and I will add using append_branch dynamically.  How do I do the loopin