Re: [SR-Users] dispatcher: what is the syntax for dispatcher list file

2013-09-27 Thread Karimi-Cherkandi, Bizhan
I figured out the correct syntax: URI:: sip:10.233.20.106:5060;transport=tcp flag=A priority=2 attrs='bijan=xyz;td=1' Now the remaining question is: can dispatcher pass the priority to kamailio, for instance over an AVP? thanks From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun

Re: [SR-Users] dispatcher: what is the syntax for dispatcher list file

2013-09-27 Thread Karimi-Cherkandi, Bizhan
I am not using DB, so I am writing my dispatcher list file manually like below: 0 sip:10.233.20.171:5060;transport=udp A 1 bijan=zxy;td=1 0 sip:10.233.20.106:5060;transport=tcp A 2 bijan=xyz;td=1 But kamailio does not interpret flags and priority as I hoped. What would be correct syntax for writi

Re: [SR-Users] Communicate with Kamailio through external application

2013-09-27 Thread Charles Chance
Hi, So now only the one error. Which version of Kamailio are you running? Regards, Charles On 27 September 2013 13:44, Grant Bagdasarian wrote: > Hello, > > ** ** > > I didn’t, but I just loaded it, but I haven’t set any modparams yet. > > ** ** > > Now it’s giving me more error ou

Re: [SR-Users] Communicate with Kamailio through external application

2013-09-27 Thread Charles Chance
Hi, Regarding kamcmd failure - do you have the ctl module loaded? Regards, Charles On 27 September 2013 13:18, Grant Bagdasarian wrote: > Hello, > > ** ** > > The kamctl fifo ds_reload command works when I use it in putty. > > The kamcmd dispatcher.reload command does NOT work.

Re: [SR-Users] Communicate with Kamailio through external application

2013-09-27 Thread Grant Bagdasarian
Hello, The kamctl fifo ds_reload command works when I use it in putty. The kamcmd dispatcher.reload command does NOT work. Gives me the following error: root@proxy01:~# kamcmd dispatcher.reload ERROR: connect_unix_sock: connect(/tmp/kamailio_ctl): Connection refused [111] http://192.168.1.10/htt

Re: [SR-Users] Communicate with Kamailio through external application

2013-09-27 Thread Charles Chance
Hi, I think you are mixing up the MI and RPC commands. Try: kamctl fifo ds_reload or kamcmd dispatcher.reload (note the difference between kamctl and kamcmd) Regards, Charles On 27 September 2013 12:57, Grant Bagdasarian wrote: > What kind of DB handler do I need for the dispatcher mod

Re: [SR-Users] Error with ACK from SIPML5

2013-09-27 Thread Tais Plougmann Hansen
There's a whole lot of loglines at debug=4. I grabbed the block of lines that seem to belong to the failing INVITE. 2(5209) INFO:

Re: [SR-Users] Communicate with Kamailio through external application

2013-09-27 Thread Grant Bagdasarian
What kind of DB handler do I need for the dispatcher module? When executing the dispatcher.reload command I'm receiving the following error: 8(10201) ERROR: dispatcher [dispatch.c:725]: ds_load_db(): invalid DB handler root@proxy01:~# kamctl dispatcher reload ERROR: This command requires a databa

Re: [SR-Users] DNS SRV when no NAPTR

2013-09-27 Thread Øyvind Kolbu
On 2013-09-27 at 11:49, Daniel-Constantin Mierla wrote: > Haven't got time to get back to it -- hope to happen soon. I've taken a small peak and think I at least found some of the problem, but also got quite confused. What is the relationship between dns_cache.c:dns_srv_sip_resolvehost() and dns_

Re: [SR-Users] Communicate with Kamailio through external application

2013-09-27 Thread Grant Bagdasarian
Right! Totally forgot about that. Thanks, Kamailio is now receiving the requests! From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Charles Chance Sent: Friday, September 27, 2013 1:35 PM To: Kamailio (SER) - Users Mailing List Subject: Re: [

Re: [SR-Users] Communicate with Kamailio through external application

2013-09-27 Thread Charles Chance
Hi, Have you added the appropriate listen= and/or port= directive to your config? http://www.kamailio.org/wiki/cookbooks/4.0.x/core#listen http://www.kamailio.org/wiki/cookbooks/4.0.x/core#port Also make sure you have not disabled TCP. Regards, Charles On 27 September 2013 12:27, Grant Bagda

Re: [SR-Users] Communicate with Kamailio through external application

2013-09-27 Thread Grant Bagdasarian
What am I doing wrong here? # - xhttp params -- modparam("xhttp", "url_match", "null") # - xhttp_rpc params -- modparam("xhttp_rpc", "xhttp_rpc_root", "http_rpc") ### Routing Logic event_route[xhttp:request] { xlog("L_INFO", "*

Re: [SR-Users] Xcap_server error in kamailio 4.0.0

2013-09-27 Thread Daniel-Constantin Mierla
Hello, there is no log message from xcap_server module. Those from nathelper is due to execution of a function for a message with no sdp. The rest are INFO logs or a misconfiguration/wrong domain when using xmpp module. Cheers, Daniel On 9/26/13 4:09 PM, Kethzer Docteur wrote: Error in SIP

Re: [SR-Users] DNS SRV when no NAPTR

2013-09-27 Thread Daniel-Constantin Mierla
On 9/24/13 11:23 AM, Øyvind Kolbu wrote: On 18.09.2013 12:17, Daniel-Constantin Mierla wrote: On 9/18/13 12:04 PM, Øyvind Kolbu wrote: Correct, no NAPTR. Only SRV, but until yesterday, no _sip._udp and then it immediately tried an A lookup instead of attempting _sip._tcp. I have also tried to

Re: [SR-Users] Communicate with Kamailio through external application

2013-09-27 Thread Grant Bagdasarian
Thanks, I'll have a look at it. Looks much easier than setting up Ssh connections programmatically. From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Charles Chance Sent: Wednesday, September 25, 2013 1:12 PM To: Kamailio (SER) - Users Mailing