[Kamailio-Users] Script variables Question

alex pappas rebel.pappas at gmail.com
Thu Jan 21 14:22:30 CET 2010


Thank you Uriel,

With Avp it works!

Cheers
Alex



On Thu, Jan 21, 2010 at 2:28 PM, Uriel Rozenbaum
<uriel.rozenbaum at gmail.com>wrote:

> Alex,
>
> Maybe you should use AVPs instead of vars.
>
> Remember you always have the original request-URI username in $oU.
>
> Cheers,
> Uriel
>
> On Thu, Jan 21, 2010 at 9:10 AM, alex pappas <rebel.pappas at gmail.com>wrote:
>
>> Dear friends,
>>
>> When a sip 4rU is entering my kamailio script I'm cutting down the prefix
>> of this customer and added to a script variable. In the same same route
>> after i do some checks then i add back the customer prefix which I had kept
>> in the script variable.
>> The problem:
>> Some times the call goes to failure Route for rerouting and then i try to
>> add the prefix again but the is empty.
>>
>> How can I transfer a variable from route to route and be a unique variable
>> for each call?
>>
>> Thank you
>> Alex
>>
>> _______________________________________________
>> Kamailio (OpenSER) - Users mailing list
>> Users at lists.kamailio.org
>> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/users/attachments/20100121/d05154fc/attachment.htm>


More information about the Users mailing list