[OpenSIPS-Users] uac_replace_from not restoring displayname

Erik Versaevel - InfoPact Netwerkdiensten e.versaevel at infopact.nl
Thu Jul 8 11:39:43 CEST 2010


Hi bogdan,

a config snippet would be appreciated, i am using the dialog module at the moment to limit concurrent calls

Regards,

Erik


Op 8-7-2010 11:19, Bogdan-Andrei Iancu schreef:
> AVPs are not dialog persistent, but you can use dialog module with 
> dialog persistent vars to store the displayname from the original INVITE 
> and apply it in all sequential requests.
> 
> If you are not familiar with how to use the dialog support, just let me 
> know.
> 
> Regards,
> Bogdan
> 
> Erik Versaevel - InfoPact Netwerkdiensten wrote:
>> Hi Bogdan,
>>
>> Hmm, that would be just as confusing i think, i might be able to pull it off by storing the original displayname in an AVP ?
>>
>> Regards,
>>
>> Erik
>>
>>
>> Op 8-7-2010 9:55, Bogdan-Andrei Iancu schreef:
>>   
>>> Hi Erik,
>>>
>>> by design, the display name is not restored at all as it is not relevant 
>>> from SIP point of view in the sequential requests. To avoid confusions, 
>>> a simple hack I do in script, is, for sequential requests, to completely 
>>> remove the display name part (also with uac_replace_from).
>>>
>>> Regards,
>>> Bogdan
>>>
>>> E. Versaevel wrote:
>>>     
>>>> Hi all,
>>>>
>>>> Is there a reason why uac_replace_from() is not restoring the displayname back to the sipclient?
>>>>
>>>> i'm doing a uac_replace_from() to mange the displayname/uri so my asterisk machine wil use the correct
>>>> sip peer, however packages back to the sipclient only have their URI restored and keep the displayname set with the uac_replace_from()
>>>> Is this expected behaviour? It's confusing for both me and the end users because you suddenly recieve packages with another displayname.
>>>>
>>>> Kind regards,
>>>>
>>>> Erik
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opensips.org
>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>
>>>>   
>>>>       
>>>     
>>
>>
>>
>> Erik Versaevel
>>
>>   
> 
> 



Erik Versaevel

-- 
Core Network Engineer
Infopact Network Solutions
Hoogvlietsekerkweg 170
3194 AM  Rotterdam Hoogvliet
Telefoon	+31 (0)88 - 4636777
Fax		+31 (0)88 - 4636799
Mobile		+31 (0)6 - 11116070
e.versaevel at infopact.nl
www.infopact.nl



More information about the Users mailing list