[SR-Users] Kamailio and Asterisk Integration

2010-12-06 Thread Kurt Mullen
There is a tutorial posted at http://kb.asipto.com/asterisk:realtime:kamailio-3.0.x-asterisk-1.6.2-astdb I am confused. It seems that this tutorial has Asterisk AND Kamailio on the same physical server. If this is true, why would you do that. I thought the point was to move Kamailio to a separ

[SR-Users] Kamailio and Asterisk Integration

2010-12-06 Thread Kurt Mullen
There is a tutorial posted at http://kb.asipto.com/asterisk:realtime:kamailio-3.0.x-asterisk-1.6.2-astdb I am confused. It seems that this tutorial has Asterisk AND Kamailio on the same physical server. If this is tru

Re: [SR-Users] Error opening Kamailio's FIFO

2010-12-06 Thread Kurt Mullen
; > loadmodule "mi_fifo.so" > > Path to modules is correct: > > mpath="modules_k:modules" > > #!else > > mpath="/usr/lib/kamailio/modules_k/:/usr/lib/kamailio/modules/" > > #!endif > > # - mi_fifo params - > > m

Re: [SR-Users] presence_xml and xpath

2010-12-06 Thread Andreas Granig
On 12/06/2010 07:17 PM, Daniel-Constantin Mierla wrote: > you can define many xml_ns parameters, each with different prefix. I > guess the inner xmlns overwrites the other one in your sample xml > document, so you have to use different prefix for that nodes: > > modparam("presence_xml", "xml_ns",

Re: [SR-Users] presence_xml and xpath

2010-12-06 Thread Daniel-Constantin Mierla
Hello, On 12/6/10 6:09 PM, Andreas Granig wrote: Hi Daniel, How is this actually supposed to work? What I'd like to do in the end is extracting for example the "none" from the "basic"-tag by specifying "xpath:/presence/tuple/status/basic", which also returns an empty string now, also when appe

Re: [SR-Users] presence_xml and xpath

2010-12-06 Thread Andreas Granig
Hi Daniel, >> How is this actually supposed to work? What I'd like to do in the end is >> extracting for example the "none" from the "basic"-tag by specifying >> "xpath:/presence/tuple/status/basic", which also returns an empty string >> now, also when appended with "/text()". > the problem is in

Re: [SR-Users] presence_xml and xpath

2010-12-06 Thread Daniel-Constantin Mierla
Hello, On 12/6/10 3:13 PM, Andreas Granig wrote: Hi, I'm having troubles fetching an xpath from an xml document using presence_xml, so I probably do something wrong (using kamailio 3.0.x): $xml(x=>doc) = 'none'; xlog("L_INFO", "all=$xml(x=>doc)\n"); -> prints the whole document, which is

[SR-Users] presence_xml and xpath

2010-12-06 Thread Andreas Granig
Hi, I'm having troubles fetching an xpath from an xml document using presence_xml, so I probably do something wrong (using kamailio 3.0.x): $xml(x=>doc) = 'none'; xlog("L_INFO", "all=$xml(x=>doc)\n"); -> prints the whole document, which is ok xlog("L_INFO", "tmp1=$xml(x=>xpath:/)\n"); -> a

Re: [SR-Users] Segmentation fault when loading dialplan

2010-12-06 Thread Javier Gallart
Hi Daniel it's a clean 64 bit instalallation. This is the list of loaded modules: loadmodule "db_mysql.so" #!endif loadmodule "db_postgres.so" loadmodule "mi_fifo.so" loadmodule "debugger.so" loadmodule "kex.so" loadmodule "tm.so" loadmodule "tmx.so" loadmodule "sl.so" loadmodule "rr.so" loadmodu

Re: [SR-Users] Segmentation fault when loading dialplan

2010-12-06 Thread Daniel-Constantin Mierla
Hello, On 12/6/10 11:08 AM, Javier Gallart wrote: Hello I haven't been able to fix this problem yet. Has anyone run into a similar issue? is it a clean 64b install, or is a mixed 32b - 64b. I wonder if the modules are linked to a different version of the library. I will try to get to a 64b

Re: [SR-Users] Segmentation fault when loading dialplan

2010-12-06 Thread Javier Gallart
Hello I haven't been able to fix this problem yet. Has anyone run into a similar issue? Thanks Javi On Sun, Nov 28, 2010 at 5:39 PM, Javier Gallart wrote: > Hi > > as you say, it also works for me in a 32b architechture (same kamailio > version,db drivers, insert command, configuration...). I

Re: [SR-Users] Error opening Kamailio's FIFO

2010-12-06 Thread Huy Nguyen
Hi, Please change as below: kamctlrc ## path to FIFO file OSER_FIFO="/tmp/kamailio_fifo" kamailio.cfg # - mi_fifo params - modparam("mi_fifo", "fifo_name", "/tmp/kamailio_fifo") Regards, Huy Nguyen www.htk-inc.com Date: Mon, 6 Dec 2010 11:28:08 +0200 From: marius.zbih...@

Re: [SR-Users] Error opening Kamailio's FIFO

2010-12-06 Thread marius zbihlei
On 12/06/2010 01:40 AM, Kurt Mullen wrote: Hello, I am getting this error when I try to run kamctl: ERROR: Error opening Kamailio's FIFO FIFO ERROR: Make sure you have the line 'modparam("mi_fifo", "fifo_name", "FIFO")' in your config ERROR: and also have loaded the mi_fifo module. I am a