It's a bad idea because they are used for transaction matching and if you alter either then you run the risk of a SIP UAC or SIP UAS freaking out.

Regards,
Paul

On 4/15/05, Olivier Taylor <olivier.taylor@gmail.com> wrote:
I also have two providers using the to header.

Why is it a bad idea to modify the to and from fields?

Olivier

-----Message d'origine-----
De : serusers-bounces@iptel.org [mailto:serusers-bounces@iptel.org] De la
part de Juha Heinanen
Envoyé : vendredi 15 avril 2005 15:31
À : Eric Dean
Cc : serusers@lists.iptel.org
Objet : [Serusers] Rewrite To Heaader

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@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers

_______________________________________________
Serusers mailing list
serusers@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers