[Kamailio-Users] Path and received parameter

Iñaki Baz Castillo ibc at aliax.net
Tue Apr 7 10:50:44 CEST 2009


2009/4/7 Klaus Darilion <klaus.mailinglists at pernau.at>:
> Hi!
>
> During REGISTER processing I call add_path_received() in the outbound proxy.
>
> Now if the INVITE is routed from main proxy to the client (via the OBP),
> the OBP as to read the received parameter from the Ruote header and use
> this value as destination URI. Is there a function available to perfomr
> this action or do I have to do it manually (parsing Route header to the
> get parameter)?

I don't remember now how exactly Path works, but AFAIR Path is only
useful for registration. Later when the registrar receives an INVITE
for that user, it extracts the Path from the location database and
generates a Route with it:


Alice              OBP              Proxy/Registrar                Bob

----- REGISTER --->  ---- REGISTER + Path -->

                                               <----- INVITE --------
<---- INVITE ------  <----- INVITE + Route --


Am I wrong?


-- 
Iñaki Baz Castillo
<ibc at aliax.net>



More information about the Users mailing list