[OpenSIPS-Users] uac_replace_from misses display name
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Wed Jul 22 11:11:49 CEST 2009
Hi Jeff,
you can also do it with uad_replace_from() :
http://www.opensips.org/html/docs/modules/1.5.x/uac.html#id228528
See example:
# remove display and do not touch uri
uac_replace_from("","");
Regards,
Bogdan
Jeff Pyle wrote:
> 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> 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
>>>
>>>
>>>
>
>
>
More information about the Users
mailing list