[OpenSER-Users] CPL "Location" and "Proxy" behavior

daniel grotti daniel.grotti at unibo.it
Thu Nov 8 00:18:12 CET 2007


Hi all,
this is what CPL_SIG.c says about forwarding a given message to the given location set:

" forwards the msg to the given location set; if flags has set the
  CPL_PROXY_DONE, all locations will be added as branches, otherwise, the 
  first one will set as RURI (this is ha case when this is the first proxy 
  of the message)
  The given list of location will be freed, returning 0 instead.
  Returns:  0 - OK "
 

My question is : which and what is "the first one" location ? Can you explain it better?
Because RFC 3880 say that : "For the incoming top-level call processing action, the location set is initialized to the empty set.
For the outgoing action, it is initialized to the destination address of the call."

So RFC is very clear. I think there are considerable differences between RFC and the behavior of CPL interpreter.

Thanks.
Daniel


-----------------------------
       Daniel  Grotti
DEIS - Universita' di Bologna
-----------------------------
       Via Venezia, 52
  47023 Cesena (FC) - ITALY
-----------------------------
email:daniel.grotti at unibo.it
----------------------------- 





More information about the sr-users mailing list