[SR-Users] force_send_socket
Alex Balashov
abalashov at evaristesys.com
Wed Dec 11 10:53:38 CET 2013
On 12/11/2013 04:48 AM, Daniel-Constantin Mierla wrote:
>
> On 11/12/13 10:46, Alex Balashov wrote:
>> On 12/11/2013 04:45 AM, Daniel-Constantin Mierla wrote:
>>
>>> Actually, to work, the above line has to be:
>>>
>>> $fs = "udp:" + $sel(cfg_get.kamailio.bindip) + ":5060";
>>
>> I never did understand that. Some PVs seem to be substituted inside a
>> string literal, others are not. What's the rule?
> They were never substituted in expressions/statements that have quoted
> string literals as standalone element. Only in parameters for functions
> or names for variables (e.g. $sht(...)).
Oh, I see. So, this will work:
redis_cmd("srv", "SET user 1$rU", "r");
but this will not:
$fu = "sip:1$fU@$sel(cfg_get.term_gw):5060";
?
-- Alex
--
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
United States
Tel: +1-678-954-0670
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/
More information about the sr-users
mailing list