[OpenSIPS-Users] uac_replace_from misses display name

Jeff Pyle jpyle at fidelityvoice.com
Tue Jul 21 22:03:49 CEST 2009


Hi Ricardo,

I¹d give you at least 2 or 3 cents for that one!  But according to the
documentation page, $fn is not writable.  I accomplished it with a subst()
on the From header.  It doesn¹t seem to have broken anything.  Yet.


- Jeff



On 7/21/09 3:56 PM, "Ricardo Martins" <rpoppi77 at gmail.com> wrote:

> Hi Jeff. Let me give you my 1 cent.
> 
> Why don't you perform some script/avp operation changing the value of $fn
> variable? Doing that you can change the from header display name before
> sending it forward (If I understood correctly what you need).
> 
> Regards! Ricardo.
> 
> Jeff Pyle escreveu:
>>  
>> Hi Bogdan,
>> 
>> I thought had this figured out but it appears not.
>> 
>> What's the best way to remove the display name but not touch the rest of the
>> header?  Is this another uac_replace_from, a subst operation?
>> 
>> 
>> - Jeff
>> 
>> 
>> 
>> On 7/9/09 12:04 PM, "Bogdan-Andrei Iancu" <bogdan at voice-system.ro>
>> <mailto:bogdan at voice-system.ro>  wrote:
>> 
>>   
>>  
>>>  
>>> Hi Jeff,
>>> 
>>> The display part is not restored at all...anyhow it is used only for
>>> initial INVITE, so you could simply remove it from all the sequential
>>> requests.
>>> 
>>> Regards,
>>> Bogdan
>>> 
>>> Jeff Pyle wrote:
>>>     
>>>  
>>>>  
>>>> Hello,
>>>> 
>>>> I have uac_replace_from updating the display name and URI of outbound
>>>> calls.
>>>> The call flow is a standard INVITE, 100, 183, 200, ACK kind of setup.  The
>>>> module seems to be correctly replacing the names up to the ACK.  When it
>>>> forwards the ACK from the UAS back to the UAC, it updates the URI but not
>>>> the display name.  The BYE and 200 OK to tear down the call also have this
>>>> problem.
>>>> 
>>>> This is on opensips 1.5.1-notls (sparc64/linux).
>>>> 
>>>> Any thoughts?
>>>> 
>>>> 
>>>> Thanks,
>>>> Jeff
>>>> 
>>>> 
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opensips.org
>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>> 
>>>>   
>>>>       
>>>>  
>>>  
>>  
>> 
>> 
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>> 
>>   
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090721/6ca6d409/attachment.htm 


More information about the Users mailing list