[SR-Users] packaging v4.0.0

2013-03-03 Thread Daniel-Constantin Mierla
Hello, (cross-posting as this decision may be done properly with feedback from both developers and users community). Now that we have some band new modules but also several that were not packaged by Kamailio, just by ser (due to single modules directory), I was thinking we may want to recons

Re: [SR-Users] Cannot hear voice with symmetric NAT and STUN

2013-03-03 Thread Khoa Pham
@Alex: thanks for reply In this IPv4 world, most devices are in NAT, and it only matters if they are symmetric NAT or not. So if 1 client is behind symmetric NAT, I want to use rtpproxy, otherwise, I do not. According to what I read from kamailio cfg, Kamailio only knows if client is NATed or not

Re: [SR-Users] Cannot hear voice with symmetric NAT and STUN

2013-03-03 Thread Alex Balashov
On 03/04/2013 02:44 AM, Khoa Pham wrote: @Daniel, how can the SIP proxy determine whether to use rtpproxy or not ? You have to set your own criteria for that. If you only want to use rtpproxy in NAT scenarios, you can attempt to detect NAT on the far end using some combination of flags pass

Re: [SR-Users] Cannot hear voice with symmetric NAT and STUN

2013-03-03 Thread Khoa Pham
@Daniel, how can the SIP proxy determine whether to use rtpproxy or not ? On Sun, Mar 3, 2013 at 11:58 PM, Daniel-Constantin Mierla wrote: > Hello, > > stun works pretty well for non-symmetric nat. If there is symmetric nat, > then you need a rtp relay (e.g., rtpproxy) or turn server. > > Chee

Re: [SR-Users] When to rewrite o= in SDP ?

2013-03-03 Thread Khoa Pham
@Daniel Thanks for reply. But do you know what affects Kamailio in deciding whether to rewrite c= or not ? On Sun, Mar 3, 2013 at 11:42 PM, Daniel-Constantin Mierla wrote: > Hello, > > for nat trversal, I suggest you use the default kamailio.cfg from later > versions 3.3.x or upcoming 4.0. Re

Re: [SR-Users] Asterisk realtime with kamailio Load balancing issue for sip user

2013-03-03 Thread Prakash N
Hi Muhammad, We are following below document for Kamailio and Asterisk integration http://kb.asipto.com/asterisk:realtime:kamailio-3.3.x-asterisk-10.7.0-astdb We are plan use one Kamailio with Multiple asterisk (Queue,IVR and Conference purpose) Now calls are landing to asterisk with load ba

Re: [SR-Users] Kamailio problem with both clients in the same NAT

2013-03-03 Thread Mitan Lopez
Actually I've come far to this problem I have installed Kamailio as sip server/registrar and using default config. I have this situation: mobile cleint using IMSdroid (extension 100) windows client using Linphone (extension 300) Register satus: both clients register successfuly Both clients get

Re: [SR-Users] Kamailio problem with both clients in the same NAT

2013-03-03 Thread Moacir Ferreira
The best way to understand all NAT variations -> http://en.wikipedia.org/wiki/Network_address_translation In there they explain: Symmetric NATEach request from the same internal IP address and port to a specific destination IP address and port is mapped to a unique external source IP address an

Re: [SR-Users] UnixODBC cant insert sip_capture record on sql server

2013-03-03 Thread Grant Bagdasarian
Hello,   Alright, I will try that. I temporarily fixed it by editting the .c file and enclosing the parameter with brackets. It works, but not a good approach.   Thanks!   Regards,   Grant Van: sr-users-boun...@lists.sip-router.org [sr-users-boun...@lists.sip-router.org] namens Daniel-Constanti

Re: [SR-Users] reload to memory is much slower and has problms after upgrade to 3.3.2 and using mem_join=1

2013-03-03 Thread Uri Shacked
Hi, I have this memory issue again. The status now is that I compiled kamailio as followed here and use mem_join=1. I reload my data from DB every minute! I know i reload a lot, will take care of that (will update you all on April :-)). When kamailio starts the shmem is about 17% of 4Gb and aft

Re: [SR-Users] uac_replace_from / New URI shorter than old URI

2013-03-03 Thread Daniel-Constantin Mierla
Hello, can you look at execution traces printed by debugger module just ot be sure no subst/replcae function is executed there? I will have to look at sources to see if there is a side effect in uac replace from that affect the two header. Also, can you use the latest 3.3.x (3.3.4 or git bra

Re: [SR-Users] UnixODBC cant insert sip_capture record on sql server

2013-03-03 Thread Daniel-Constantin Mierla
Hello, seems that in 4.0 that column is named 'auth'. Anyhow, you can try via modparam, setting 'authorization_column' to "[authorization]". If not, rename that column and set this modparam to the new column name. Cheers, Daniel On 2/28/13 3:02 PM, Grant Bagdasarian wrote: I meant the colu

Re: [SR-Users] Cannot hear voice with symmetric NAT and STUN

2013-03-03 Thread Daniel-Constantin Mierla
Hello, stun works pretty well for non-symmetric nat. If there is symmetric nat, then you need a rtp relay (e.g., rtpproxy) or turn server. Cheers, Daniel On 2/28/13 5:48 PM, Khoa Pham wrote: Hi David, I already read all of these. But the problem seems contradict with what I read On Thu, F

Re: [SR-Users] Which is first, t_on_reply or callbacks in C ?

2013-03-03 Thread Daniel-Constantin Mierla
Hello, there are several callbacks related to replies (e.g., received, to be sent, forwarded). iirc, the one for dialog is when the reply is to be sent out, which should be after the onreply_route. Cheers, Daniel On 2/28/13 4:20 PM, David wrote: Hello, Can someone tell me which is executed

Re: [SR-Users] When to rewrite o= in SDP ?

2013-03-03 Thread Daniel-Constantin Mierla
Hello, for nat trversal, I suggest you use the default kamailio.cfg from later versions 3.3.x or upcoming 4.0. Read the comments at the top of the file -- practically the routing logic for nat traversal is surrounded by WITH_NAT define. o= line is not used for rtp relaying, but some clients

Re: [SR-Users] not able to install Kamailio

2013-03-03 Thread Daniel-Constantin Mierla
Quite strange, can you get all the output of: make Q=0 Cheers, Daniel On 3/1/13 6:52 PM, Julián wrote: Daniel I am trying to compile 3.3.4 release I checked the dependencies and it seems that is OK Regards Julián *De:*sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.

Re: [SR-Users] t_lookup.c: WARNING: script writer didn't release transaction - problem

2013-03-03 Thread Daniel-Constantin Mierla
Hello, a crash should not happen no matter what script errors are. Also, the log message is a warning. Besides that, the log message is printed by process 791 and the process crashed is 796, so the reason can be related but not necessary that one. You got a core file, according to the log me

Re: [SR-Users] Kamailio problem with both clients in the same NAT

2013-03-03 Thread Khoa Pham
Is that symmetric NAT ? On Thu, Feb 28, 2013 at 6:46 PM, mohavere36 wrote: > hi, I'm struggling for 2 days to make a config file for kamailio in a > situation where clients arein the same nat but kamailio has public IP, one > way audio problem, does any one have a solution for it? > > > _

[SR-Users] t_lookup.c: WARNING: script writer didn't release transaction - problem

2013-03-03 Thread Efelin Novak
Hi folks, we have a serious issue with tm module. In Fail route we would like to send a reply 404 when a cr_route function fails(no destination found). We use t_reply("404", "No route to destination"). However after the call is disconnected with a 404 reply the tm module writes a following warning

Re: [SR-Users] Asterisk realtime with kamailio Load balancing issue for sip user

2013-03-03 Thread Muhammad Shahzad
I am not sure what you are trying to do. Your description is too brief to understand. Can you send me complete call flow? Thank you. On Sat, Mar 2, 2013 at 2:18 PM, Prakash N wrote: > >Hi Muhammad, > > Thanks for your mail > >Actually we are trying to do load balance with one Kamai

Re: [SR-Users] Asterisk realtime with kamailio Load balancing issue for sip user

2013-03-03 Thread Muhammad Shahzad
Why are you forwarding instead of relaying the message to selected destination? Forward is stateless and therefore likely to have NAT issues, specially if destination server is behind NAT or client is behind NAT and destination server is unable to handle NAT etc. etc. Also typically dispatcher is