[OpenSIPS-Users] change sdp fields on reply and top hiding

Anca Vamanu anca.vamanu at gmail.com
Mon Jul 25 11:21:59 CEST 2011


Hi,

I suppose you are implementing top hiding with b2b modules right?
Looking in the tm module code I think that there is a way now to modify the
200 OK sdp. You have to use 1.7 release and do the change in on_reply route.
The reason why it works it that on_reply route is called before the callback
in b2b module and the b2b modules applies the body lumps when constructing
the pair 200 ok to send to the other end. Give it a try.

Regards,
Anca Vamanu

On Fri, Jul 22, 2011 at 12:31 PM, saneku <ukhov at ycc.ru> wrote:

> Hello!
> I wonder is it possible to change sdp-fields on 200 OK reply message in top
> hiding scheme?
>
> for example at opensips i have next reply on INVITE:
> ---------------------------
> ...
> o=root 1214571523 1214571523 IN IP4 10.130.0.136
> s=Asterisk PBX 1.6.2.2
> c=IN IP4 10.130.0.136
> t=0 0
> m=audio 10854 RTP/AVP 4
> ...
> ---------------------------
>
> and i want to change c-section to
> c=IN IP4 10.130.0.88
>
> How it could be done? I tried to do it in local_route but i didnt saw this
> reply there...
>
>
> thanks for any help
>
> --
> View this message in context:
> http://opensips-open-sip-server.1449251.n2.nabble.com/change-sdp-fields-on-reply-and-top-hiding-tp6609900p6609900.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110725/659a8002/attachment.htm>


More information about the Users mailing list