[SR-Users] Need kamailio to use advertise public IP only in cases of SIP communication over internet.

2021-10-05 Thread Voip support
Dear Community, I have a need of communicating with other servers using private IP with private IP in Via and SDP connection information but at same time sometime need connect to public IP SIP server and on outgoing INVITE's i need advertise public IP in Record-Route and SDP Connection information

[SR-Users] Kamailio python_exec getting randomly TypeError

2021-07-19 Thread Voip support
Dear Kamailio users, I am trying to use a python script using the module app_python3 to do some billing calculations. The only argument i want to pass to the python script is duration which i calculate in event_route[dialog:start] { $dlg_var('call_start') = $TS; event_route[dialog:end] {

Re: [SR-Users] Facing issue with call disconnection BYE packets are not accepted by kamailio

2020-05-15 Thread Voip support
advertise? I am still seeking for solution of this problem. Today we changed our configuration to public IP's only and so far it works well. No stuck calls in dialog. Best regards! czw., 14 maj 2020 o 23:15 Alex Balashov napisał(a): > On Thu, May 14, 2020 at 10:59:44PM +0200, Voip suppo

Re: [SR-Users] Facing issue with call disconnection BYE packets are not accepted by kamailio

2020-05-14 Thread Voip support
there might be explanations in the logs even > without the added verbosity, such as failure to forward out of the > correct interface--some kind of condition which was not present at the > time the e2e ACK was processed. > > -- Alex > > On Thu, May 14, 2020 at 10:21:35PM +0200,

[SR-Users] Facing issue with call disconnection BYE packets are not accepted by kamailio

2020-05-14 Thread Voip support
Dear Community, I wrote before about my random issues with calls disconnection. We found some issue in our VMWare environment that much packets was lost. We resolved the issue by moving to other VMWare host however the issue is still present. Currently it is random and some calls do not disconnec

[SR-Users] kamdbctl create - failing create kamailio database on secfilter table action column default value

2020-05-07 Thread Voip support
Hello Community, I had created for my solution an installer using ansible. It worked great all the time but suddenly it started to crash on step where i run the command : kamdbctl create root@nlb:/home/nlb# kamdbctl create -e \E[37;33mINFO: creating database kamailio ... mysql: [Warning] Using a

Re: [SR-Users] Dialog module problem.

2020-04-25 Thread Voip support
cessed. But in my case i can see on wireshark BYE received from caller and callee side but when running kamctl dialog show command the dialog is still on the list. Best regards, Tom pt., 24 kwi 2020 o 23:21 Voip support napisał(a): > Hello, > i am using dialog module in-memory to get all d

[SR-Users] Dialog module problem.

2020-04-24 Thread Voip support
Hello, i am using dialog module in-memory to get all dialogs and show in a website. I use for this kamctl dialog show which is run quite often for autorefresh. I noticed that some calls get hung on kamailio while on caller side and callee side calls are disconnected. I captured a wireshark trace

[SR-Users] Rtpproxy not work in 2 kamailio + rtpproxy setup

2020-02-26 Thread Voip support
Dear Community, I have a problem with rtpproxy not changing the SDP IP in connection information in following scenario: SIP1 -> kamailio1 + rtpproxy1 -> kamailio2 + rtpproxy2 -> SIP2 The first kamailio put SDP IP correctly (from rtpproxy) then the second kamailio does not change SDP connection

Re: [SR-Users] ACC module

2020-02-13 Thread Voip support
nother >> module etc. >> There could be a concern that the same flag as multiple purpose and >> alias/definition. >> >> By reset I meant calling setflag multiple times : >> >> modparam("acc", "log_missed_flag", 12) >> ... >> set

Re: [SR-Users] ACC module

2020-02-12 Thread Voip support
heck_trans(); } I think its left from the default config - i changed only few things in default config to add calls per second limit / dispatcher some routing logic but nothing more and set the flags for ACC module to save. śr., 12 lut 2020 o 22:03 Voip support napisał(a): > I am using

Re: [SR-Users] ACC module

2020-02-12 Thread Voip support
og line at INFO / NOTICE level logging each time you reset the > flag including the call-id : > > if (t_precheck_trans()) { > t_check_trans(); > exit; > } > > > On Wed, Feb 12, 2020 at 4:13 AM Voip support > wrote: > >> Dear Community, >

Re: [SR-Users] RTP Engine in docker

2020-02-12 Thread Voip support
are various dependencies that are not listed in wiki and >>> cause problem in installation of deb packages, which you can install later >>> on after reading the error messages. >>> >>> As for install order, for me "dpkg -i *.deb" works fine and i cont

[SR-Users] ACC module

2020-02-12 Thread Voip support
Dear Community, I have setup ACCDB module to save missed / failed and successful calls. My issue is that i am getting duplicated entries for INVITE / BYE in acc database table. For example: id;method;from_tag;to_tag;callid;sip_code;sip_reason;time;src_ip;dst_user;dst_domain;src_user;src_domain;cd

Re: [SR-Users] Dispatcher error with rtpptoxy

2020-02-12 Thread Voip support
incorrect port 0 in reply from rtp proxy This problem is related to rtpproxy listener ip not set to an interface ip available on the rtpproxy host. For ex. in ifconfig you have address 10.0.0.10 and in rtpproxy service you start with public ip -l 201.234.22.11 - it should be set to -l 10.0.0.10 i

[SR-Users] RTP Engine in docker

2020-02-10 Thread Voip support
Dear Community, I would like to use rtpengine but had a very hard time to do the compilation under ubuntu 16.04 and 18.04. On Ubuntu 18.04 after already compiled the rtpengine i was unable to install the deb packages. Many different errors occurred. I finally tried to install RTP engine on debia

Re: [SR-Users] Kamailio service error

2020-01-21 Thread Voip support
I think you need to capture w tcpdump on kamailio port and then check what packet is causing this. tcmdump -f "port 5060" -w file.pcap Then open file in wireshark and try figure out ( i think not valid sip packet coming on 5060 port). wt., 21 sty 2020 o 11:26 Mike from ApoloCore napisał(a): >

Re: [SR-Users] caching 404 responses

2020-01-10 Thread Voip support
Try to add it in onreply_route using htable but in-memory not in database. Steps : You have to initialize an htable by : modparam("htable", "htable", "counter_404=>size=32;initval=0;autoexpire=600;") And you can increase counter like that (i did not test but i think should give you a clue how to

Re: [SR-Users] Huge DB load while using location and registrar module (save()).

2020-01-09 Thread Voip support
; https://www.kamailio.org/events/2017-KamailioWorld/Day0/W05-Daniel-Constantin.Mierla-Kamailio-Optimizations.pdf >> >> >> Cheers. >> >> On Thu, Jan 9, 2020 at 8:45 AM Voip support >> wrote: >> >>> Thank you for the idea, it looks great. >>&

Re: [SR-Users] Huge DB load while using location and registrar module (save()).

2020-01-09 Thread Voip support
ate\",\n\"data\":{\"aor\":\"$(ulc(caller=>aor))\",\"addr\":\"$(ulc(caller=>addr)[$var(i)])\"\n}"); > $var(i) = $var(i) + 1; > } > } > } > > route[REGISTER_EXPIRE_EVENT] { > xlog("L_IN

[SR-Users] Huge DB load while using location and registrar module (save()).

2020-01-09 Thread Voip support
Dear Community, I am facing an issue with using the usrloc and registrar module to save registration informations in database. It works for me but when tested yesterday with around 1500-1600 users i got a lot of queries on database mostly SELECT. I figured out that changing db_mode to 0 resolves t

Re: [SR-Users] Saving REGISTER status in kamailio database while REGSITER packets are forwarded.

2019-11-18 Thread Voip support
er function with the stored contact (i had to remove < > and display name using re.subst). So far it looks to work perfect. pon., 18 lis 2019 o 13:38 Voip support napisał(a): > > Thanks again for all replies... I need to try it out - did not have time > for it yet. > > I thi

Re: [SR-Users] Saving REGISTER status in kamailio database while REGSITER packets are forwarded.

2019-11-14 Thread Voip support
reply for REGISTER in >> the reply route. >> >> Regards, >> Ovidiu Sas >> >> On Thu, Nov 14, 2019 at 3:40 PM Voip support >> wrote: >> > >> > I setup kamailio to forward REGISTER packets using dispatcher to two >> servers main and backu

[SR-Users] Saving REGISTER status in kamailio database while REGSITER packets are forwarded.

2019-11-14 Thread Voip support
I setup kamailio to forward REGISTER packets using dispatcher to two servers main and backup. The routing logic is quite simple i use the dispatcher probing mechanism to detect if my main dispatcher set id (one server) is active or inactive once it detect a failure all packets are sent to secondar