Re: [SR-Users] topoch and xHTTP

2013-05-28 Thread Daniel-Constantin Mierla
Great, thanks for posting back, Daniel On 5/27/13 5:55 PM, Julia wrote: Thank you Daniel, It works fine (without errors) with your patch. Best regards, Julia *From:*Daniel-Constantin Mierla [mailto:mico...@gmail.com]

Re: [SR-Users] TLS

2013-05-28 Thread Daniel-Constantin Mierla
Hello, you can set the ca_list file with those ca certificates you want to accept: http://kamailio.org/docs/modules/stable/modules/tls.html#ca_list Alternative, you accept all certificates and then use pv conditions to see and restrict the access based on who signed/emitted the client

[SR-Users] pv_trans:312 - substr out of range

2013-05-28 Thread Uri Shacked
Hi, can anyony tell me when will i get the following error : substr out of range. i saw it has something to do with the pv_trans.c file and i saw it there. but, is it related to shvset or to substr command BR, Uri ___ SIP Express Router (SER) and

Re: [SR-Users] Adding Contacts info from branches in 302 redirect not as expected

2013-05-28 Thread DanB
Hey Daniel, Many thanks for so fast reaction. As I always say, opensource beats proprietary in more than one way ;). The changes you did work smooth for me, the new redirect comes with proper enclosure characters for uri in branches: # U 2013/05/28 10:44:53.201933 127.0.0.1:5070 -

Re: [SR-Users] How does save(location) choose the subscriber

2013-05-28 Thread Daniel-Constantin Mierla
On 5/24/13 6:00 PM, Alex Balashov wrote: On 05/24/2013 11:58 AM, Mino Haluz wrote: if I do save(location) when receiving REGISTER, what is the header which indicates the subscriber for which it will be registered ? According to RFC 3261, the To header (To URI) contains the AoR (Address of

Re: [SR-Users] pv_trans:312 - substr out of range

2013-05-28 Thread Daniel-Constantin Mierla
Hello, this is printed when you try to get the sub-string starting at a position which is higher than the length of the value on which the substr is applied. For example: $var(x) = abc; $(var(x){s.substr,9,9}) - tries to get substring starting with 10th character, but the value has only 3

[SR-Users] Dispatcher ds_select_dst on branches

2013-05-28 Thread DanB
Hey Guys, I was wondering if I could get some guidance on my ideas. I would like to use dispatcher ds_select_dst on ruri in a branch. Is this scenario feasible or out of internals (winning branch maybe) impossible? The idea behind my scenario is to be able to dispatch separately branches

Re: [SR-Users] pv_trans:312 - substr out of range

2013-05-28 Thread Uri Shacked
Hi, got it :-) when using {s.substr,4,0} for example, and the variable length is shorter then 4... this error pop up. Uri On Tue, May 28, 2013 at 11:08 AM, Uri Shacked ushac...@gmail.com wrote: Hi, can anyony tell me when will i get the following error : substr out of range. i saw it has

[SR-Users] kamailio 4.0.1 websocket configuration

2013-05-28 Thread Rupayan Dutta
Hi All, I have build Kamailio 4.0.1 from source in CentOS 5.8(i386 architecture).I followed all instructions from http://www.kamailio.org/wiki/install/4.0.x/git.(Though Modules_k directory is not generated).I then edit kamailio.config file for websocket support as described in webocket.cfg

Re: [SR-Users] [sr-dev] Via header, branch parameter and syn_branch

2013-05-28 Thread Richard Brady
Thanks Henning! Should anything be done for 3.x? Feels like this is enough of a bug to warrant reverting to branch=0. Richard On 24 May 2013, at 14:54, Henning Westerholt h...@kamailio.org wrote: Am Donnerstag, 23. Mai 2013, 12:20:00 schrieb Henning Westerholt: [...] And should the next

Re: [SR-Users] Adding Contacts info from branches in 302 redirect not as expected

2013-05-28 Thread Daniel-Constantin Mierla
Hello, On 5/28/13 10:20 AM, DanB wrote: Hey Daniel, Many thanks for so fast reaction. As I always say, opensource beats proprietary in more than one way ;). The changes you did work smooth for me, the new redirect comes with proper enclosure characters for uri in branches: # U

Re: [SR-Users] Dispatcher ds_select_dst on branches

2013-05-28 Thread Daniel-Constantin Mierla
Hello, On 5/28/13 11:20 AM, DanB wrote: Hey Guys, I was wondering if I could get some guidance on my ideas. I would like to use dispatcher ds_select_dst on ruri in a branch. Is this scenario feasible or out of internals (winning branch maybe) impossible? The idea behind my scenario is to

[SR-Users] Kamailio 4 + Asterisk 11: Local Extensions busy / congested

2013-05-28 Thread Michael Leuker
Hi everybody, I've been following Daniel's excellent tutorial at http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb and managed to get registrations and outbound dialing to run. The problem is that whenever I try to call a local extension (directly or via trunk), CLI

[SR-Users] MySQL storage engine

2013-05-28 Thread Lefteris Zafiris
Hi everybody, I noticed (after checking the files in utils/kamctl/mysql) that kamailio uses the MyISAM storage engine for its database tables in mysql, is there some particular reason for this? Isn't the read/write concurency that InnoDB provides desirable? And on a side note, enabling

Re: [SR-Users] Kamailio + Siremis Outbound route ---- Re Sent Due to bad English

2013-05-28 Thread Daniel-Constantin Mierla
Hello, On 5/27/13 1:03 AM, Tony Turner wrote: (re-sent due to bad English) Hi, I have 3 registered test users, how can I configure Siremis to do the trunk to freeswitch using LCR or Carrierroute rather than using the code below. I am keen to be able to setup Inbound + Outbond trunks via

Re: [SR-Users] misc_radius false error

2013-05-28 Thread Daniel-Constantin Mierla
Hello, the patches were applied. Give another try to be sure it works fine, as I put there recommended indentation (tabs, not whitespaces) and hopefully nothing else was touched. Cheers, Daniel On 5/24/13 11:28 AM, Victor V. Kustov wrote: Hello, Daniel-Constantin! I see attached two

Re: [SR-Users] MySQL storage engine

2013-05-28 Thread Daniel-Constantin Mierla
Hello, On 5/28/13 3:53 PM, Lefteris Zafiris wrote: Hi everybody, I noticed (after checking the files in utils/kamctl/mysql) that kamailio uses the MyISAM storage engine for its database tables in mysql, is there some particular reason for this? Isn't the read/write concurency that InnoDB

Re: [SR-Users] Dispatcher ds_select_dst on branches

2013-05-28 Thread DanB
Hey Daniel, Thanks for the answer. Now if I think deeper the AVPs should be also overwritten by sequential ds_select_dst so I guess it can end up nasty (was kinda planning to use two dispatchers on the same transaction-one to reach redirect server and second to process the answer in failure

Re: [SR-Users] misc_radius false error

2013-05-28 Thread Victor V. Kustov
Hello, Daniel-Constantin! Hello, the patches were applied. Give another try to be sure it works fine, thanks. misc_radius works fine. as I put there recommended indentation (tabs, not whitespaces) and hopefully nothing else was touched. ok, tabs. -- WBR, Victor JID: coy...@bks.tv

Re: [SR-Users] Adding Contacts info from branches in 302 redirect not as expected

2013-05-28 Thread DanB
Daniel, The command which failed for me it was checking out your commit in the git sources: Here is how I run it: root@IECDev:/usr/local/src/kamailio/kamailio.git# git checkout 74bf08ef30cf18fb609c2c067584f1515ede23da fatal: reference is not a tree: 74bf08ef30cf18fb609c2c067584f1515ede23da

Re: [SR-Users] MySQL storage engine

2013-05-28 Thread Lefteris Zafiris
On Tue, 28 May 2013 16:30:42 +0200 Daniel-Constantin Mierla mico...@gmail.com wrote: Is there an option to set default storage engine per database (or mysql server)? Maybe we should skip it in table definition and let it be the default one in the database server. Since Mysql 5.5 InnoDB is

[SR-Users] How to make BLF work

2013-05-28 Thread SamyGo
Hi list, I've been trying to make my Yealink phone to give BLF indications but I haven't been able to achieve this successfully yet so I need some expert advise here. My Yealink phone, as soon as it registers to Asterisk, gives me BLF lights. The same phone registering to Kamailio sends SUBSCRIBE

Re: [SR-Users] How to make BLF work

2013-05-28 Thread Vitaliy Aleksandrov
You didn't receive any NOTIFY requests because you didn't have a PUA client. rfc3903 describes what a PUA client is. To make BLF work you can try to use the next modules: 1. dialog - to enable dialog awareness 2. pua + pua_dialoginfo - to enable a PUA client based on active dialogs information

Re: [SR-Users] How to make BLF work

2013-05-28 Thread SamyGo
Yeah, I'm getting your point. So now, here are my loaded modules. #!ifdef WITH_PRESENCE loadmodule presence.so loadmodule presence_xml.so loadmodule presence_dialoginfo.so loadmodule pua.so loadmodule pua_dialoginfo.so loadmodule pua_usrloc.so #!endif And of course: loadmodule dialog.so

[SR-Users] outbound loose routing question

2013-05-28 Thread אורן אברהם
Dear list I'm trying to route using the loose_route() method for an ACK message of an INVITE. the ACK message contains a Route header field with the outbound proxy address (which is the server processing this message - aka myself) and a flow token to the UAC. but the routing is failed because the

Re: [SR-Users] rad_acc and DLG_lifetime;

2013-05-28 Thread Victor V. Kustov
Hello! When i use $DLG_lifetime *sometimes* no Acct-Session-Time in radius query at all. modparam(acc_radius, radius_extra, \ ... Acct-Session-Time=$DLG_lifetime; \ ... Look like dialog variables destroyed before accounting, when received BYE from caller. When BYE from callee, both