Re: [SR-Users] IPv6

2011-05-24 Thread Henning Westerholt
On Monday 23 May 2011, Jon Farmer wrote: > > ok, let me know how is going with the testing of ipv6 -- the support is > > in core since 2002, but not many entered the challenge so far :-) > > So today I got one phone with an IPv4 address and another with a IPv6 > address to register to the the same

Re: [SR-Users] IPv6

2011-05-24 Thread Daniel-Constantin Mierla
Hello, On 5/23/11 7:24 PM, Jon Farmer wrote: On 20 May 2011 17:54, Daniel-Constantin Mierla wrote: ok, let me know how is going with the testing of ipv6 -- the support is in core since 2002, but not many entered the challenge so far :-) Cheers, Daniel So today I got one phone with an IPv4 a

Re: [SR-Users] struct run_act_ctx

2011-05-24 Thread Daniel-Constantin Mierla
Hello, On 5/23/11 3:49 PM, Bruno Bresciani wrote: Hi, I'd like to know the functionality of the struct run_act_ctx. I need to adapt my route module to use this struct, the function do_action require this parameter. I'm migrating of the kamailio 1.5.0 to 3.1.2. the structure holds some attribu

Re: [SR-Users] app_lua in kamailio

2011-05-24 Thread Daniel-Constantin Mierla
Hello, please do not write direct private emails for questions about kamailio, use public mailing list sr-users@lists.sip-router.org (cc-ed) -- private emails are ignored, after the first notification. exit is not a function exported by a module, it is implemented in core. On the other hand,

Re: [SR-Users] ~ operator has no effect

2011-05-24 Thread Daniel-Constantin Mierla
Hello, I re-added the operator over the weekend in master branch. It would be great if you can test and report eventual issues. Thanks, Daniel On 5/19/11 9:48 AM, Daniel-Constantin Mierla wrote: On 5/18/11 8:36 AM, Juha Heinanen wrote: Brandon Armstead writes: Quick correction: $var

[SR-Users] ser_ctl / serweb

2011-05-24 Thread Claudio Furrer
Hi all, Just want to ask if ser_ctl application will be merged into sr3.1 or future releases. By the moment I've found it here [1], [2] or [3]. Is it full compatible with sip-router v3.x? I know kamctl and kamdbctl would be suggested but these are for kamailio flavour. I don't find too much wo

[SR-Users] htable ::size has wrong value

2011-05-24 Thread Juha Heinanen
i have entries in htable with key name lpi::20033::prefix: # sip-proxy_ctl mi sht_dump htable | egrep 20033 lpi::20033::prefix[0]:: +3583796294 lpi::20033::prefix[1]:: +35837824030 lpi::20033::prefix::size:: 1 as you see in above, size of that key name is 1 although there clearly is two entries i

[SR-Users] 3.1.x and Kamailio compatibility mode

2011-05-24 Thread Klaus Darilion
Hi! Is #!KAMAILIO still necessary with Kamailio 3.1.x? If yes, which behavior is changed by #!KAMAILIO? Thanks Klaus ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/c

[SR-Users] SEMS 1.4.1 release

2011-05-24 Thread Raphael Coeffic
We are happy to announce the availability of the SIP Express Media Server version 1.4.1. As 1.4.1 is a bug-fix release, there are no real new features. However, there is a long list of bug-fixes. Anyone using 1.4.0 is highly recommended to update to 1.4.1. SEMS can be downloaded in source f

Re: [SR-Users] struct run_act_ctx

2011-05-24 Thread Bruno Bresciani
Thank's Daniel 2011/5/24 Daniel-Constantin Mierla > Hello, > > > On 5/23/11 3:49 PM, Bruno Bresciani wrote: > >> Hi, >> >> I'd like to know the functionality of the struct run_act_ctx. I need to >> adapt my route module to use this struct, the function do_action require >> this parameter. I'm m

[SR-Users] undefined symbol error

2011-05-24 Thread Bruno Bresciani
Hi, Someone know tell me why kamailio generate the following error when I try load the route.so module: May 24 10:21:43 sswpst00 kamailio: ERROR: [sr_module.c:523]: ERROR: load_module: could not open module : /home2/local/kamailio/lib/kamailio/modules/route.so: undefined symbol: db_use_table I

Re: [SR-Users] undefined symbol error

2011-05-24 Thread Daniel-Constantin Mierla
Hello, On 5/24/11 8:41 PM, Bruno Bresciani wrote: Hi, Someone know tell me why kamailio generate the following error when I try load the route.so module: May 24 10:21:43 sswpst00 kamailio: ERROR: [sr_module.c:523]: ERROR: load_module: could not open module : /home2/local/kamailio/lib/kam

Re: [SR-Users] app_lua in kamailio

2011-05-24 Thread Daniel-Constantin Mierla
On 5/24/11 8:45 PM, Bret McDanel wrote: On Tue, 2011-05-24 at 12:38 +0200, Daniel-Constantin Mierla wrote: exit is not a function exported by a module, it is implemented in core. On the other hand, you try to stop the kamailio cfg interpreter when lua interpreter is executing the Lua script,

Re: [SR-Users] app_lua in kamailio

2011-05-24 Thread Juha Heinanen
Bret McDanel writes: > How does one set a variable and subsequently access it outside of lua? > I tried what I thought was correct, but absent any documentation I can > find I cant seem to get that to work. there must be some documentation somewhere, since i was able to write a couple of lua func

Re: [SR-Users] 3.1.x and Kamailio compatibility mode

2011-05-24 Thread Daniel-Constantin Mierla
Hello, On 5/24/11 6:49 PM, Klaus Darilion wrote: Hi! Is #!KAMAILIO still necessary with Kamailio 3.1.x? If yes, which behavior is changed by #!KAMAILIO? it is still good to turn on vim syntax highlighting :-) (if you installed the files from utils/misc/vim/ in ~/.vim/), otherwise is not chang

Re: [SR-Users] htable ::size has wrong value

2011-05-24 Thread Daniel-Constantin Mierla
Hello, On 5/24/11 4:40 PM, Juha Heinanen wrote: i have entries in htable with key name lpi::20033::prefix: # sip-proxy_ctl mi sht_dump htable | egrep 20033 lpi::20033::prefix[0]:: +3583796294 lpi::20033::prefix[1]:: +35837824030 lpi::20033::prefix::size:: 1 as you see in above, size of that ke

Re: [SR-Users] htable ::size has wrong value

2011-05-24 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > If the value is invalid at startup/reload, then something is wrong, > indeed. daniel, here you go: # sip-proxy_ctl mi sht_reload htable # sip-proxy_ctl mi sht_dump htable | egrep 20033 lpi::20033::prefix[0]:: +3583796294 lpi::20033::prefix[1]:: +35837824030 lp

Re: [SR-Users] htable ::size has wrong value

2011-05-24 Thread Juha Heinanen
Juha Heinanen writes: > here you go: > > # sip-proxy_ctl mi sht_reload htable > # sip-proxy_ctl mi sht_dump htable | egrep 20033 > lpi::20033::prefix[0]:: +3583796294 > lpi::20033::prefix[1]:: +35837824030 > lpi::20033::prefix::size:: 1 now when i took closer look at the db table, it actually co

Re: [SR-Users] htable ::size has wrong value

2011-05-24 Thread Juha Heinanen
the query in ht_db_load_table is select key_name,key_type,value_type,key_value from htable order by key_type; that is records are ordered by key_type, which means that 0 entries come first and 1 entries after that. in ht_db_load_table function there is test in the loop: if(ktype==0 &&

Re: [SR-Users] undefined symbol error

2011-05-24 Thread Bruno Bresciani
yes this module I developed for kamailio 1.5.0 but now I'm migrating to kamailio 3.1.2... why I have include in my Makefile "DEFS+=-DOPENSER_MOD_INTERFACE" and not "DEFS+= -DKAMAILIO_MOD_INTERFACE"? I want compile the kamailio, not ser. Regards. 2011/5/24 Daniel-Constantin Mierla > Hello, > > >

Re: [SR-Users] undefined symbol error

2011-05-24 Thread Daniel-Constantin Mierla
Hello, On 5/24/11 10:13 PM, Bruno Bresciani wrote: yes this module I developed for kamailio 1.5.0 but now I'm migrating to kamailio 3.1.2... why I have include in my Makefile "DEFS+=-DOPENSER_MOD_INTERFACE" and not "DEFS+= -DKAMAILIO_MOD_INTERFACE"? I want compile the kamailio, not ser. this

[SR-Users] Wildcard TLS

2011-05-24 Thread Jon Farmer
Hi I am just wondering if it is possible to use a wildcard certificate with TLS. I have hundreds of customers who are using subdomains of the main domain name on a virtual PBX platform. i.e if the main domain is example.org I have customers using cust1.example.org cust2.example.org cust3.example

[SR-Users] 302 rewrite ruri based on contact

2011-05-24 Thread Omar
I need to rewrite the destination after I receive 302 I have this logic Onreply Loads in avp the information needed I try sending to failure route and to a route in both cases the $ru become In the route and failureroute I did try rewritehost, rewriteuri, $ru= number+ host And append the rout

[SR-Users] Cancel issue

2011-05-24 Thread Carl Wagner
Hi, I am having an issue getting Kamailio to properly cancel a call. I initiate the call with an INVITE from Asterisk and then hang up. According to rfc3665 the call flow should be: 3.8. Unsuccessful No Answer Alice Proxy 1 Proxy 2Bob ||

Re: [SR-Users] 302 rewrite ruri based on contact

2011-05-24 Thread Ovidiu Sas
Here's an example on how to perform forking on failure on 1.4: https://openser.svn.sourceforge.net/svnroot/openser/branches/1.4/examples/serial_183.cfg Regards, Ovidiu Sas On Tue, May 24, 2011 at 4:30 PM, Omar wrote: > > I need to rewrite the destination after I receive 302 > I have this logic

[SR-Users] app_lua problem setting module parameter

2011-05-24 Thread Bret McDanel
In 3.1.1 this worked just fine. In 3.1.3 it is giving me an error. I am unsure what to check at this point for why it would be failing. I am doing a kamailio -c to validate the config and not actually launching the program but I do not think that should cause this. modparam("app_lua", "register

[SR-Users] Cancel issue

2011-05-24 Thread Juha Heinanen
Carl Wagner writes: > It looks like the problem is that that "200 Canceling" has a To: tag and > it shouldn't. where did you learn that? -- juha Regardless of the method of the original request, as long as the CANCEL matched an existing transaction, the UAS answers the CANCEL request itself wi