Re: [SR-Users] force_rtp_proxy/rtpproxy_offer/answer not replacing ip addr.

2011-07-05 Thread MingHon
hello List, anyone could give some hints?? im still unable to rewrite the sdp body. hope to hear from you all. thanks -- Regards, MingHon On Tue, Jul 5, 2011 at 3:49 PM, MingHon wrote: > Hi List, > > im facing an issue that my kamailio proxy did not replace the ip address in > the invit

Re: [SR-Users] Kamailio 3.1.4 Compilation Error ('TMCB_DONT_ACK' undeclared)

2011-07-05 Thread Bruce McAlister
That fixed it, thanks Daniel On 05/07/2011 16:04, Daniel-Constantin Mierla wrote: > Hello, > > actually you missed to set the flavour to kamailio, i.e., > > make FLAVOUR=kamailio ... > > This TM callback is defined by default only in kamailio flavours. > According to your 'make' output, you compil

[SR-Users] kamailio - proxy/relay

2011-07-05 Thread Sunny
Hi list, I'm trying to configure kamailio to work as a OBP (Outbound Proxy). Basically KAMAILIO receive requests from UAs, after that it acts like a client and send those requests to the IP-PBX. On the same way the responses are forwarded from IP-PBX to the UAs. [UA] --> [KAMAILIO] --> [IP-PBX

Re: [SR-Users] Loading multiple htables from db on startup? (Kamailio 1.5)

2011-07-05 Thread Alex Balashov
On 07/05/2011 01:51 PM, Alex Balashov wrote: On 07/05/2011 11:46 AM, Robin Rodriguez wrote: So it uses the first defined database table, but then the last defined key_name and key_value. This appears to just be an oversight in the design of the module parameters. One can define multiple table

Re: [SR-Users] kamailio fails to start with kamctl start

2011-07-05 Thread Fabian Borot
thank you Henning, I will replace the lines on the kamctl script and report back the results > From: henning.westerh...@1und1.de > To: sr-users@lists.sip-router.org > Subject: Re: [SR-Users] kamailio fails to start with kamctl start > Date: Tue, 5 Jul 2011 18:19:10 +0200 > CC: fbo...@hotmail

Re: [SR-Users] Loading multiple htables from db on startup? (Kamailio 1.5)

2011-07-05 Thread Alex Balashov
On 07/05/2011 11:46 AM, Robin Rodriguez wrote: So it uses the first defined database table, but then the last defined key_name and key_value. This appears to just be an oversight in the design of the module parameters. One can define multiple tables, but the rest of the modparams are global

[SR-Users] Playing with dlg_bridge()

2011-07-05 Thread Roberto Fichera
Hi All in the list, I want to implement a click and dial feature using the xhttp interface but also keeping working the XCAP functionality. Than I added some code about the dialog module (it's my first time I try it) so that the URL look like http://localhost:5060/sip-bridge// #!ifdef WITH_XCAPSR

Re: [SR-Users] kamailio fails to start with kamctl start

2011-07-05 Thread Henning Westerholt
On Monday 27 June 2011, Fabian Borot wrote: > I fixed the problem but I would like somebody to shed some light into this > issue. > > I noticed that when I run kamailio w/o telling where to load the > kamailio.cfg file is when it failed. So I went to the kamctl script and > notice that in the sect

[SR-Users] Loading multiple htables from db on startup? (Kamailio 1.5)

2011-07-05 Thread Robin Rodriguez
Hi all, Currently running on 1.5.4-notls and using a single htable that gets loaded at startup ala modparam("htable", "htable", "local_routes=>size=4;autoexpire=0;dbtable=TABLE_A;") modparam("htable", "key_name_column", "NAME_1") modparam("htable", "key_value_column", "VALUE_1") modparam("htable"

Re: [SR-Users] Kamailio 3.1.4 Compilation Error ('TMCB_DONT_ACK' undeclared)

2011-07-05 Thread Henning Westerholt
On Tuesday 05 July 2011, Daniel-Constantin Mierla wrote: > actually you missed to set the flavour to kamailio, i.e., > > make FLAVOUR=kamailio ... > > This TM callback is defined by default only in kamailio flavours. > According to your 'make' output, you compiled ser. > > seas compiles fine for

[SR-Users] job offer: System administrator VoIP

2011-07-05 Thread Henning Westerholt
Job offer: Interested in working with one of the biggest Voice over IP networks in europe? We're hiring and have one additional IT operation position open in our team in Karlsruhe, Germany at the moment. You would be responsible in a team of motivated system administrators for the operation and ma

Re: [SR-Users] Kamailio 3.1.4 Compilation Error ('TMCB_DONT_ACK' undeclared)

2011-07-05 Thread Daniel-Constantin Mierla
Hello, actually you missed to set the flavour to kamailio, i.e., make FLAVOUR=kamailio ... This TM callback is defined by default only in kamailio flavours. According to your 'make' output, you compiled ser. seas compiles fine for me with kamailio. Perhaps seas should not be compiled by def

Re: [SR-Users] Kamailio 3.1.4 Compilation Error ('TMCB_DONT_ACK' undeclared)

2011-07-05 Thread Asgaroth
Thanks Henning, I will try that. On 05/07/2011 15:29, Henning Westerholt wrote: > On Tuesday 05 July 2011, Bruce McAlister wrote: >> Would someone be able to point me in the right direction here, I am >> trying to compile Kamailio 3.1.4 from git checkout and I am ending up >> with the following er

Re: [SR-Users] Kamailio 3.1.4 Compilation Error ('TMCB_DONT_ACK' undeclared)

2011-07-05 Thread Henning Westerholt
On Tuesday 05 July 2011, Bruce McAlister wrote: > Would someone be able to point me in the right direction here, I am > trying to compile Kamailio 3.1.4 from git checkout and I am ending up > with the following error: > [..] > seas_action.c: In function 'ac_uac_req': > seas_action.c:1097: error: 'T

[SR-Users] Kamailio 3.1.4 Compilation Error ('TMCB_DONT_ACK' undeclared)

2011-07-05 Thread Bruce McAlister
Hi All, Would someone be able to point me in the right direction here, I am trying to compile Kamailio 3.1.4 from git checkout and I am ending up with the following error: gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -mtune=opteron

Re: [SR-Users] more on asynchronous processing in config

2011-07-05 Thread Daniel-Constantin Mierla
Hello, On 7/5/11 2:03 PM, Alex Balashov wrote: Daniel, On 07/05/2011 06:04 AM, Daniel-Constantin Mierla wrote: Hello, over the weekend I exported to config file the two main functions from tm that allow to suspend the execution of a SIP request and resume it in another place. They are export

Re: [SR-Users] more on asynchronous processing in config

2011-07-05 Thread Alex Balashov
Daniel, On 07/05/2011 06:04 AM, Daniel-Constantin Mierla wrote: Hello, over the weekend I exported to config file the two main functions from tm that allow to suspend the execution of a SIP request and resume it in another place. They are exported through tmx module: - t_suspend() - will suspe

Re: [SR-Users] dbtext module

2011-07-05 Thread Bruno Bresciani
OK, for while I'll try work with database in text Best Regards 2011/7/5 Henning Westerholt > On Monday 04 July 2011, Bruno Bresciani wrote: > > Hi All, > > > > I'm using kamailio with database in text mode and i'd like to know if > > dbtext module has support the following parameters to s

Re: [SR-Users] "select count(*)" with avp_db_query always returns null

2011-07-05 Thread Andrade Ricardo (CI/AFU1)
Hi Daniel, Code: sql_query("openserdb", "SELECT count(*) FROM subscriber where username='foo'", "ra"); $avp(s:value) = $dbr(ra=>[0,0]); xlog("L_INFO", "avp(s:value)=$avp(s:value) (avp(s:value){s.int})=$(avp(s:value){s.int}) dbr(ra=>rows)=$dbr(ra=>rows)"); sql_resu

Re: [SR-Users] "select count(*)" with avp_db_query always returns null

2011-07-05 Thread Daniel-Constantin Mierla
Hello, On 7/5/11 12:07 PM, Andrade Ricardo (CI/AFU1) wrote: Hi Daniel, Hi Alex, Thanks! That looks great. Once commited, I'll test it, too. By the way, I've just tried with sql_query. It didn't work as well. Do you think it is fixed together with Alex's change? Shouldn't there be a warning/e

Re: [SR-Users] "select count(*)" with avp_db_query always returns null

2011-07-05 Thread Andrade Ricardo (CI/AFU1)
Hi Daniel, Hi Alex, Thanks! That looks great. Once commited, I'll test it, too. By the way, I've just tried with sql_query. It didn't work as well. Do you think it is fixed together with Alex's change? Shouldn't there be a warning/error message if the returned data type is not supported? Cod

Re: [SR-Users] "select count(*)" with avp_db_query always returns null

2011-07-05 Thread Daniel-Constantin Mierla
On 7/5/11 12:04 PM, Alex Balashov wrote: Does sqlops handle bigint these days? It's the same srdb1 API for Pg as avp_db_query(), right? So perhaps that's the wrong question. sqlops handle bigint but looking in the code it converts it to string. Then it can be converted to int via transforma

[SR-Users] more on asynchronous processing in config

2011-07-05 Thread Daniel-Constantin Mierla
Hello, over the weekend I exported to config file the two main functions from tm that allow to suspend the execution of a SIP request and resume it in another place. They are exported through tmx module: - t_suspend() - will suspend the execution of current sip request and then you can do some

Re: [SR-Users] "select count(*)" with avp_db_query always returns null

2011-07-05 Thread Alex Balashov
Does sqlops handle bigint these days? It's the same srdb1 API for Pg as avp_db_query(), right? So perhaps that's the wrong question. -- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.eva

Re: [SR-Users] "select count(*)" with avp_db_query always returns null

2011-07-05 Thread Daniel-Constantin Mierla
On 7/5/11 11:39 AM, Alex Hermann wrote: On Wednesday 29 June 2011, Andrade Ricardo (CI/AFU1) wrote: Perhaps this fits better into a bug report, but I'd like to know if somebody out there experienced a similar issue. I am executing a "select count" query using the avp_db_query function, but it

Re: [SR-Users] two uac behind same nat one uac remain Cflag:: 0

2011-07-05 Thread MingHon
Hi, Thanks for reply but i guess this is because of my sip alg issue. when my first uac register using src port 5062 and private ip but my sip alg change the private ip to public ip and and using the same src port 5062 so kamailio unable to detect the uac behind nat. im currently having issue

Re: [SR-Users] Hello, can you send me the useage of siremis?Thank you

2011-07-05 Thread Daniel-Constantin Mierla
Hello, siremis is a web management interface for kamailio sip server, so if you want to use it then you have to install kamailio as well. See more details about installation on siremis web site: http://siremis.asipto.com Cheers, Daniel On 6/24/11 3:58 AM, 吴明 wrote: HI: I'm a user of s

Re: [SR-Users] Kamailio 64bit Compile Errors

2011-07-05 Thread Daniel-Constantin Mierla
Hello, On 6/28/11 10:37 AM, Nathaniel L Keeling wrote: I am trying to install Kamailio 3.1.0 on Solaris 10 that is a sparc machine (v120) and is running a 64bit OS. When I originally performed the compile utilizing the instructions from the website, I was getting warnings about using 32 bit he

Re: [SR-Users] "select count(*)" with avp_db_query always returns null

2011-07-05 Thread Alex Hermann
On Wednesday 29 June 2011, Andrade Ricardo (CI/AFU1) wrote: > Perhaps this fits better into a bug report, but I'd like to know if > somebody out there experienced a similar issue. I am executing a "select > count" query using the avp_db_query function, but it is not storing the > results in any avp

Re: [SR-Users] two uac behind same nat one uac remain Cflag:: 0

2011-07-05 Thread Daniel-Constantin Mierla
Hello, can you add an xlog() message to print branch flags before save("location") and send the output for the two cases? xlog("message flags are: $mf [$mF]\n"); Also, you may use debugger module with cfgtrace feature to be sure the nat detection actions are executed for both cases. Cheers

Re: [SR-Users] Playing with XCAP_SERVER and Postgresql

2011-07-05 Thread Roberto Fichera
On 07/05/2011 11:23 AM, Daniel-Constantin Mierla wrote: > Hello, > > On 7/5/11 10:45 AM, Roberto Fichera wrote: >> Hi all in the List, >> >> I'm playing with the xcap_server using the jitsi client. Kamailio is v3.1.4 >> and postgresql is v8.4.8 under >> Fedora 14 64bit. Basically I'm getting the e

Re: [SR-Users] Presence and Presence_mwi

2011-07-05 Thread Daniel-Constantin Mierla
Hello, presence_mwi has to be triggered indeed by some external entity - the voicemail server. It was primarily developed to work for SEMS (SIP Express Media Server). Cheers, Daniel On 6/29/11 2:55 PM, Marvin59 wrote: Hi all, I am trying to configure kamailio-3.1.4 in order to send me MWI

Re: [SR-Users] "select count(*)" with avp_db_query always returns null

2011-07-05 Thread Daniel-Constantin Mierla
Hello, On 6/29/11 7:35 PM, Andrade Ricardo (CI/AFU1) wrote: Hi list, Perhaps this fits better into a bug report, but I'd like to know if somebody out there experienced a similar issue. I am executing a "select count" query using the avp_db_query function, but it is not storing the results in

Re: [SR-Users] Playing with XCAP_SERVER and Postgresql

2011-07-05 Thread Daniel-Constantin Mierla
Hello, On 7/5/11 10:45 AM, Roberto Fichera wrote: Hi all in the List, I'm playing with the xcap_server using the jitsi client. Kamailio is v3.1.4 and postgresql is v8.4.8 under Fedora 14 64bit. Basically I'm getting the error below. Jul 5 10:36:36 roberto /usr/sbin/kamailio[8529]: ERROR:

Re: [SR-Users] dbtext module

2011-07-05 Thread Daniel-Constantin Mierla
On 7/5/11 10:39 AM, Henning Westerholt wrote: On Monday 04 July 2011, Bruno Bresciani wrote: Hi All, I'm using kamailio with database in text mode and i'd like to know if dbtext module has support the following parameters to search: ilike; limit; offset; Hi Bruno, the db_text module only s

[SR-Users] Playing with XCAP_SERVER and Postgresql

2011-07-05 Thread Roberto Fichera
Hi all in the List, I'm playing with the xcap_server using the jitsi client. Kamailio is v3.1.4 and postgresql is v8.4.8 under Fedora 14 64bit. Basically I'm getting the error below. Jul 5 10:36:36 roberto /usr/sbin/kamailio[8529]: ERROR:

Re: [SR-Users] Session authorization just before initiate it

2011-07-05 Thread Roberto Fichera
On 07/04/2011 01:55 PM, Klaus Darilion wrote: > > Am 04.07.2011 12:38, schrieb Roberto Fichera: >> On 07/01/2011 11:32 PM, Klaus Darilion wrote: >>> Hi Roberto! >> Hi Klaus, >> >>> The best location of applying such a "policy" function depends on >>> several things: >>> >>> First, you need to have

Re: [SR-Users] dbtext module

2011-07-05 Thread Henning Westerholt
On Monday 04 July 2011, Bruno Bresciani wrote: > Hi All, > > I'm using kamailio with database in text mode and i'd like to know if > dbtext module has support the following parameters to search: > > ilike; > limit; > offset; Hi Bruno, the db_text module only support the basic operations that th

[SR-Users] force_rtp_proxy/rtpproxy_offer/answer not replacing ip addr.

2011-07-05 Thread MingHon
Hi List, im facing an issue that my kamailio proxy did not replace the ip address in the invite and 200OK sdp body. my rtpproxy is running: rtpproxy -l 192.168.1.3 -u:*:7722 -u user my kamailio is listening on 192.168.1.3, also define: advertised_address="175.136.223.112"; & advertised_port=5060