<div dir="ltr"><div>Hi Hugh,<br><br></div>Thank You very much for your support. When I tried to store IP address in the given avp variable I got the bellow error.<br><div><div><br>0(13920) ERROR: <core> [modparam.c:152]: set_mod_param_regex(): set_mod_param_regex: parameter <rtp_inst_avp> of type <1> not found in module <rtpproxy><br>
<br><br></div><div><br></div><div>Thank You,<br></div><div>Murthy.<br><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Dec 4, 2013 at 11:52 PM, Hugh Waite <span dir="ltr"><<a href="mailto:hugh.waite@crocodile-rcs.com" target="_blank">hugh.waite@crocodile-rcs.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>Hi Murthy,<br>
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.<br>
<br>
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.<br>
<br>
<tt>modparam("rtpproxy", "rtp_inst_avp", "$avp(RTP_INSTANCE)")</tt><br>
<br>
Then after using rtpproxy_manage() etc, the avp will be set.<br>
<tt><br>
if (rtpproxy_manage("eiro") < 0)</tt><tt><br>
</tt><tt>{</tt><tt><br>
</tt><tt> sl_reply_error();</tt><tt><br>
</tt><tt> exit;</tt><tt><br>
</tt><tt>}</tt><tt><br>
</tt><tt>xlog("L_INFO", "chosen instance $avp(RTP_INSTANCE)\n");</tt><tt><br>
</tt><br>
Regards,<br>
Hugh<div><div class="h5"><br>
<br>
On 04/12/2013 12:25, murthy ch wrote:<br>
</div></div></div>
<blockquote type="cite"><div><div class="h5">
<div dir="ltr">
<div>Hi,<br>
<br>
<br>
</div>
<div>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.<br>
<br>
<br>
</div>
<div>Thank You,<br>
</div>
<div>Murthy.<br>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
sr-dev mailing list
<a href="mailto:sr-dev@lists.sip-router.org" target="_blank">sr-dev@lists.sip-router.org</a>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a><span class="HOEnZb"><font color="#888888">
</font></span></pre><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<br>
<pre cols="72">--
Hugh Waite
Principal Design Engineer
Crocodile RCS Ltd.</pre>
</font></span></div>
<br>_______________________________________________<br>
sr-dev mailing list<br>
<a href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a><br>
<br></blockquote></div><br></div>