-
De : Nicolas Breuer
Envoyé : jeudi 13 juillet 2017 18:09
À : Kamailio (SER) - Users Mailing List
Objet : RE: [SR-Users] Subst_body M Audio
Hello,
I tried to disable the rtpproxy & indeed the issue is not present.
I put the subst_body at the end of the script ( in the branch_route
0.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-15.
a=nortpproxy:yes.
-Message d'origine-
De : sr-users [mailto:sr-users-boun...@lists.kamailio.org] De la part de
Carsten Bock
Envoyé : jeudi 13 juillet 2017 11:53
À : Kamailio (SER) - Users Mailing List
Objet : Re: [SR-Users] Sub
Hi,
it seems you are triggering RTPProxy after the subst_body (hence the
port and the parameter a=nortpproxy in the SDP).
Try removing RTPProxy.
Thanks,
Carsten
2017-07-13 11:23 GMT+02:00 Nicolas Breuer :
>
>
> Hello,
>
>
>
> I’m trying to replace the M part in the SDP Body.
>
>
>
> Seems not w
Hello,
I'm trying to replace the M part in the SDP Body.
Seems not working as expected ( I changed the "s" part without problems )
Code :
if ( subst_body('/(^m=.*)/m=testing of rewrite.\r/') ) { $var(s)=""; };
Here's the incoming body message
c=IN IP4 217.112.180.235.
t=0 0.
m=audio 49152 RT