[Kamailio-Users] How to revert changes in SDP during serial forking?

Iñaki Baz Castillo ibc at aliax.net
Sun Aug 10 16:29:02 CEST 2008


El Domingo, 10 de Agosto de 2008, Daniel-Constantin Mierla escribió:
> Hello,
>
> On 08/10/08 17:19, Iñaki Baz Castillo wrote:
> > Hi, I have a scenario in which the call is first forwarded to user
> > location using MediaProxy (so I modify the SDP in OpenSer) and if it gets
> > a error response a failure route forwards the request to a media server
> > with public IP for which I don't need and don't want to use MediaProxy.
> >
> > But since I change the SDP in the first forwarding (to the user) then I
> > can't use the original SDP in the sequential forwarding to the media
> > server. Is possible to do it?
>
> yes, you just need to do the changes in sdp after creation of the
> transaction. One such option is to do it in a branch route -- the
> changes will be visible only for that branch.

Opss, of course! using branch_route is the solution, how did I forget it? XD
Thanks a lot.



-- 
Iñaki Baz Castillo




More information about the Users mailing list