[Users] 'To' header field and redirect

Daniel-Constantin Mierla daniel at voice-system.ro
Mon Sep 11 11:54:58 CEST 2006


Could you post the network trace and configuration snippet which you 
added for redirect handling?

Cheers,
Daniel


On 09/11/06 12:47, Michel Zenone wrote:
> In fact my openser does this when it acts as a redirection server... It
> changes the To header field and does an 'sl_send_reply("300",
> "Redirect")'. For example, with Xlite it works fine.
>
> Have I bad written my code? If yes, what could it be?
>
> Regards,
>
> Michel
>
> On Mon, 2006-09-11 at 12:43 +0300, Daniel-Constantin Mierla wrote:
>   
>> On 09/11/06 11:44, Michel Zenone wrote:
>>     
>>> But it's my openser that puts two To headers :-) !
>>> Have you an idea to make openser define the new uri (I use exec_dset)
>>> removing the last one?
>>>   
>>>       
>> then you have a mistake on your config. OpenSER does not add To header 
>> by default. Check if you have deleted the old one.
>>
>> Anyhow, changing the To header is not recommended inside a SIP proxy, it 
>> will break the transaction/dialog matching if you do not do the backward 
>> translation for replies.
>>
>> Daniel
>>
>>     
>>> Regards,
>>>
>>> Michel
>>>
>>>
>>> On Mon, 2006-09-11 at 11:16 +0300, Daniel-Constantin Mierla wrote:
>>>   
>>>       
>>>> On 09/11/06 11:04, Michel Zenone wrote:
>>>>     
>>>>         
>>>>> Hi!
>>>>> My sip phone has troubles to understand which sip address to contact
>>>>> when it receives a redirection from my openser:
>>>>> In fact 'To' header field contains the new uri and the last one... So
>>>>> now I try to remove the last one from the field but I don't know how to
>>>>> do this!
>>>>>
>>>>> Can somebody help me?
>>>>>   
>>>>>       
>>>>>           
>>>> The phone is quite broken if it adds two To headers or a malformed To 
>>>> headers. You should ask the vendor for a fix rather than trying to patch 
>>>> it on call path. You will get other troubles.
>>>>
>>>> Cheers,
>>>> Daniel
>>>>
>>>>     
>>>>         
>>>>> Thank you!
>>>>>
>>>>> Michel
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Users mailing list
>>>>> Users at openser.org
>>>>> http://openser.org/cgi-bin/mailman/listinfo/users
>>>>>
>>>>>   
>>>>>       
>>>>>           
>>>   
>>>       
>
>
>   




More information about the Users mailing list