[Serusers] Rewrite To Heaader

Bogdan-Andrei Iancu bogdan at voice-system.ro
Fri Apr 15 16:33:57 CEST 2005


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
>  
>




More information about the sr-users mailing list