[SR-Users] kamailio.cfg errors with this example from documentation
Wilkins, Steve
swwilkins at mitre.org
Fri Sep 7 17:00:16 CEST 2018
Sorry Alex, you are correct, I spaced that out.
-----Original Message-----
From: sr-users <sr-users-bounces at lists.kamailio.org> On Behalf Of Alex Balashov
Sent: Friday, September 7, 2018 10:57 AM
To: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
Subject: Re: [SR-Users] kamailio.cfg errors with this example from documentation
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/
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users at lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
More information about the sr-users
mailing list