[SR-Users] ERROR: mediaproxy [mediaproxy.c:1978] #347

2015-09-30 Thread Ngoc
Hello supporter, I took a look kamailio and get the error: Sep 29 11:28:37 lvps46-163-74-198 /usr/local/sbin/kamailio[1738]: ERROR: mediaproxy [mediaproxy.c:1978]: EngageMediaProxy(): engage_media_proxy requires the dialog module to be loaded and configured. How to resolved this problem, please

Re: [SR-Users] blf problem

2015-09-30 Thread Daniel-Constantin Mierla
Hello, are you running the last kamailio branch 4.3 or is from packages? Do you get a core dump file? If yes, can you send the backtrace? Daniel On 29/09/15 23:07, huseyin kalyoncu wrote: > Hello Daniel, > > I have been having some strange crashes after upgrade to 4.3.2 > > i did not configure

Re: [SR-Users] ACK and BYE are forwarded statelessly (failed to parse Route HF)

2015-09-30 Thread Daniel-Constantin Mierla
Hello, the caller side builds the ack inccorectly. The Contact in 200ok for INVITE is: Contact: . But the ACK coming to the server has: ACK sip:10004@44.44.44.148:5060 SIP/2.0. I see that there is proxy between the caller and the server, it could be the one doing

[SR-Users] SIP and conntrackd experience?

2015-09-30 Thread Grant Bagdasarian
Hello, Does anyone have experience with SIP and conntrackd? Our media and signaling is separated. Does this work for VPN connections where SIP is sent over the VPN but the media over public internet? Thanks, Grant ___ SIP Express Router (SER) and

[SR-Users] Familiar topic about Kamailio with Asterisk behind NAT

2015-09-30 Thread Dirk Teurlings - SIGNET B.V.
Hi, I found some existing topics on this but failed to get a solutions out of them. We're running into some issues with client devices connecting to our private addresses. The way it is setup now: CLIENTS <-> (NAT) <-> INTERNET <-> KAMAILIO(4.2.5) with RTPPROXY(v1) <-> PRIVATE LAN

Re: [SR-Users] out of memory Error

2015-09-30 Thread Daniel-Constantin Mierla
Hello, hmm, even these logs were not catching the relevant information, the main process is the one logging the used packets, from the others I saw only the free chunks summary. Let's do it again with stopping kamailio when you get out of memory errors. Set children=2 and mem_summary=15 to get

Re: [SR-Users] out of memory Error

2015-09-30 Thread ycaner
Hello Daniel;     i got logs from kamailio. there is 10 pid about kamailio and don't give dumps for all kamailio pids expects somes. Here is results; root 18323  0.0  0.0 454628 12968 ?    S    12:12   0:00

Re: [SR-Users] blf problem

2015-09-30 Thread huseyin kalyoncu
Hello Daniel Thank you for your response. Kamailio from 4.3.2 source tarball I got the core file now. After running backtrace i realized that the problem might be related to our custom module we are developing. Here is the backtrace: Reading symbols from /usr/local/sbin/kamailio...done. [New LWP

[SR-Users] Interoperability issues between browsers and mobile phones to place a call.

2015-09-30 Thread Safdar Khan
Hi Daniel sir I have enabled web-sockets module into my kamailio sip server.I am trying to make call from web browsers and mobile phones. To make a call from web browser i am using sipml5 and as a mobile app i am using imsdroid. However i have done some search on net and i found nothing relevant.

Re: [SR-Users] evapi tcp parsing??

2015-09-30 Thread Daniel-Constantin Mierla
Hello, thanks for troubleshooting further and pointing to the issue. I pushed a patch last night, hopefully fixes it. Try with latest master branch and let me know the results. Cheers, Daniel On 29/09/15 14:15, Jayesh Nambiar wrote: > Hi Daniel, > Taking a second look at the NGREP Trace I think

Re: [SR-Users] db_text and caching/reloading

2015-09-30 Thread Asgaroth
I've tried this with the domain module now too, and the same thing appears to be happening, I can show/showdb/add/rm but cannot *reload* when using dbtext as database module with dbtext caching mode enabled. I'm wondering if this is a configuration issue on my side. When I switch to PGSQL I am

Re: [SR-Users] SIP and conntrackd experience?

2015-09-30 Thread Daniel Tryba
On Wednesday 30 September 2015 07:19:08 Grant Bagdasarian wrote: > Does anyone have experience with SIP and conntrackd? > Our media and signaling is separated. > Does this work for VPN connections where SIP is sent over the VPN but the > media over public internet? I don't see the relation with

Re: [SR-Users] out of memory Error

2015-09-30 Thread ycaner
Hello Daniel i did what you wrote here. Here is results; http://pastebin.com/YQFxcnLN And i did some test without acc_radius module. without acc_radius module , there is no out of memory on pkg. it continue 1+ calls instead with acc_radius , it gets out of memory in 2000+ calls. i don't

Re: [SR-Users] Familiar topic about Kamailio with Asterisk behind NAT

2015-09-30 Thread Dirk Teurlings - SIGNET B.V.
On 30-09-15 12:23, Fred Posner wrote: Are you using -A flag in rttproxy? Unfortunately we're running a version of RTPPROXY at the moment that doesn't have this flag. I'm considering upgrading to rtproxy 2.0, but will need to test whether this doesn't affect anything else. It's preferred

Re: [SR-Users] Familiar topic about Kamailio with Asterisk behind NAT

2015-09-30 Thread Fred Posner
On 09/30/2015 07:15 AM, Dirk Teurlings - SIGNET B.V. wrote: > On 30-09-15 12:23, Fred Posner wrote: >> >> Are you using -A flag in rttproxy? >> > > Unfortunately we're running a version of RTPPROXY at the moment that > doesn't have this flag. I'm considering upgrading to rtproxy 2.0, but > will

Re: [SR-Users] Familiar topic about Kamailio with Asterisk behind NAT

2015-09-30 Thread Dirk Teurlings - SIGNET B.V.
On 30-09-15 11:10, Daniel Tryba wrote: The asterisk doesn't need to know the network topology beyond its connection with kamailio, so you need to fix it at the place of traversal between public and private: kamailio. Agreed, I was looking for a workaround at this point, but to no avail.

Re: [SR-Users] Familiar topic about Kamailio with Asterisk behind NAT

2015-09-30 Thread Daniel Tryba
On Wednesday 30 September 2015 11:17:54 Dirk Teurlings - SIGNET B.V. wrote: > Agreed, I was looking for a workaround at this point, but to no avail. A quick and dirty workaround might be the topoh module (which might break other things though). ___

Re: [SR-Users] Familiar topic about Kamailio with Asterisk behind NAT

2015-09-30 Thread Dirk Teurlings - SIGNET B.V.
On 30-09-15 11:28, Daniel Tryba wrote: A quick and dirty workaround might be the topoh module (which might break other things though). Already tried that as well, but that doesn't mask the private IP in the important places. It only hides them in the via and record-route headers. Cheers,

Re: [SR-Users] Familiar topic about Kamailio with Asterisk behind NAT

2015-09-30 Thread Fred Posner
On 09/30/2015 04:22 AM, Dirk Teurlings - SIGNET B.V. wrote: > Hi, > > CLIENTS <-> (NAT) <-> INTERNET <-> KAMAILIO(4.2.5) with > RTPPROXY(v1) <-> PRIVATE LAN <-> ASTERISK (v1.8) > > > Any pointer or help would be greatly appriciated. > > Cheers, > Dirk > Are you using -A flag in

Re: [SR-Users] Familiar topic about Kamailio with Asterisk behind NAT

2015-09-30 Thread Daniel Tryba
On Wednesday 30 September 2015 10:22:51 Dirk Teurlings - SIGNET B.V. wrote: > CLIENTS <-> (NAT) <-> INTERNET <-> KAMAILIO(4.2.5) with >RTPPROXY(v1) <-> PRIVATE LAN <-> ASTERISK (v1.8) > I'm kind of stuck as to where I need to fix this. I tried using the > externaddr option in Asterisk to

Re: [SR-Users] Familiar topic about Kamailio with Asterisk behind NAT

2015-09-30 Thread Olle E. Johansson
> On 30 Sep 2015, at 11:10, Daniel Tryba wrote: > > On Wednesday 30 September 2015 10:22:51 Dirk Teurlings - SIGNET B.V. wrote: >> CLIENTS <-> (NAT) <-> INTERNET <-> KAMAILIO(4.2.5) with >> RTPPROXY(v1) <-> PRIVATE LAN <-> ASTERISK (v1.8) > >> I'm kind of stuck as to

Re: [SR-Users] out of memory Error

2015-09-30 Thread ycaner
Hello Daniel; I think i found the mem leak. after debuggin memory in acc_radius_send_request at /root/kamailio-4.3.2/modules/acc_radius/acc_radius_mod.c , after allocing with get_extra_attrs as using extra2strar , don't free in acc_radius_send_request. i will do some test and write results.

Re: [SR-Users] SIP and conntrackd experience?

2015-09-30 Thread Grant Bagdasarian
Yes, I understand. Let me explain it like this and forget about VPN: A phone call is set up from A to C through B. A connects to B which in turn connects the call to C. All traffic is sent using UDP over the public internet. B has a firewall on both ends, so between A and B and B and C. A is

Re: [SR-Users] Familiar topic about Kamailio with Asterisk behind NAT

2015-09-30 Thread Ovidiu Sas
If you have kamailio bound to both private and public interfaces, then you need to run rtpproxy in bridge mode (vanilla rtpproxy). Another option is to get rid of the rtpproxy altogether and let asterisk handle the media, but you will need to make sure that: - kamailio is rewriting IPs in SDP

Re: [SR-Users] modifying $fu / $fU (R-URI From)

2015-09-30 Thread ycaner
Hello; it is applied after t_relay() or msg_apply() functions. you can try it like $var(fufix)=$fU; $fU=$(var(fufix){s.substr,2,0}); -- View this message in context: http://sip-router.1086192.n5.nabble.com/modifying-fu-fU-R-URI-From-tp141949p141957.html Sent from the Users mailing list

Re: [SR-Users] out of memory Error

2015-09-30 Thread ycaner
Hello Daniel ; After changes some codes , it is solved. Here is diff for checking. diff --git a/modules/acc_radius/acc_radius_mod.c b/modules/acc_radius/acc_radius_mod.c index b1843d6..2bc0acc 100644 --- a/modules/acc_radius/acc_radius_mod.c +++ b/modules/acc_radius/acc_radius_mod.c @@ -49,6

[SR-Users] segmentation fault when mongodb & tls enabled. ( kamailio 4.3.2)

2015-09-30 Thread Jijo
I'm observing a segmentation fault when mongodb & tls enabled. It doesn't happen when one of the module is disabled. OS: centos 6.7 kamailio 4.3.2 mongo-c-driver version 1.1.10. It happens immediately after i register a subscriber. The location table is updated with the new data and in

Re: [SR-Users] SIP and conntrackd experience?

2015-09-30 Thread Daniel Tryba
On Wednesday 30 September 2015 13:07:12 Grant Bagdasarian wrote: > A is connected to C in say 10 seconds and they're exchanging RTP. > Now, the firewalls at B are turned off, or crash or whatever, mid call. > > Would this cause the session to be disconnected? The media is obviously > gone, but

Re: [SR-Users] modifying $fu / $fU (R-URI From)

2015-09-30 Thread Carsten Bock
Hi Sven, $fU is read-only. You will have to use uac_replace_from("$(fU{s.substr,2,0})", ""); Thanks, Carsten 2015-09-30 16:17 GMT+02:00 Sven Neuhaus : > Hello, > > I'm having some troubles with modifying $fU in my kamailio.cfg. > > The following line appears to have no

[SR-Users] modifying $fu / $fU (R-URI From)

2015-09-30 Thread Sven Neuhaus
Hello, I'm having some troubles with modifying $fU in my kamailio.cfg. The following line appears to have no effect: $fU = $(fU{s.substr,2,0}); I would expect it to remove the first two leading characters from $fU. Has anyone else seen this? I have the same issue with modifying $fu. We're

Re: [SR-Users] modifying $fu / $fU (R-URI From)

2015-09-30 Thread Sven Neuhaus
Hi Carsten, Am 30.09.2015 um 16:26 schrieb Carsten Bock: > $fU is read-only. You will have to use > uac_replace_from("$(fU{s.substr,2,0})", ""); the documentation is wrong then, it states that both $fu and $fU are R/W. Will adding the uac module (to get these functions) have any adverse effects?

Re: [SR-Users] Crash kamailio 4.3.1

2015-09-30 Thread Thibault Gueslin
Federico, I have tried to apply your commit on the branch 4.3 (just the modifications on t_append_branch.c) The result is not very good (failure route not called, 408 timeout not send...) Have you a patch for the 4.3 branch ? Regards thibault 2015-09-28 11:45 GMT+02:00 Thibault Gueslin