[SR-Users] Dispatcher does not send pings

2011-12-19 Thread Mino Haluz
Hi, please, could someone specify the conditions when the dispatcher module sends the INFO pings to the gateways ? modparam(dispatcher, flags, 2) modparam(dispatcher, dstid_avp, $avp(s:test)) modparam(dispatcher, dst_avp, $avp(AVP_DST)) modparam(dispatcher, grp_avp, $avp(AVP_GRP))

Re: [SR-Users] using xhttp_rpc to send MESSAGE to SIP user from web server

2011-12-19 Thread Daniel-Constantin Mierla
Hello, On 12/17/11 6:08 PM, Ovidiu Sas wrote: It is rather difficult to properly craft SIP messages in a single line (to properly pass all parameters). Therefore, the xhttp_rpc module does not support this kind of functionality. Asynchronous commands are not implemented by the xhttp_rpc module:

Re: [SR-Users] Dispatcher does not send pings

2011-12-19 Thread Daniel-Constantin Mierla
Hello, is this at least version 3.2.1 (or the latest branch 3.2)? What do you get with: kamctl fifo ds_list? Cheers, Daniel On 12/19/11 12:49 PM, Mino Haluz wrote: Hi, please, could someone specify the conditions when the dispatcher module sends the INFO pings to the gateways ?

Re: [SR-Users] Dispatcher does not send pings

2011-12-19 Thread Mino Haluz
This is in the log file: ERROR: dispatcher [dispatcher.c:640]: failover functions used, but AVPs paraamters required are NULL -- feature disabled and the output of kamctl fifo ds_list: SET_NO:: 1 SET:: 1 URI:: sip:IP1:5060 flags=AX priority=0 attrs= URI:: sip:IP2:5060 flags=AX priority=0

Re: [SR-Users] using xhttp_rpc to send MESSAGE to SIP user from web server

2011-12-19 Thread Krishna Kurapati
Daniel, Thanks for the clarification. Since mi_xmlrpc is equivalent to mi_fifo, I could use this module to send MESSAGE and INVITE from a remote server. Krish Kura On Mon, Dec 19, 2011 at 6:27 AM, Daniel-Constantin Mierla mico...@gmail.com wrote: Hello, On 12/17/11 6:08 PM, Ovidiu Sas

[SR-Users] Suggestions for time utils

2011-12-19 Thread Andreas Granig
Hi, I'd like to implement a couple of helper functions for time handling, e.g. checking day of week, day of month etc. from within the kamailio config file. What would you prefer, a new module (timeutils maybe?) or adding it to cfgutils (there are already time-based functions there like sleep and

Re: [SR-Users] using xhttp_rpc to send MESSAGE to SIP user from web server

2011-12-19 Thread Daniel-Constantin Mierla
Hello, On 12/19/11 1:39 PM, Krishna Kurapati wrote: Daniel, Thanks for the clarification. Since mi_xmlrpc is equivalent to mi_fifo, I could use this module to send MESSAGE and INVITE from a remote server. mi_xmlrpc depends on specific versions of libxmlrpc client, on some distros it cannot

Re: [SR-Users] Dispatcher does not send pings

2011-12-19 Thread Mino Haluz
Updated to 3.2.1 (debian package) and still the same behaviour. version: kamailio 3.2.1 (i386/linux) flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, DBG_QM_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT,

[SR-Users] rtpproxy and IP6 in c= line

2011-12-19 Thread Andreas Granig
Hi, Is there a flag in the rtpproxy module to force a change of the IP protocol field? When a call comes from an IPv4 endpoint and you do the bridging to IPv6, then the c= and o= lines contain the IPv6 address, but the address family is still IP4 (e.g. c=IN IP4 10.10.8.22 becomes c=IN IP4

Re: [SR-Users] Dispatcher does not send pings

2011-12-19 Thread Mino Haluz
Ok, my mistake, the modparams related to dispatcher module were in !endif that was not processed. In future, I will do not edit the cfg file without code highlighting ..arrg On Mon, Dec 19, 2011 at 3:56 PM, Mino Haluz mino.ha...@gmail.com wrote: Updated to 3.2.1 (debian package) and still the

Re: [SR-Users] rtpproxy and IP6 in c= line

2011-12-19 Thread Andreas Granig
Is there something special to be taken into consideration? I couldn't find any hints in the rtpproxy module that it tries or would try to set that correctly (kam-3.1.5). Actually there IS some handling for that in rtpproxy.c:alter_mediaip(), gonna figure out why it doesn't work for me :)

Re: [SR-Users] rtpproxy and IP6 in c= line

2011-12-19 Thread Andreas Granig
Solved, it was completely my fault. The rtpproxy daemon needs to pass back a flag indicating IP4/IP6 in its answer to the rtpproxy module of kamailio. Sorry bothering you! Andreas On 12/19/2011 05:16 PM, Andreas Granig wrote: Is there something special to be taken into consideration? I couldn't

Re: [SR-Users] force_send_socket and IPv6

2011-12-19 Thread Andreas Granig
Hi Marius, On 12/15/2011 05:47 PM, marius zbihlei wrote: I have attached an improved version (uses inet_pton instead of manually parsing the address) of the str2ip6 function that was failing initially. Can you test it against force_send_socket() with an IP address in the form

Re: [SR-Users] Suggestions for time utils

2011-12-19 Thread Daniel-Constantin Mierla
Hello, On 12/19/11 1:58 PM, Andreas Granig wrote: Hi, I'd like to implement a couple of helper functions for time handling, e.g. checking day of week, day of month etc. from within the kamailio config file. What would you prefer, a new module (timeutils maybe?) or adding it to cfgutils (there

Re: [SR-Users] Suggestions for time utils

2011-12-19 Thread Andreas Granig
Hi Daniel, On 12/19/2011 07:29 PM, Daniel-Constantin Mierla wrote: I don't know what are all the functions you think of, but for the example provided above, config file does it easy right now. There is a pseudo-variable that gives broken-time attribute that can be used with avp_check(), iirc,

Re: [SR-Users] Suggestions for time utils

2011-12-19 Thread Daniel-Constantin Mierla
Hello, On 12/19/11 7:50 PM, Andreas Granig wrote: Hi Daniel, On 12/19/2011 07:29 PM, Daniel-Constantin Mierla wrote: I don't know what are all the functions you think of, but for the example provided above, config file does it easy right now. There is a pseudo-variable that gives broken-time

[SR-Users] Why? there isn't a syslog.conf under my kamailio directory?

2011-12-19 Thread sunny_day
There should be a syslog.conf file under the kamailio directory. But I haven't. I only want to see the contents generated by xlog Why? Who can help me ? Thanks a lot. albert.gu___ SIP Express Router (SER) and Kamailio (OpenSER) -