[OpenSER-Users] Rewriting the to header

Iñaki Baz Castillo ibc at aliax.net
Sat Mar 15 15:42:44 CET 2008


El Sábado, 15 de Marzo de 2008, shiebar at post.tau.ac.il escribió:
> Hi Inaki,
>
> Then what should I do if I get the following error:
> SIP/2.0 481 Call Leg/Transaction Does Not Exist
>
> When both caller and callee are online?

And why do you assume that it's a fail related to the "To" header?

RFC 3261
  21.4.19   481 Call/Transaction Does Not Exist

   This status indicates that the UAS received a request that does not
   match any existing dialog or transaction.


Also read how a UA tries to match an incoming request to an existing 
transaction:
  http://tools.ietf.org/html/rfc3261#section-17.2.3



> WeSIP receive the request with the real From uri but the To uri
> contains the IP of openser server.
> Is this the correct situation?

Sincerely, you should read the RFC 3261 to understand that the "To" header is 
usually not examinated by the UAS, just the Request-Uri. But you cannot 
asumme something incorrect without reading about it and later ask "then 
what?".

;)




-- 
Iñaki Baz Castillo




More information about the sr-users mailing list