[Serusers] Rewrite To Heaader
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Fri Apr 15 17:46:32 CEST 2005
please don't make the confusion between Record-Route and Route headers!
Record-Route is used to set (to define) the routing set in the initial
phase of the dialog creation - no routing is performed based RR hdr; the
Route header is used for that purpose.
bogdan
Olivier Taylor wrote:
>Ok
>
>You say anyway that routing has to be based on RURI + ROUTE
>
>What do you think about the next line?
>
>INVITE sip:3227321073 at 217.206.202.126:5060 SIP/2.0..Record-Route:
><sip:027321073 at 82.146.123.252;ftag=8f19be0298e5a67o0;lr=on>
>
>I must suppose that Record-Route has to be used or in this case Route seems
>wrong.
>
>Olivier
>
>-----Message d'origine-----
>De : serusers-bounces at iptel.org [mailto:serusers-bounces at lists.iptel.org] De la
>part de Bogdan-Andrei Iancu
>Envoyé : vendredi 15 avril 2005 16:34
>À : Juha Heinanen
>Cc : Eric Dean; serusers at lists.iptel.org
>Objet : Re: [Serusers] Rewrite To Heaader
>
>
>putting aside the fact that modifying FROM and TO is something not so
>trivial, routing calls based on TO hdr is totally wrong - according to
>SIP RFC, the request routing is done based on RURI + ROUTE set; not to
>mention that TO hdr contains irrelevant information which may (most of
>the time) differ from the RURI.
>as Juha said, try to go for a more SIP compliant provider.
>
>bogdan
>
>Juha Heinanen wrote:
>
>
>
>>Eric Dean writes:
>>
>>
>>
>>>Our VoIP service provider routes calls based upon the To field
>>>within
>>>the SIP header. While SER can easily rewrite the URI, I need to
>>>actually prepend our account code to every outgoing call with a prefix.
>>>
>>>
>
>
>
>>>does anyone know how to prefix the To field.
>>>
>>>
>>it is not a good idea to modify to or from fields. i suggest you
>>switch to another, more sensible service provider.
>>
>>-- juha
>>
>>
>>
>>
>
>_______________________________________________
>Serusers mailing list
>serusers at lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
>
>
>
>
More information about the sr-users
mailing list