[SR-Users] SDP rewrite causing extra IP to be inserted.

Daniel-Constantin Mierla miconda at gmail.com
Fri Jun 2 10:24:03 CEST 2017


Hello,

do you have any other call of functions from rtpproxy or rtpengine
modules in addition to the fix_nated_sdp()? They are conflicting, you
should use only one or the other. Or, if a must to do both, use
msg_apply_changes() in between.

Cheers,
Daniel


On 01.06.17 20:44, Steven Meyer wrote:
>
> I have an SDP rewrite and it is adding a duplicate IP to the
> connection address.
>
>  
>
>  
>
> c=IN IP4 WWW.XXX.YY.ZZWWW.XXX.YY.ZZ
>
>  
>
> route[TOFUSIONPBX] { route(DISPATCH); #Set the reply to handle sdp
> rewrite xlog("L_INFO","route[TOFUSIONPBX]: Inside the TOFUSIONPBX");
> #t_relay(); route(RELAY); exit; }
>
> route[CHANGE_SDP] { xlog("L_INFO","In the CHANGE_SDP Route"); if
> (has_body("application/sdp") ) { xlog("L_INFO","On reply from the
> FUSIONPBX, which changes the SDP"); if (route(FROMFUSIONPBX)) {
> fix_nated_sdp("2","LOAD_BALANCER_PUBLIC_ADDRESS"); } } }
>
>  
>
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170602/80304ea7/attachment.html>


More information about the sr-users mailing list