[SR-Users] kamailio.cfg errors with this example from documentation

Alex Balashov abalashov at evaristesys.com
Fri Sep 7 16:57:04 CEST 2018


On Fri, Sep 07, 2018 at 02:55:04PM +0000, Wilkins, Steve wrote:

> Did I miss something, what was your way 😊

Yes, you clearly did not read my responses. :-)

> $var(x) = $ct;
> $(var(x){s.substr,1,0});

   $var(x) = $ct;
   $dlg_var(callercontact) = $(var(x){s.substr,1,0});

Or in the interest of simplicity:

   $dlg_var(callercontact) = $(ct{s.substr,1,0});

-- 
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) 
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/



More information about the sr-users mailing list