Hello,
For a particular gateway, I force the RTPProxy. This work fine but on the other hand, in my side the RTPPRoxy response to the source IP address of SIP packet instead of the IP address in "Connection information".
Is there a way to instruct the use of the IP address announce in the SDP instead of the last IP source of the last SIP packet?
Regards,
Igor.
Igor,
On 06/20/2014 05:34 AM, Igor Potjevlesch wrote:
Is there a way to instruct the use of the IP address announce in the SDP instead of the last IP source of the last SIP packet?
Yes. Use the 'r' flag in rtpproxy_*() functions, and do not use the 'w' flag.
http://kamailio.org/docs/modules/4.1.x/modules/rtpproxy.html#idp79896
Alex,
Thank you. I reviewed the doc this morning and I missed it. Next step would be to announce a different IP address for the ingress sides than the egress sides. Is that make sense? I try to add the target IP address expected by my provider. It works fine, but in my internal network I hope to see another IP address. That would mean a different rtpproxy_manage instruction depending on the branch. But I don't know how to identify those branches.
To illustrate: Rtpproxy_manage("..."); -> for ingress. Rtpproxy_manage("...","expected_ip_addresses") -> for egress.
If someone has an idea to do so.
Alternatively I can use a Cisco ASR router between my platform and the provider. I don't know if I can manipulate SDP with this. The basic NAT instructions doesn't do this job and the provider seems to keep the IP address in the SDP.
Regards,
Igor.
-----Message d'origine----- De : sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] De la part de Alex Balashov Envoyé : vendredi 20 juin 2014 11:45 À : sr-users@lists.sip-router.org Objet : Re: [SR-Users] Trouble with rtpproxy
Igor,
On 06/20/2014 05:34 AM, Igor Potjevlesch wrote:
Is there a way to instruct the use of the IP address announce in the SDP instead of the last IP source of the last SIP packet?
Yes. Use the 'r' flag in rtpproxy_*() functions, and do not use the 'w' flag.
http://kamailio.org/docs/modules/4.1.x/modules/rtpproxy.html#idp79896
-- Alex Balashov - Principal Evariste Systems LLC Tel: +1-678-954-0670 Web: http://www.evaristesys.com/, http://www.alexbalashov.com/
Please be kind to the English language:
http://www.entrepreneur.com/article/232906
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Hello,
The different rtpproxy_manage work fine. I have an issue with Record-Route and Via header. Is it possible to change these headers with the expected IP address on egress sides and keep the IP address of the proxy for ingress sides?
Regards,
Igor.
-----Message d'origine----- De : Igor Potjevlesch [mailto:igor.potjevlesch@gmail.com] Envoyé : vendredi 20 juin 2014 14:36 À : 'Kamailio (SER) - Users Mailing List' Objet : RE: [SR-Users] Trouble with rtpproxy
Alex,
Thank you. I reviewed the doc this morning and I missed it. Next step would be to announce a different IP address for the ingress sides than the egress sides. Is that make sense? I try to add the target IP address expected by my provider. It works fine, but in my internal network I hope to see another IP address. That would mean a different rtpproxy_manage instruction depending on the branch. But I don't know how to identify those branches.
To illustrate: Rtpproxy_manage("..."); -> for ingress. Rtpproxy_manage("...","expected_ip_addresses") -> for egress.
If someone has an idea to do so.
Alternatively I can use a Cisco ASR router between my platform and the provider. I don't know if I can manipulate SDP with this. The basic NAT instructions doesn't do this job and the provider seems to keep the IP address in the SDP.
Regards,
Igor.
-----Message d'origine----- De : sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] De la part de Alex Balashov Envoyé : vendredi 20 juin 2014 11:45 À : sr-users@lists.sip-router.org Objet : Re: [SR-Users] Trouble with rtpproxy
Igor,
On 06/20/2014 05:34 AM, Igor Potjevlesch wrote:
Is there a way to instruct the use of the IP address announce in the SDP instead of the last IP source of the last SIP packet?
Yes. Use the 'r' flag in rtpproxy_*() functions, and do not use the 'w' flag.
http://kamailio.org/docs/modules/4.1.x/modules/rtpproxy.html#idp79896
-- Alex Balashov - Principal Evariste Systems LLC Tel: +1-678-954-0670 Web: http://www.evaristesys.com/, http://www.alexbalashov.com/
Please be kind to the English language:
http://www.entrepreneur.com/article/232906
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users