Please keep the discussion on list - cc: the list.
I see no indication in the documentation that avp_write() is a function that exists, even going back to 1.4.x.
On 01/10/2011 04:54 PM, Amit Nepal wrote:
Kamailio 3.1
Thank You Amit Nepal Systems Administrator Phoenix Internet Phone: 602-385-0731 602-234-0917#112 http://www.phoenixinternet.net
On 1/10/2011 2:50 PM, Alex Balashov wrote:
On 01/10/2011 04:48 PM, Amit Nepal wrote:
I am getting missing loadmodule issue with avp_write. I have the following statement on line 11 and i am getting this error. Could you please help me on this. But i can load from db using avp_db_load and i can delete avp values but only avp_write is not working.
avp_write("$ruri", "s:fwd_blind");
loading modules under /usr/local/lib/kamailio/modules_k/:/usr/local/lib/kamailio/modules/ 0(2361) : <core> [cfg.y:3412]: parse error in config file /usr/local/etc/kamailio/cfgs/pstn.cfg, line 11, column 39: unknown command, missing loadmodule?
ERROR: bad config file (1 errors)
Which version of Kamailio?
On 01/10/2011 04:57 PM, Alex Balashov wrote:
Please keep the discussion on list - cc: the list.
I see no indication in the documentation that avp_write() is a function that exists, even going back to 1.4.x.
It looks like it hasn't existed since 1.3.x:
http://www.kamailio.org/docs/modules/1.3.x/avpops.html#AEN320
I need to store the value of $ruri into the avp , so can you tell me how would i accomplish that ?
Thank You Amit Nepal Systems Administrator Phoenix Internet Phone: 602-385-0731 602-234-0917#112 http://www.phoenixinternet.net
On 1/10/2011 3:09 PM, Alex Balashov wrote:
On 01/10/2011 04:57 PM, Alex Balashov wrote:
Please keep the discussion on list - cc: the list.
I see no indication in the documentation that avp_write() is a function that exists, even going back to 1.4.x.
It looks like it hasn't existed since 1.3.x:
http://www.kamailio.org/docs/modules/1.3.x/avpops.html#AEN320
On 01/10/2011 05:14 PM, Amit Nepal wrote:
I need to store the value of $ruri into the avp , so can you tell me how would i accomplish that ?
It's much easier in the modern incarnation.
$avp(s:fwd_blind) = $ru;
:-)
On 1/10/11 11:15 PM, Alex Balashov wrote:
On 01/10/2011 05:14 PM, Amit Nepal wrote:
I need to store the value of $ruri into the avp , so can you tell me how would i accomplish that ?
It's much easier in the modern incarnation.
$avp(s:fwd_blind) = $ru;
even more: 's:' is optional if the avp has string name and no avp-alias for that string is defined :-) :
$avp(fwd_blind) = $ru;
Cheers, Daniel
Thank you for your help Daniel,Alex.
Thank You Amit Nepal Systems Administrator Phoenix Internet Phone: 602-385-0731 602-234-0917#112 http://www.phoenixinternet.net
On 1/10/2011 3:48 PM, Daniel-Constantin Mierla wrote:
On 1/10/11 11:15 PM, Alex Balashov wrote:
On 01/10/2011 05:14 PM, Amit Nepal wrote:
I need to store the value of $ruri into the avp , so can you tell me how would i accomplish that ?
It's much easier in the modern incarnation.
$avp(s:fwd_blind) = $ru;
even more: 's:' is optional if the avp has string name and no avp-alias for that string is defined :-) :
$avp(fwd_blind) = $ru;
Cheers, Daniel