Re: [SR-Users] Multi-Array with AVPs

2015-11-02 Thread Daniel-Constantin Mierla
-- > To: sr-users@lists.sip-router.org > From: mico...@gmail.com > Date: Wed, 28 Oct 2015 15:39:15 +0100 > Subject: Re: [SR-Users] Multi-Array with AVPs > > Hello, > > when adding an xavp structure, use: > > $xavp(a=>b) = "...

Re: [SR-Users] Multi-Array with AVPs

2015-10-29 Thread Jonathan Hunter
from scratch?ThanksJon To: sr-users@lists.sip-router.org From: mico...@gmail.com Date: Wed, 28 Oct 2015 15:39:15 +0100 Subject: Re: [SR-Users] Multi-Array with AVPs Hello, when adding an xavp structure, use: $xavp(a=>b) = "..."; Now, a

Re: [SR-Users] Multi-Array with AVPs

2015-10-28 Thread Daniel-Constantin Mierla
gt; > > From: hunter...@hotmail.com > To: sr-users@lists.sip-router.org > Date: Fri, 23 Oct 2015 17:13:47 + > Subject: [SR-Users] Multi-Array with AVPs > > Alex, > > Thanks for the fast response! > > I dont like hard mode, my lifes tough enough :) > > Will

Re: [SR-Users] Multi-Array with AVPs

2015-10-24 Thread Jonathan Hunter
2015 17:13:47 + Subject: [SR-Users] Multi-Array with AVPs Alex, Thanks for the fast response! I dont like hard mode, my lifes tough enough :) Will try the XAVPs. Thanks Jon > To: sr-users@lists.sip-router.org > From: abalas...@evaristesys.com > Date: Fri, 23 Oct 2015 13:07

[SR-Users] Multi-Array with AVPs

2015-10-23 Thread Jonathan Hunter
Alex, Thanks for the fast response! I dont like hard mode, my lifes tough enough :) Will try the XAVPs. Thanks Jon > To: sr-users@lists.sip-router.org > From: abalas...@evaristesys.com > Date: Fri, 23 Oct 2015 13:07:27 -0400 > Subject: Re: [SR-Users] Multi-Array with AVPs >

Re: [SR-Users] Multi-Array with AVPs

2015-10-23 Thread Alex Balashov
Jon, For complex, nonscalar structures where members can be other AVP nonscalars, you might wish to consider XAVPs instead: http://www.kamailio.org/wiki/cookbooks/4.3.x/pseudovariables#xavp_id_-_xavps Otherwise, you're playing life on hard mode. ;-) -- Alex On 10/23/2015 01:00 PM, Jonathan

[SR-Users] Multi-Array with AVPs

2015-10-23 Thread Jonathan Hunter
Hi Guys, Hope all are well? sorry to post but Im just trying to get something working where Im trying to convert a php function script into the kamailio.cfg. Im getting there but wonder how I can group results of sets of avps with another avp. Say I have these variables; $(avp(NTgrp)) = 'SB100_0