[sr-dev] Finding rtpproxy ip address

Hugh Waite hugh.waite at crocodile-rcs.com
Wed Dec 4 19:22:46 CET 2013


Hi Murthy,
At the moment there isn't but we had the same requirement and I have 
implemented it. Now that git master is open for development I will 
commit this.

There will be an rtpproxy modparam rtp_inst_avp which will copy the IP 
address/port into the given avp and you can use it in logs, CDRs etc.

modparam("rtpproxy", "rtp_inst_avp", "$avp(RTP_INSTANCE)")

Then after using rtpproxy_manage() etc, the avp will be set.

if (rtpproxy_manage("eiro") < 0)
{
     sl_reply_error();
     exit;
}
xlog("L_INFO", "chosen instance $avp(RTP_INSTANCE)\n");

Regards,
Hugh

On 04/12/2013 12:25, murthy ch wrote:
> Hi,
>
>
> I am using two rtpproxy's with one kamailio server. Could someone help 
> me on how to find out the rtpproxy ip of a particular call from kamailio.
>
>
> Thank You,
> Murthy.
>
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


-- 
Hugh Waite
Principal Design Engineer
Crocodile RCS Ltd.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20131204/4f97b737/attachment-0001.html>


More information about the sr-dev mailing list