[SR-Users] MSRP Relay with Kamailio

2011-12-13 Thread Juha Heinanen
Krishna Kurapati writes: > I would like to use MSRP as part of SIP communication for > session based IM, and file transfer. > > Is there an MSRP relay software that works well with Kamailio? this one has worked ok for me: http://msrprelay.org/ -- juha _

[SR-Users] MSRP Relay with Kamailio

2011-12-13 Thread Krishna Kurapati
Dear List members, I would like to use MSRP as part of SIP communication for session based IM, and file transfer. Is there an MSRP relay software that works well with Kamailio? Appreciate any help. Thanks Krish Kura ___ SIP Express Router (SER) and Ka

[SR-Users] Double Invite / Issue

2011-12-13 Thread Brandon Armstead
Hello, I am running into a problem where I am experiencing duplicated INVITE's being originated from Kamailio proxy. U 2011/12/13 23:58:17.543802 KAMAILIO:5060 -> PSTN:5060 INVITE sip:URI@PSTN SIP/2.0. U 2011/12/13 23:58:17.543840 KAMAILIO:5060 -> PSTN:5060 INVITE sip:URI@PSTN SIP/2.0. As y

Re: [SR-Users] syncing db_text acc table

2011-12-13 Thread Daniel-Constantin Mierla
Hello, db_text keeps data in memory, the main reason being updates of the records, which will be hard to sync to disk in a text file every time, considering multi-process architecture of kamailio. Perhaps you should look at db_flatstore for a need of storing acc record to text files. Other a

Re: [SR-Users] syncing db_text acc table

2011-12-13 Thread Pedro Antonio Vico Solano
Hello Carsten, How are you? I've tried to disable caching (modparam("db_text", "db_mode", 1) but it remains the same. I've read the module README file and it seems that it is not implemented: [..] NOTE: even when is in non-caching mode, the module does not write back to hard drive after changes.

Re: [SR-Users] syncing db_text acc table

2011-12-13 Thread Carsten Bock
Hi Pedro, You need to disable the caching mode in db_text, see here: http://kamailio.org/docs/modules/devel/modules_k/db_text.html#id2530805 Kind regards from Hamburg, Carsten 2011/12/13 Pedro Antonio Vico Solano : > Hello, > > I'm using Kamailio 3.1.5 with db_text module. I'm trying to save acc

[SR-Users] syncing db_text acc table

2011-12-13 Thread Pedro Antonio Vico Solano
Hello, I'm using Kamailio 3.1.5 with db_text module. I'm trying to save accounting information on the acc file. Everything seems to work fine but accounting records are only written on the file when Kamailio program shutdowns. usrloc tables have a configuration parameter for persistent storage mo

Re: [SR-Users] problem forking to dbaliase

2011-12-13 Thread Yufei Tao
Hi Daniel Thanks very much for the quick response - and it works fine now :) Cheers, Yufei On 13/12/11 16:05, Daniel-Constantin Mierla wrote: > Hello, > > On 12/13/11 2:31 PM, Yufei Tao wrote: >> Hi >> >> I'm using Kamailio 3.1.5 and want to fork calls to all members in the >> same group defined

Re: [SR-Users] problem forking to dbaliase

2011-12-13 Thread Daniel-Constantin Mierla
Hello, On 12/13/11 2:31 PM, Yufei Tao wrote: Hi I'm using Kamailio 3.1.5 and want to fork calls to all members in the same group defined in dbaliase. e.g. alias_username is 'clients' for 3 usernames: 'clientone', 'clienttwo', 'clientthree'. If any of the 3 users are online, call to the alias_u

Re: [SR-Users] Fwd: commands out of sync you can't run this command now

2011-12-13 Thread Daniel-Constantin Mierla
On 12/13/11 3:33 PM, MingHon wrote: ya debug is set to 3 already.. also #!define WITH_DEBUG dont hav any -d command.. Interesting, maybe your syslog is diverting DEBUG level to a different file. Anyhow, I was hunting the tail overlapping issue which might be related or not to db connection

[SR-Users] Fwd: commands out of sync you can't run this command now

2011-12-13 Thread MingHon
ya debug is set to 3 already.. also #!define WITH_DEBUG dont hav any -d command.. On Tue, Dec 13, 2011 at 9:06 PM, Daniel-Constantin Mierla wrote: > I cannot see any DEBUG messages, are you sure the debug=3 in your config > and you dont have other -d command line parameters? > > Cheers, > Da

Re: [SR-Users] set host as inactive and probing in dispatcher

2011-12-13 Thread Uri Shacked
Hi, I upgraded to 3.2.1 and the dispatcher works perfect !! Thanks. On Tue, Dec 13, 2011 at 1:03 PM, Daniel-Constantin Mierla wrote: > > > On 12/13/11 11:45 AM, Uri Shacked wrote: > > thanks, > > I work with centos... > > rpms for latest stable release of 3.2.x series are generated and availabl

[SR-Users] problem forking to dbaliase

2011-12-13 Thread Yufei Tao
Hi I'm using Kamailio 3.1.5 and want to fork calls to all members in the same group defined in dbaliase. e.g. alias_username is 'clients' for 3 usernames: 'clientone', 'clienttwo', 'clientthree'. If any of the 3 users are online, call to the alias_username 'clients' looks fine: INVITE is forked t

Re: [SR-Users] commands out of sync you can't run this command now

2011-12-13 Thread Daniel-Constantin Mierla
I cannot see any DEBUG messages, are you sure the debug=3 in your config and you dont have other -d command line parameters? Cheers, Daniel On 12/13/11 12:58 PM, MingHon wrote: Hi, the attachment was 2mb i remove it from approval. i did sentto ur email too.. anyway i attached the file with

Re: [SR-Users] route return value confusion

2011-12-13 Thread Daniel-Constantin Mierla
On 12/13/11 1:25 PM, Juha Heinanen wrote: Daniel-Constantin Mierla writes: coding wise might not be a lot, thus I haven't analyzed all the cases where functions are evaluated by return code, but it will impact and break config file as it used to be so far, for example: route[x] { return -

Re: [SR-Users] route return value confusion

2011-12-13 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > coding wise might not be a lot, thus I haven't analyzed all the cases > where functions are evaluated by return code, but it will impact and > break config file as it used to be so far, for example: > > route[x] { > return -1; > } > > if(route(x)) will be t

[SR-Users] RTP rePacketization

2011-12-13 Thread Arif Tuhin
HiI need to use the rtp repacketization feature of rtpproxy. Now i have also some custom rtp obsfucation modules which hides the rtp header and rtp payload size. Now if i want to use rtp repacketization(for_rtp_proxy(zNN)) , would it work? I mean does the rtp repacketization requires any header

Re: [SR-Users] route return value confusion

2011-12-13 Thread Daniel-Constantin Mierla
On 12/13/11 1:03 PM, Juha Heinanen wrote: Daniel-Constantin Mierla writes: Thus, no matter what code you return from a subroute, you have to compare against 0 (for negative return code) or 1 (for positive return code). Solutions/alternatives: is it not an alternative to fix to change the cu

Re: [SR-Users] route return value confusion

2011-12-13 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > Thus, no matter what code you return from a subroute, you have to > compare against 0 (for negative return code) or 1 (for positive return > code). > > Solutions/alternatives: is it not an alternative to fix to change the current implementation so that the re

Re: [SR-Users] route return value confusion

2011-12-13 Thread Daniel-Constantin Mierla
Hello, On 12/12/11 11:15 AM, Morten Isaksen wrote: I had a similar problem with avp_db_query if (avp_db_query(...) == -2) { xlog("..."); } did not work, but $var(r) = avp_db_query(); if ($var(r) == -2) { xlog("..."); } did work. indeed, this is a solution. As stated in the previous

Re: [SR-Users] route return value confusion

2011-12-13 Thread Daniel-Constantin Mierla
Hello, I checked the code and this behaviour is practically due to special meaning of return codes from functions exported to config file, ie,: - <0 is false - >0 is true route(x) call is returning the code from route block itself, but then the interpreter converts the codes < 0 to 0 (so the

Re: [SR-Users] set host as inactive and probing in dispatcher

2011-12-13 Thread Daniel-Constantin Mierla
On 12/13/11 11:45 AM, Uri Shacked wrote: thanks, I work with centos... rpms for latest stable release of 3.2.x series are generated and available for download, details about distros at: http://www.kamailio.org/wiki/packages/rpms Cheers, Daniel On Tue, Dec 13, 2011 at 10:31 AM, Daniel-Cons

Re: [SR-Users] commands out of sync you can't run this command now

2011-12-13 Thread Daniel-Constantin Mierla
Hello, have you sent them to me or to mailing list? On the mailing list I could not find an attachment, also I didn't get an email on myself only. Cheers, Daniel On 12/13/11 10:39 AM, MingHon wrote: Hello, i attached the log/messages files please take a look... Cheers, Min

Re: [SR-Users] commands out of sync you can't run this command now

2011-12-13 Thread MingHon
> Hello, > > i attached the log/messages files please take a look... > > Cheers, > MingHon > > > On Tue, Dec 13, 2011 at 4:58 PM, Daniel-Constantin Mierla < > mico...@gmail.com> wrote: > >> Hello, >> >> >> On 12/13/11 9:24 AM, Daniel-Constantin Mierla wrote: >> >> Hello, >> >> are you using any pr

Re: [SR-Users] commands out of sync you can't run this command now

2011-12-13 Thread Daniel-Constantin Mierla
Hello, On 12/13/11 9:24 AM, Daniel-Constantin Mierla wrote: Hello, are you using any private developed module or extension? There seems to be a buffer overflow as well. if you don't have any private extension, can you send directly to me the entire log from start of kamailio with following

Re: [SR-Users] set host as inactive and probing in dispatcher

2011-12-13 Thread Daniel-Constantin Mierla
Hello, On 12/12/11 7:38 PM, Uri Shacked wrote: I installed with those instructions once... from scratch I thought mayby there is a quicker way (like update in windows msi. :-)) when my system is already configured nicely.. it is even better than windo$. For example, if you use debian (o

Re: [SR-Users] commands out of sync you can't run this command now

2011-12-13 Thread Daniel-Constantin Mierla
Hello, are you using any private developed module or extension? There seems to be a buffer overflow as well. if you don't have any private extension, can you send directly to me the entire log from start of kamailio with following global parameters: debug=3 memlog=4 memdbg=4 Cheers, Daniel