Re: [SR-Users] Siremis install fail at last page of web install--Solved

2012-05-15 Thread SamyGo
ok :) I replied to your last mail, just read this one. You could've replied to the already send mail instead of composing a new one. Anyways good to hear that. On Tue, May 15, 2012 at 11:51 PM, Magnus wrote: > Just in case anyone comes up with same issue - post solving the > directory/file owne

Re: [SR-Users] Siremis install fail at last page of web install

2012-05-15 Thread SamyGo
Hello, Three things you can check in this regard, 1- Verify the permission of the siremis and directories in that level. Per my experience not just siremis directory but the directories aside it needs to give ownership and permission in order for sessions to get created etc. Extremly da

Re: [SR-Users] TLS performance testing

2012-05-15 Thread Jijo
Hi, I'm seeing similar issue in 3.1.0.. How did we fix it? The back trace from my test is, #2 0x0819c66c in qm_free (qm=0x7861c000, p=0x798fa2b0, file=0xb6f0b140 "tls: tls_init.c", func=0xb6f0bce0 "ser_free", line=296) at mem/q_malloc.c:462 *#3 0xb6eec404 in ser_free (ptr=0x798fa2b0) at tls_i

[SR-Users] Rtpproxy and UPDATEs

2012-05-15 Thread Spencer Thomason
Hello, I'm working on a residential type application where we are using Kamailio for NAT traversal and Freeswitch as a voicemail and media server. When a UA that is behind NAT sends an INVITE to check voicemail everything works correctly until the user listens to the message. The sdp in the in

Re: [SR-Users] FW: (Devel) Segmentation fault using pua_dialoginfo

2012-05-15 Thread Charles Chance
Hi Daniel, I tried to check that already, but it's not there: (gdb) frame 1 #1 publ_cback_func (t=0xb3d7e330, type=1024, ps=0xbfcc31c8) at send_publish.c:246 246 hash_code= core_hash(hentity->pres_uri, NULL, HASH_SIZE); (gdb) p *hentity Cannot access memory at address

Re: [SR-Users] FW: (Devel) Segmentation fault using pua_dialoginfo

2012-05-15 Thread Daniel-Constantin Mierla
Hello, interesting that the output of bt shows inline core_hash function prototype with same parameters as publ_cback_func, not being able to spot eventual wrong parameter values. Anyhow, in the gdb, can you do the commands: frame 1 p *hentity and send the output? Let's see the value of the

[SR-Users] kamdbctl create changing mysql root password

2012-05-15 Thread Tim King
This is not the first time I have had this issue during installation, but this time around I am having difficulty figuring out what I am doing wrong. Mysql is up and working, and client works. I can connect to it with the client and run queries without issue. When I run kamdbctl create I get the fo

Re: [SR-Users] Siremis install fail at last page of web install--Solved

2012-05-15 Thread Magnus
Just in case anyone comes up with same issue - post solving the directory/file ownership and repeating the import of db files - Siremis came up as it should Sorry for noise. -Original Message- From: Magnus Sent: Tuesday, May 15, 2012 4:35 PM To: sr-users@lists.sip-router.org Subject: RE:

Re: [SR-Users] kamdbctl create changing mysql root password

2012-05-15 Thread Reda Aouad
DBRWUSER and DBROUSER are users created by kamdbctl to access the kamailio database. They should be like kamalioro and kamailiorw or whatever you want, but not root. Since you set them to root, it seems the root password is overwritten. Reda On Tue, May 15, 2012 at 7:20 PM, Tim King wrote: >

[SR-Users] kamdbctl create changing mysql root password

2012-05-15 Thread Tim King
This is not the first time I have had this issue during installation, but this time around I am having difficulty figuring out what I am doing wrong. Mysql is up and working, and client works. I can connect to it with the client and run queries without issue. When I run kamdbctl create I get the fo

[SR-Users] Kamailio CS_Dirty

2012-05-15 Thread Albert Petit
Hello, On a Kamailio deployment   it seems some users get to a wrong state and permanently keeping in:  CS_DIRTY   Expires==0 for some long times (even half an hour). When they're in this status seems system cannot reach them. Normally , when working on USRLoc mode 2 if the registration expires u

Re: [SR-Users] Siremis install fail at last page of web install

2012-05-15 Thread Magnus
Hello All, Just in case my prior email was not clear : I reach the install success page of Siremis as per below - Installation Completed Congratulations for completing Siremis Setup Wizard. For security reason, we strongly recommend you to delete this install folder now. And also please change

Re: [SR-Users] sdpops command not working

2012-05-15 Thread Grégoire Vandendeurpel
Thanks for all your explanations 2012/5/15 Reda Aouad > You can't. > > Siremis is a management and reporting interface. > You can't implement script routing logic using Siremis. > > Reda > > > > On Tue, May 15, 2012 at 4:34 PM, Grégoire Vandendeurpel < > g.vandendeur...@gmail.com> wrote: > >>

Re: [SR-Users] sdpops command not working

2012-05-15 Thread Reda Aouad
You can't. Siremis is a management and reporting interface. You can't implement script routing logic using Siremis. Reda On Tue, May 15, 2012 at 4:34 PM, Grégoire Vandendeurpel < g.vandendeur...@gmail.com> wrote: > Hello, Working perfectly, thank you. > > I have a last question which is impor

Re: [SR-Users] sdpops command not working

2012-05-15 Thread Grégoire Vandendeurpel
Hello, Working perfectly, thank you. I have a last question which is important to for my final project: How is it possible to use these commands from sdpops module in SIREMIS? like: in the acl menu of ser in siremis, add a new form in which we can manage like I said codecs or media .. from a doma

Re: [SR-Users] sdpops command not working

2012-05-15 Thread Grégoire Vandendeurpel
Thank you very much, I'll test it , next step I'll check for the media best regards 2012/5/15 Reda Aouad > You can check on domain or IP which you can find in the following pseudo > variables > > $rd: RURI domain > $fd: FROM domain > $td: TO domain > $ad: AUTH domain > $si: source IP @ of messa

Re: [SR-Users] sdpops command not working

2012-05-15 Thread Reda Aouad
You can check on domain or IP which you can find in the following pseudo variables $rd: RURI domain $fd: FROM domain $td: TO domain $ad: AUTH domain $si: source IP @ of message example : if ($si == "1.2.3.4") { sdp_remove_codec ( ... ); } You can find the complete list of pseudo variables h

Re: [SR-Users] sdpops command not working

2012-05-15 Thread Grégoire Vandendeurpel
Hello, I should test the dev version , yeah, but I have an other question before that, about sdpops: Is it possible to remove codecs ( yeah working well on 3.2 ) but specifically from an domain or IP .. ? And how? Thanks in advance Best regards 2012/5/15 Reda Aouad > Can't help anymore on t

Re: [SR-Users] kamailio debug send messages

2012-05-15 Thread Konstantin M.
Hi Anca, I've tested your patch and I don't think it's working. At least I was noticed that a logic is going to 'skip' label on 183 sdp: /* check modules response_f functions */ for (r=0; r > ** > Hi Konstantin, > > > I have attached the patch that allows calling onsend route also

Re: [SR-Users] Question about dialog module (state 1)

2012-05-15 Thread Ricardo Martinez
Hello Daniel. Yes.. finally all resumes to a missing ACK. The problem is that I can force the client to repair this…. Is possible to detect this kind of dialogs in the script?. I know that I can delete these kind of dialogs via MI commands, but’s not the idea……. Hope someone can help me here.

[SR-Users] Siremis install fail at last page of web install

2012-05-15 Thread Magnus
Hello all, I have an issue with final stage of installing siremis - at the last screen of the install I get an error in browser of "can't open cmp file to write" in the httpd log I get two lines " mkdir(): No such file or directory in /var/www/html/siremis-3.2.0/openbiz/bin/Resource.php on line

Re: [SR-Users] [SIREMIS] send MI Commands to multiple kamailio servers

2012-05-15 Thread SamyGo
For sure Ovidiu. Btw I've found a perl script from my seniors which is an excellent working example for me to implement in minutes. #!/usr/bin/perl -w use strict; use warnings; use Data::Dumper; use XML::RPC; my $xmlrpc = XML::RPC->new('http://192.168.2.137:8080/RPC'); my $result = $xmlrpc->call("

Re: [SR-Users] sdpops command not working

2012-05-15 Thread Reda Aouad
Can't help anymore on this. But if you're short on time and need a dirty solution, try the following functions from textops module: replace_body_allORsubst_body Match the line "m=type..." using a grep expression and replace it with and empty string. I do that to remove lines from SDP bod

Re: [SR-Users] sdpops command not working

2012-05-15 Thread Grégoire Vandendeurpel
Hello, I already compiled sdpops in 3.2. I tried an other command like sdp_remove_codecs_by_id and this one is working well on the 3.2 version of kamailio! I think, the problem is specifically from the remove media command. Any suggestion? Best regards 2012/5/15 Reda Aouad > Hi, > > You can M

Re: [SR-Users] [SIREMIS] send MI Commands to multiple kamailio servers

2012-05-15 Thread Ovidiu Sas
The example that is provided in the README file is all you need to get the web management interface up and running. After that, you can access through the web interface all available rpc commands. The syntax is similar with sercmd or kamctl. If you experience any issues, please report them on the

Re: [SR-Users] sdpops command not working

2012-05-15 Thread Reda Aouad
Hi, You can MAY BE copy take the sdpops module from dev version and compile it with 3.2. Not sure it would work though. However, it should be easy to install the entire dev version, just as you did with 3.2.3. Reda On Tue, May 15, 2012 at 1:15 PM, Grégoire Vandendeurpel < g.vandendeur...@gmail

Re: [SR-Users] kamailio debug send messages

2012-05-15 Thread Anca Vamanu
Hi Konstantin, I have attached the patch that allows calling onsend route also for replies. After the 3.3 release is done, I will commit it also upstream. Regards, Anca On 05/14/2012 09:00 PM, Konstantin M. wrote: Hi Marius, My opinion that a replies should be routed to onsend_route after

Re: [SR-Users] Pickup group implementation in Kamailio

2012-05-15 Thread M.C.
Hello Daniel, thanks for the explanations. There are examples of use of these modules in the kamailio wiki? Best regards, Matteo On Tue, May 15, 2012 at 10:04 AM, Daniel-Constantin Mierla < mico...@gmail.com> wrote: > Hello, > > this is a custom implementation, only for phones that have progra

Re: [SR-Users] sdpops command not working

2012-05-15 Thread Grégoire Vandendeurpel
Hello, Thanks for your answer, is there an other way to use it with the 3.2.3 version of Kamailio? Cause I'm doing my final project of my bachloor, and I really need to use it for. Is it possible to change something in the code or.. to make it working well with my version? Best regards 2012/5/1

Re: [SR-Users] sdpops command not working

2012-05-15 Thread Reda Aouad
Hi, This function is available in Kamailio 3.3 (currently in dev stage) and not 3.2. Reda On Tue, May 15, 2012 at 11:49 AM, Grégoire Vandendeurpel < g.vandendeur...@gmail.com> wrote: > Hello, > > I use Kamailio 3.2.3 and I used the command from the sdpops module " > sdp_remove_media("video");

[SR-Users] FW: (Devel) Segmentation fault using pua_dialoginfo

2012-05-15 Thread Charles Chance
Hi Daniel, As per your previous reply (sorry, I deleted it accidentally), please find attached output of 'bt full' as requested. Best regards and thanks again, Charles _ From: Charles Chance [mailto:charles.cha...@sipcentric.com] Sent: 13 May 2012 11:21 To: 'SIP Router - K

[SR-Users] sdpops command not working

2012-05-15 Thread Grégoire Vandendeurpel
Hello, I use Kamailio 3.2.3 and I used the command from the sdpops module " sdp_remove_media("video");" But when i restarted kamailio, this error appeared: 0(2623) ERROR: [cfg.y:3393]: cfg. parser: failed to find command sdp_remove_media 0(2623) : [cfg.y:3532]: parse error in config file /etc/

Re: [SR-Users] modify connection information field from a 200 OK response

2012-05-15 Thread Openser Kamailio
Hi, I have an issue with this function fix_nated_sdp(). The old address in *connection information* that i wanted to change is in * IPv4* format, i want replace this one with an *IPv6* address. When i replace it with an IPv6 address, the* owner address* type (of owner/creator) and the *connection

Re: [SR-Users] modify connection information field from a 200 OK response

2012-05-15 Thread Openser Kamailio
Thanks Reda, it finally works with fix_nated_sdp("10","@IP Kamailio"). On Tue, May 15, 2012 at 11:00 AM, Reda Aouad wrote: > Hi, > > Try this function from nathelper module: fix_nated_sdp > http://kamailio.org/docs/modules/stable/modules_k/nathelper.html#id2533354 > > Reda > > > > On Tue, May 15,

Re: [SR-Users] modify connection information field from a 200 OK response

2012-05-15 Thread Openser Kamailio
Thanks but it still doesn't work. On Tue, May 15, 2012 at 11:00 AM, Reda Aouad wrote: > Hi, > > Try this function from nathelper module: fix_nated_sdp > http://kamailio.org/docs/modules/stable/modules_k/nathelper.html#id2533354 > > Reda > > > > On Tue, May 15, 2012 at 10:54 AM, Openser Kamailio <

Re: [SR-Users] modify connection information field from a 200 OK response

2012-05-15 Thread Reda Aouad
Hi, Try this function from nathelper module: fix_nated_sdp http://kamailio.org/docs/modules/stable/modules_k/nathelper.html#id2533354 Reda On Tue, May 15, 2012 at 10:54 AM, Openser Kamailio < kamailioopen...@gmail.com> wrote: > hi, > > I try to change the IP address in connection information

[SR-Users] modify connection information field from a 200 OK response

2012-05-15 Thread Openser Kamailio
hi, I try to change the IP address in connection information field from a 200 OK request passing through Kamailio. I want the IP address of the Kamailio in connection information. So, I've tried rtpproxy_answer("","@IP kamailio"), rtppproxy_offer("","@IP kamailio), rtpproxy_manage("","@IP kamailio

Re: [SR-Users] why is tcp_send failing?

2012-05-15 Thread Daniel-Constantin Mierla
Hello, On 5/15/12 10:05 AM, Juha Heinanen wrote: Juha Heinanen writes: i have been wondering why kamailio refuses to forward bye to $du sip:192.26.99.39:8000;transport=tcp;lr;ftag=a8266461a81c723o0 wireshark shows that it is not even trying to set up tcp connection to the destination and wit

Re: [SR-Users] (Devel) Segmentation fault using pua_dialoginfo

2012-05-15 Thread Daniel-Constantin Mierla
Hello, to get some info until I get the time to look more deeper, can you send also the output of 'bt full'? It will print also other variables that may help troubleshooting faster. Cheers, Daniel On 5/13/12 12:21 PM, Charles Chance wrote: Hi, Currently testing devel version and experienc

[SR-Users] why is tcp_send failing?

2012-05-15 Thread Juha Heinanen
Juha Heinanen writes: > i have been wondering why kamailio refuses to forward bye to $du > > sip:192.26.99.39:8000;transport=tcp;lr;ftag=a8266461a81c723o0 > > wireshark shows that it is not even trying to set up tcp connection to > the destination and with telnet i can verify that tcp connection

Re: [SR-Users] Pickup group implementation in Kamailio

2012-05-15 Thread Daniel-Constantin Mierla
Hello, this is a custom implementation, only for phones that have programmable buttons. It is not really recommended way to do it. Better rely on standard specs out there and use presence extensions for such feature -- in kamailio you would need to use modules such as dialog, presence, pua,

Re: [SR-Users] Extending app_python (patch)

2012-05-15 Thread Daniel-Constantin Mierla
Hello, thanks for the patch, it will be committed once the code is unfrozen for testing v3.3.0. It might be good to add it to the tracker, to be sure it will not be lost. Cheers, Daniel On 5/14/12 11:57 PM, Konstantin M. wrote: Hi, As I see, app_python module has almost no logging function

Re: [SR-Users] pua_dialoginfo - publish for caller or callee

2012-05-15 Thread Daniel-Constantin Mierla
Hello, haven't looked at that email yet. I will do it sometime soon, unless other developers working with the module will check it meanwhile. Cheers, Daniel On 5/14/12 11:46 PM, charles.cha...@sipcentric.com wrote: Hi Daniel I did notice that and have been testing with the devel version. I

Re: [SR-Users] Question about dialog module (state 1)

2012-05-15 Thread Daniel-Constantin Mierla
Hello, so what's the situation now, a missing ACK? I think such dialogs can be terminated via mi command. Cheers, Daniel On 5/15/12 12:25 AM, Ricardo Martinez wrote: Hello. Thanks Daniel for your answer. Finally we discover the problem why the calls were stalled in state::1, we do several

Re: [SR-Users] why is tcp_send failing?

2012-05-15 Thread Daniel-Constantin Mierla
Hello, On 5/15/12 8:29 AM, Juha Heinanen wrote: Daniel-Constantin Mierla writes: one possibility could be no-connect/connection-reuse option set in cofig, could it be in your case? i have not set any such parameters in config. i'm calling set_forward_no_connect() on some requests, but never