Re: [SR-Users] Variable $fu Kamailio 3.2

2012-04-11 Thread Klaus Darilion
http://www.kamailio.org/wiki/cookbooks/3.2.x/pseudovariables#from_uri $fu is not marked as R/W, thus it is read-only and can not be set. To change From URI either use textops module to change it manually (may cause problems with some clients) or use http://www.kamailio.org/docs/modules/3.2.x/m

Re: [SR-Users] Variable $fu Kamailio 3.2

2012-04-10 Thread Daniel-Constantin Mierla
Hello, On 4/10/12 10:52 PM, Gilbert T. Gutierrez, Jr. wrote: Actually I figured it out. Here is the code I used to fix my issue. route[REWRITE] { # This section rewrites the outbound calling number so that caller id works correctly. #!ifdef WITH_REWRITE # lookup an o

Re: [SR-Users] Variable $fu Kamailio 3.2

2012-04-10 Thread Gilbert T. Gutierrez, Jr.
Actually I figured it out. Here is the code I used to fix my issue. route[REWRITE] { # This section rewrites the outbound calling number so that caller id works correctly. #!ifdef WITH_REWRITE # lookup an outbound number to replace the extension with $v

Re: [SR-Users] Variable $fu Kamailio 3.2

2012-04-10 Thread Daniel-Constantin Mierla
Hello, On 4/10/12 7:23 PM, Gilbert T. Gutierrez, Jr. wrote: Daniel and Alex, Obviously I stumbled into a way to do things that has been illegal in the past. How do I do this the old way? I have been looking for examples and hints online but have only found references to modules and examples

Re: [SR-Users] Variable $fu Kamailio 3.2

2012-04-10 Thread Gilbert T. Gutierrez, Jr.
Daniel and Alex, Obviously I stumbled into a way to do things that has been illegal in the past. How do I do this the old way? I have been looking for examples and hints online but have only found references to modules and examples using Kamailio compiled as OpenSER. I am using Kamailio from R

Re: [SR-Users] Variable $fu Kamailio 3.2

2012-04-10 Thread Daniel-Constantin Mierla
Hello, On 4/10/12 4:05 AM, Alex Balashov wrote: $fu is not mutable. actually it is starting with v3.2.0. But it is not visible in the script, like the other operations performed on the headers -- they operations are kept as a diff (patch) list, not applied immediately. So, you will see the

Re: [SR-Users] Variable $fu Kamailio 3.2

2012-04-09 Thread Alex Balashov
$fu is not mutable. -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/, http://www.alexbalashov.com "Gilbert T. Gutierrez, Jr." wrote: >I wrote the code below to r

[SR-Users] Variable $fu Kamailio 3.2

2012-04-09 Thread Gilbert T. Gutierrez, Jr.
I wrote the code below to rewrite an extension to a phone number (It is called in route[LOCATION]). This code works fine with MULTIDOMAIN enabled but when I run it as a single domain the line $fu=$var(b); does not seem to work.. You can see that I have several xlog lines outputting the variabl