[SR-Users] Passwords in Kamailio user table are not encrypted.

2012-03-27 Thread Albert Petit
good morning When provisioning subscriebrs to Kamailio with the kamctl tool i see the passwords are stored in clear on the database. For my use-case I would not like to have that passwords in clear on the db. What can I do to avoid this problem? Should I provision the users in a different way

[SR-Users] remove_hf and append_hf one after the other , twice, issue.

2012-03-27 Thread Uri Shacked
Hi, In the scenario i am using, the flow is as followed: 1. Getting the INVITE from the user 2. Sending an INVITE with RURI changes to the NP server (sip NP server) 3. Getting a 301 reply (using the reply for the NP code) 4. Sending the call to the destination. My problem is that the NP

Re: [SR-Users] remove_hf and append_hf one after the other , twice, issue.

2012-03-27 Thread Carsten Bock
Hi, when you are adding the new Contact-Header in Failure-Route (after you received the 3xx reply), you are working on the original message again. So the old Contact is still removed and the new Contact is added (as for the initial request). There are two options for you: 1) Move your

[SR-Users] remove_hf and append_hf one after the other , twice, issue.

2012-03-27 Thread Uri Shacked
Thanks. I read option 2 and i agree on 1 :-) Didnt use any branch stuff yet :-(... it seems very logical to do so when i send the call to the NP server. Will hit the docs... Hi, when you are adding the new Contact-Header in Failure-Route (after you received the 3xx reply), you are working on

Re: [SR-Users] branches usage

2012-03-27 Thread Uri Shacked
On Tue, Mar 27, 2012 at 3:13 PM, Uri Shacked uri.shac...@gmail.com wrote: Hi, Following the advice I got on the subject “remove_hf and append_hf one after the other , twice, issue”, I tried to work with the “append_branch()” function. What I need to do is, after I received the invite

Re: [SR-Users] branches usage

2012-03-27 Thread Carsten Bock
Hi, try the following: route { # Whatever you do in your main-route t_on_branch(modify_contact); # Whatever you do in your main-route, the branch route is automatically triggered for each branch. t_relay(); } branch_route[modify_contact] { remove_hf(Contact); append_hf(Contact:

Re: [SR-Users] branches usage

2012-03-27 Thread Uri Shacked
In my case i need to change the header and then send it. Here the case works if i make the changes after i sent the invite and got the reply. As i know the t_on_branch will work after the invite is sent... am i wrong? There are many questions to ask about the branches... when do they work in a

Re: [SR-Users] branches usage

2012-03-27 Thread Carsten Bock
Hi Uri, you're wrong. t_on_branch works before the request is sent out The branches work in the manner, you program them in your logic (e.g. set the timeout for a request, then use failure route for serial branches). There is no general switch (and i'm not aware of any good docs regarding

Re: [SR-Users] branches usage

2012-03-27 Thread Reda Aouad
Are you searching for examples of serial / parallel forking config found in the TM module documentation ? Reda On Tue, Mar 27, 2012 at 16:55, Carsten Bock cars...@ng-voice.com wrote: Hi Uri, you're wrong. t_on_branch works before the request is sent out The branches work in the

Re: [SR-Users] Kamailio modifying ruri during loose-route - SOLVED

2012-03-27 Thread Dan-Cristian Bogos
Another one bites the dust ;). My problem was strict vs loose routing done by loose_route function. In order to loop through B2BUA I have defined the loopback interface's IP as a local alias for simplicity in checking myself in routing script. When doing loose_route, the route address was for

Re: [SR-Users] branches usage

2012-03-27 Thread Andreas Granig
Hi, On 03/27/2012 04:46 PM, Uri Shacked wrote: In my case i need to change the header and then send it. Here the case works if i make the changes after i sent the invite and got the reply. As i know the t_on_branch will work after the invite is sent... am i wrong? There are many

[SR-Users] Error loading pv.so undefined symbol: msg_ctx_id_set

2012-03-27 Thread Simpson Chua
Hi, I'm getting the following error when attempting to load pv.so kamailio: ERROR: core [sr_module.c:572]: ERROR: load_module: could not open module /usr/local/lib64/kamailio/modules_k/pv.so: /usr/local/lib64/kamailio/modules_k/pv.so: undefined symbol: msg_ctx_id_set I'm running Kamailio

Re: [SR-Users] Error loading pv.so undefined symbol: msg_ctx_id_set

2012-03-27 Thread Daniel-Constantin Mierla
Hello, are you sure you are running 3.2.x? That version does not have msg_ctx_id_set() at all yet. Can you send the output of 'kamailio -V'? Cheers, Daniel On 3/27/12 8:51 PM, Simpson Chua wrote: Hi, I'm getting the following error when attempting to load pv.so kamailio: ERROR: core

Re: [SR-Users] Error loading pv.so undefined symbol: msg_ctx_id_set

2012-03-27 Thread Daniel-Constantin Mierla
Hello, On 3/27/12 9:33 PM, Simpson Chua wrote: Hi, [..] # /usr/local/kamailio/sbin/kamailio -V version: kamailio 3.3.0-dev6 (x86_64/linux) 6853a8 for devel version be sure you run latest version from master branch. I just started with default config and runs fine, no missing symbol.

Re: [SR-Users] CRLF Error with tcp_crlf_ping

2012-03-27 Thread Jijo
There is no problem as such. On Sat, Mar 24, 2012 at 5:20 AM, Daniel-Constantin Mierla mico...@gmail.com wrote: Hello, On 3/23/12 3:15 PM, Jijo wrote: Hello, Yes it is sending CRLF after the second CRLF from client. Another thing is, Kamailio would send CRLF even if the second CRLF

[SR-Users] early media: How to change to tag

2012-03-27 Thread Min Wang
HI I am trying to do the early media like this: PSTN/GW1 - Kamailio - Asterisk -- PSTN/GW2 GW1 send invite to Kamilio, Kamilio proxy to Asterisk, Asterisk reply with 183 ( with to tag=A) and sdp After the playing some medium, asterisk send 603