[SR-Users] Use of $rU

Graham Wooden graham at g-rock.net
Sat Oct 1 06:10:23 CEST 2011


$fU isn't the subscriber; it's the caller.

So, using the uac_replace_from() will make $fU be the subscriber's username?


On 9/30/11 10:50 PM, "Alex Balashov" <abalashov at evaristesys.com> wrote:

> Wait, I think I understand.  Take a look at $fU, which is not mutable, but the
> uac module's uac_replace_from() makes it so.
> 
> --
> This message was painstakingly thumbed out on my mobile, so apologies for
> brevity, errors, and general sloppiness.
> 
> Alex Balashov - Principal
> Evariste Systems LLC
> 260 Peachtree Street NW
> Suite 2200
> Atlanta, GA 30303
> Tel: +1-678-954-0670
> Fax: +1-404-961-1892
> Web: http://www.evaristesys.com/
> 
> On Sep 30, 2011, at 11:25 PM, Alex Balashov <abalashov at evaristesys.com> wrote:
> 
>> $rU just exposes the request URI user part.  It applies in any direction.
>> What's the question?
>> 
>> --
>> This message was painstakingly thumbed out on my mobile, so apologies for
>> brevity, errors, and general sloppiness.
>> 
>> Alex Balashov - Principal
>> Evariste Systems LLC
>> 260 Peachtree Street NW
>> Suite 2200
>> Atlanta, GA 30303
>> Tel: +1-678-954-0670
>> Fax: +1-404-961-1892
>> Web: http://www.evaristesys.com/
>> 
>> On Sep 30, 2011, at 11:09 PM, Graham Wooden <graham at g-rock.net> wrote:
>> 
>>> Hi there,
>>> 
>>> What is pv for the equivalent of $rU for outbound? My inbound use of $rU has
>>> the correct username.  All my subscribers are multi-number trunks, so on the
>>> outbound I need to associate the subscriber. This is kamailio 1.5.
>>> 
>>> Thanks,
>>> 
>>> -graham
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>> sr-users at lists.sip-router.org
>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>> 
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> 
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users





More information about the sr-users mailing list