[sr-dev] Finding rtpproxy ip address
murthy ch
chnmurthy17 at gmail.com
Fri Dec 6 07:34:37 CET 2013
Hi Hugh,
Thank You very much for your support. When I tried to store IP address in
the given avp variable I got the bellow error.
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>
Thank You,
Murthy.
On Wed, Dec 4, 2013 at 11:52 PM, Hugh Waite <hugh.waite at crocodile-rcs.com>wrote:
> 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 listsr-dev at lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>
>
>
> --
> Hugh Waite
> Principal Design Engineer
> Crocodile RCS Ltd.
>
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20131206/bbeb1727/attachment.html>
More information about the sr-dev
mailing list