Re: [SR-Users] moving all to kamailio namespace

2012-10-09 Thread Olle E. Johansson
8 okt 2012 kl. 16:33 skrev Daniel-Constantin Mierla mico...@gmail.com: Hello, some bits were left with the old project name OpenSER, not to disturb too much at that time and see where everything goes. Other voices expressed same idea in the past, now everything is stable and

[SR-Users] Nginx dispatching of websocket requests?

2012-10-09 Thread Juha Heinanen
peter suggested using nginx for dispatching xcap requests and that works fine. has someone tried using nginx to dispatch also sip over websocket requests? is there some drawbacks? -- juha ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users

[SR-Users] preparing kamailio 3.3.2

2012-10-09 Thread Daniel-Constantin Mierla
Hello, I am considering packaging Kamailio v3.3.2 at the beginning of next week (Monday or Tuesday). If any of the devs have backports to be done, do them before the end of this week. Also, if someone spotted some fixes in the master that were not backported, write to the lists so we can

Re: [SR-Users] Nginx dispatching of websocket requests?

2012-10-09 Thread Peter Dunkley
I've never tested NGiNX with WebSockets, but it should work if NGiNX is correctly configured. The WebSocket protocol is designed to work through HTTP proxies. Regards, Peter On Tue, 2012-10-09 at 11:01 +0300, Juha Heinanen wrote: peter suggested using nginx for dispatching xcap requests and

[SR-Users] Kamailio FAQ Week

2012-10-09 Thread Daniel-Constantin Mierla
Hello, I'm looking at getting richer content for the FAQ wiki page: * http://www.kamailio.org/wiki/tutorials/faq/main Probably we can get it good enough with a bit of mobilization for one week. If anyone is having some questions fitting the purpose of the FAQ, just add them to the page or

Re: [SR-Users] how to use fix_nated_sdp(2) with multiple media types

2012-10-09 Thread MARINA SERRANO MONTES
Hi Daniel, Thanks. But, I think there is any think I have not understand. I have my route[MCU] module with the following code: route [MCU]{ if (uri=~^sip:[7,8][0-9]+@){ xlog(Forward to MCU); rewritehost(10.95.94.142); rewriteport(5070); rtpproxy_manage(); t_relay();

[SR-Users] segfault in siptrace module using setflag?

2012-10-09 Thread samuel
Hi folks, I was making some tests with kamailio (both 3.3.0 and 3.3.1 tgz) with siptrace module sending homer packets to a remote central agent where the data is stored and presented to the user. The related config is: # - siptrace params from HOMER - modparam(siptrace, duplicate_uri,

[SR-Users] Kamailio XMPP Module Setup

2012-10-09 Thread Vijay Thakur
Dear All, I have set up my kamailio server successfully and it is working very fine. i have followed the below link for setup: http://kb.asipto.com/kamailio:presence:k31-made-simple. Now i want to enable xmpp module. At Kamailio wiki page, i have found that there can be two way to implement

Re: [SR-Users] segfault in siptrace module using setflag?

2012-10-09 Thread Daniel-Constantin Mierla
Did you get a core dump, can you send the backtrace? Daniel On 10/9/12 11:00 AM, samuel wrote: Hi folks, I was making some tests with kamailio (both 3.3.0 and 3.3.1 tgz) with siptrace module sending homer packets to a remote central agent where the data is stored and presented to the user.

Re: [SR-Users] segfault in siptrace module using setflag?

2012-10-09 Thread samuel
I can not locate where the core is (wasn'i it in /tmp?) but I see the following statement in the log: Oct 9 12:44:21 kamailio1 kamailio[17420]: ALERT: core [main.c:788]: core was generated so i guess somewhere in the disk there is a core file Thanks a lot, Daniel, Samuel. On 9 October

Re: [SR-Users] segfault in siptrace module using setflag?

2012-10-09 Thread Daniel-Constantin Mierla
If you provided -w parameter, then it is at that path. If not, it should be in '/' or in the OS-configured corefiles directory. Daniel On 10/9/12 12:45 PM, samuel wrote: I can not locate where the core is (wasn'i it in /tmp?) but I see the following statement in the log: Oct 9 12:44:21

Re: [SR-Users] segfault in siptrace module using setflag?

2012-10-09 Thread Daniel-Constantin Mierla
The line matches the access to the action, can you send also the output inside gdb for command: p *a Also, as I understand you can reproduce it, can you load debugger module, set its parameter cfg_trace to 1 and run again. Then send the lines printed by the cfg trace before the crash, so I

[SR-Users] Kamailio/RTP Proxy issue

2012-10-09 Thread Kamal Palei
Hi All Facing a strange issue in Kamailio / RTP proxy setup. Using 1. Kamailio - 3.1.5 2. RTP proxy 1.1 I have pne sip client, lets say it is 'A'. 'A' sent INVITE to Kamailio proxy. Kamailio proxy modified the IP address present in SDP to RTP proxy IP address, and sent to main proxy. Main proxy

[SR-Users] kamailio 3.3.1 - uac - remote register - init delay possible?

2012-10-09 Thread Rene Bormann
Hello @all, want to use the remote register function of the UAC module. We need to register 42 accounts on one openSER server. At kamailio startup those 42 remote register requests will be startet at the same time. This leads to a kind of FlodAttact on the openSER server of our provider, which

Re: [SR-Users] kamailio 3.3.1 - uac - remote register - init delay possible?

2012-10-09 Thread Daniel-Constantin Mierla
Hello, you added an extra parameter to the function as well, so there should be other modifications. Better send the patch with your changes to see if there is something wrong. If you got it from git, run: git diff /path/to/patchfile Cheers, Daniel On 10/9/12 2:00 PM, Rene Bormann wrote:

Re: [SR-Users] kamailio 3.3.1 - uac - remote register - init delay possible?

2012-10-09 Thread Rene Bormann
Thanks Daniel for you prompt answer.Find the patch file attached.- ren Daniel-Constantin Mierla Dienstag, 9. Oktober 2012 14:08 Hello, you added an extra parameter to the function as well, so there should be other modifications. Better send the patch

Re: [SR-Users] kamailio 3.3.1 - uac - remote register - init delay possible?

2012-10-09 Thread Daniel-Constantin Mierla
You added sleep(1000), which is sleep for 1000 seconds -- that's quite some time to wait (more than 15min) before sending next registration. Also, the extra parameter is not really needed, you can test that ticks==0, as condition for first iteration.

Re: [SR-Users] how to use fix_nated_sdp(2) with multiple media types

2012-10-09 Thread Daniel-Constantin Mierla
Hello, the signaling shows traffic going from public IP (caller) to private IP (kamailio) then back to public IP (callee). So it is a bit of complex routing if you keep it like this. The best is to get it done working with kamailio, rtpproxy and mcu on their public ip, because they have such

[SR-Users] Kamailio XMPP support

2012-10-09 Thread Vijay Thakur
Dear All, I have set up my kamailio server successfully and it is working very fine. i have followed the below link for setup: http://kb.asipto.com/kamailio:presence:k31-made-simple. Now i want to enable xmpp module. At Kamailio wiki page, i have found that there can be two way to implement

Re: [SR-Users] segfault in siptrace module using setflag?

2012-10-09 Thread samuel
The output of the requested command is: (gdb) p *a Cannot access memory at address 0x485f3832315f4d43 I'll try to load the debugger module, and send the requested information to digg into the problem. Thanks again! SAmuel. On 9 October 2012 13:25, Daniel-Constantin Mierla mico...@gmail.com

[SR-Users] Force to use mediaproxy/rtpproxy

2012-10-09 Thread Mino Haluz
Hi, I am doing some performance tests and I cannot force SIP INVITEs to use mediaproxy within LAN, without any NAT. I'm using engage_media_proxy or rtpproxy_manage but phones are still exchanging voice data between them, not through the proxy. Is there some trick how to forcibly tell kamailio to

Re: [SR-Users] segfault in siptrace module using setflag?

2012-10-09 Thread samuel
These are the lines printed, as you can see there isn't yet a rtpproxy running but it has been working in the tests without crashing. The config is pretty standard so you'll see the usual routes. I've printed the line number for an easy debugging. I'm not 100% sure that it always happens in the

[SR-Users] get $sht array of values

2012-10-09 Thread Uri Shacked
Hi, If i have two keys on a HTABLE that are the same. i undestand i need to set the key type to 1 (array). i use the $shtcn and get 3 (size is an entry as well). so far, so good. But, now i am trying to get all the values from the table to an AVP oto say it in another way - i need all values

[SR-Users] kamailio cores on corrupted route header

2012-10-09 Thread Jijo
Hello, kamailio cores when receives a corrupted route header. For example, this was causing the core. Route: sip:10.236.236.100;transport=tcp;r2=on;lr;ftag=1348218287134-Test-553188;osb-tag=NM;nat=yes;twan=yes?[=

[SR-Users] Syntax of xavp

2012-10-09 Thread Andreas Granig
Hi, I'm playing around with xavp, but there are some things I can't wrap my head around. What basically works is this: $xavp(a=foo) = 'foo'; $xavp(a[0]=bar) = 'bar'; Getting the value like this: xlog(L_INFO, a-foo='$xavp(a=foo)' and a-bar='$xavp(a=bar)'); as well as xlog(L_INFO,

Re: [SR-Users] segfault in siptrace module using setflag?

2012-10-09 Thread Daniel-Constantin Mierla
So it is at different points in config, it works if you don't set flag 22, which is used for sip trace. I see you are using tcp, can you try the latest version of git branch 3.3. There was a fix related to tcp after 3.3.1 and it is better to be sure it is not actually that case - a guide is

Re: [SR-Users] get $sht array of values

2012-10-09 Thread Daniel-Constantin Mierla
Hello, On 10/9/12 3:32 PM, Uri Shacked wrote: Hi, If i have two keys on a HTABLE that are the same. i undestand i need to set the key type to 1 (array). i use the $shtcn and get 3 (size is an entry as well). so far, so good. But, now i am trying to get all the values from the table to an AVP

Re: [SR-Users] Force to use mediaproxy/rtpproxy

2012-10-09 Thread Mino Haluz
My fault, typoo in dispatcher's IP address. On Tue, Oct 9, 2012 at 3:25 PM, Mino Haluz mino.ha...@gmail.com wrote: Hi, I am doing some performance tests and I cannot force SIP INVITEs to use mediaproxy within LAN, without any NAT. I'm using engage_media_proxy or rtpproxy_manage but phones

[SR-Users] storing and using route-set in dialog module

2012-10-09 Thread Klaus Darilion
Hi! Are there any means to store the route set of a dialog (on dialog creation) and use the stored route set when forwarding in-dialog requests instead of using the requests' route set? thanks Klaus ___ SIP Express Router (SER) and Kamailio

Re: [SR-Users] Kamailio/RTP Proxy issue

2012-10-09 Thread Klaus Darilion
For messages from the main proxy use the r' flag when activating rtpproxy: http://kamailio.org/docs/modules/3.3.x/modules/rtpproxy.html#id2548160 regards klaus On 09.10.2012 13:58, Kamal Palei wrote: Hi All Facing a strange issue in Kamailio / RTP proxy setup. Using 1. Kamailio - 3.1.5 2.

Re: [SR-Users] moving all to kamailio namespace

2012-10-09 Thread Klaus Darilion
On 08.10.2012 16:40, Cenk İlker İzanlı wrote: Hello, I think it is better to do all changes at once. +1 ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org

Re: [SR-Users] How can I directly access the domain of additional branches??

2012-10-09 Thread Klaus Darilion
In such cases you should search on the pseudo-variables wiki page for the relevant key word, in this case branch: http://www.kamailio.org/wiki/cookbooks/3.3.x/pseudovariables#branch_attributes regards Klaus On 05.10.2012 18:45, Stephen Dodge (Bistech) wrote: Hello, Could someone advise if it

Re: [SR-Users] update_subs_rlsdb: NO MATCH

2012-10-09 Thread Sangeeta Shah
Daniel, I had debug=4 yesterday and I had to delete my logfiles this morning because the log partition was full. IT seems like when I have DB ONLY mode turned on for both presence and RLS there is a lot of logging causing the disk to fill up. I have my debug level set to 3 and have also

Re: [SR-Users] How can I directly access the domain of additional branches??

2012-10-09 Thread Stephen Dodge (Bistech)
Thanks Klaus, I did look through the cookbook but I couldn't see anything that would allow me to access the domain directly, I thought there might be a module that could offer that functionality. I will look at some find/replace scripting on the $branch(uri). Thanks, Stephen Dodge Tel:

Re: [SR-Users] update_subs_rlsdb: NO MATCH

2012-10-09 Thread Sangeeta Shah
One thing I forgot to include is the handling of the put: case PUT: xdbg(= xhttp: put received $var(uri)\n); xcaps_put($var(uri), $hu, $rb); if($xcapuri(u=auid)=~pres-rules) {

Re: [SR-Users] How can I directly access the domain of additional branches??

2012-10-09 Thread Daniel-Constantin Mierla
On 10/9/12 5:45 PM, Stephen Dodge (Bistech) wrote: Thanks Klaus, I did look through the cookbook but I couldn't see anything that would allow me to access the domain directly, I thought there might be a module that could offer that functionality. I will look at some find/replace scripting

[SR-Users] Nginx dispatching of websocket requests?

2012-10-09 Thread Juha Heinanen
just to complete the thread, nginx does not currently support proxying of requests that use websocket transport. it is in the roadmap, but no date is set. when nginx receives request over websocket it converts 'Upgrade: Connection: Upgrade' header to 'Connection: close' header and removes

Re: [SR-Users] Errors issued by Kamailio

2012-10-09 Thread Sangeeta Shah
Daniel, I don't know if this corresponds to the errors I was seeing before. But on a closer look I see the following errors when a subscribe request comes in. This is how I am handling subscribe requests: if( is_method(SUBSCRIBE)) { xdbg( Handling subscribe

Re: [SR-Users] update_subs_rlsdb: NO MATCH

2012-10-09 Thread Sangeeta Shah
So I fixed a few things today 1. In subscribe.c:rls_get_by_service_uri The code was doing a strlen check as follows: if((uri-len==strlen(val)) (strncmp(val, uri-s, uri-len)==0)) The uri coming in is: sip:8475551001@10.50.251.12 and the service uri in the rls-services list is: