Re: [SR-Users] disptacher failover

2012-03-06 Thread Daniel-Constantin Mierla
Hello, it is a matter of the used dispatching algorithm. For a call, first gateway based on algorithm is selected and the rest, starting with the next, are added in a list of avps to be used for failover purposes. So if you do round robin and one gw is down, if you don't mark it as inactive, 2 ca

[SR-Users] XHTTP or XMLRPC modules

2012-03-06 Thread Uri Shacked
hi, i need to start some kind of proccess in my kamailio server (manualy, not by timer). the best way i can think of is to send a HTTP request. i can do it with the XMLRPC module, but i get an error because i dont realy send XML. i try the XHTTP module. but the event_rout[xhttp_request] does not

Re: [SR-Users] msilo is failing to in db connection...

2012-03-06 Thread Daniel-Constantine Mierla
fwd to the list - reply all failed in first place ... > Hello, > > the module connects in mod init to check the table version, otherwise it does > not do any message storage related operations with the database. It should > work fine at runtime even if mod init does not connect to db. > > B

Re: [SR-Users] msilo is failing to in db connection...

2012-03-06 Thread Krishna Kurapati
Hi, It finally worked. I reconstructed the config file step by step with the same modparam() and it worked. Still not sure what really was wrong before. The other day, I tried to create routes for sending asynchronous messages to web service and the entire system stopped working. The routes becam

[SR-Users] Backing up htable to SQL table ...

2012-03-06 Thread Krishna Kurapati
Hi, This is my first time attempt using htable module. How can I back up the htable content in the database incase the server restarts. I saw a htable in the MySQL database. My observation has been that htable module is not automatically backing up to database even though I added modparams to poin

[SR-Users] siptrace and duplicate_uri - not forwarding the packets

2012-03-06 Thread Mino Haluz
Hi, I have siptrace working but when I set duplicate_uri, no packet is sent to the destination. Was there some bug fix or anything I have to set further? There is nothing in syslog, siptrace locally is stored fine. modparam("siptrace", "db_url", "mysql://localhost/kamailio") # Databas

Re: [SR-Users] msilo is failing to in db connection...

2012-03-06 Thread Henning Westerholt
On Tuesday 06 March 2012, Krishna Kurapati wrote: > It finally worked. I reconstructed the config file step by step with the > same modparam() and it worked. Still not sure what really was wrong > before. > > The other day, I tried to create routes for sending asynchronous messages > to web servic

Re: [SR-Users] msilo is failing to in db connection...

2012-03-06 Thread Krishna Kurapati
Thanks for the advice. Krish On Tue, Mar 6, 2012 at 10:35 AM, Henning Westerholt wrote: > On Tuesday 06 March 2012, Krishna Kurapati wrote: > > It finally worked. I reconstructed the config file step by step with the > > same modparam() and it worked. Still not sure what really was wrong > > bef

[SR-Users] How to connect two legs of a call

2012-03-06 Thread Chester Wood
Hello, SIP newbie here. We are a new WISP offering voip to our residential customers. Due to IP address scarcity we have to use large scale NAT in our network. In order for our local customers to call each other and have good call quality we wish to connect their ATA's directly to each other rathe

Re: [SR-Users] Backing up htable to SQL table ...

2012-03-06 Thread Krishna Kurapati
I did little more digging into htable source code. It looks like syncing to database is happening when the module is being destroyed. To see if this is working, I tried to stop Kamailio and looked into the database. The htable is still empty. Any configuration changes required to make the process

[SR-Users] Improving Kamailo configuration parser ...

2012-03-06 Thread Krishna Kurapati
I used if ($var(x) != null) { ... } in one of the routes, and tried to run Kamailio server. The server exited with an error. I did not know why. Once I changed it to if ($var(x) != $null) {} the error went away. I missed $ infront null. I think it is hard to trace such problems once a large chun

Re: [SR-Users] Improving Kamailo configuration parser ...

2012-03-06 Thread Skyler
I understand the pain. One thing I found was vim syntax highlighting and there was a thread before that I saw for midnight commander syntax also. I have not tried either but maybe it could help in syntax for your needs Skyler Sent from my iPhone On Mar 6, 2012, at 6:05 PM, Krishna Kurapati wr