[sr-dev] Finding rtpproxy ip address

Hugh Waite hugh.waite at crocodile-rcs.com
Fri Dec 6 16:05:07 CET 2013


Hi,

This feature was only added to kamailio master - it is not available in 
version 4.1.0 or on the 4.1.x branch.
Are you building this from the latest master update?

Regards,
Hugh

On 06/12/2013 06:34, murthy ch wrote:
> 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 <mailto: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 list
>>     sr-dev at lists.sip-router.org  <mailto: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.
>
>
>     _______________________________________________
>     sr-dev mailing list
>     sr-dev at lists.sip-router.org <mailto:sr-dev at lists.sip-router.org>
>     http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>
>
>
>
> _______________________________________________
> 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/20131206/95726d6f/attachment.html>


More information about the sr-dev mailing list