[SR-Users] Kamailio send 2 INVITE(lookup rewrite r-uri and append branch) request for Client behind NAT

2018-03-28 Thread amit Kumar
Hi All, Kamailio send 2 INVITE(lookup rewrite r-uri and append branch) request for Client behind NAT. Due to this reason for one request,Client respond with 486 Busy here. we only want to send 1 INVITE request. Following are the AOR for client at kamailio.if field(ip port) in CONTACT and RECEIVE

Re: [SR-Users] [sr-dev] is t_flush_flags() really needed?

2018-03-28 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > Afaik, flags after t_newtran() were supposed not to be moved to > transaction if t_flush_flags(), that being the purpose of the later > function. Are you doing any other tm operations between creating the new > transaction and relaying the request or end of scrip

Re: [SR-Users] kamailio & vmware

2018-03-28 Thread Daniel Tryba
On Tue, Mar 27, 2018 at 06:06:58PM -0400, Fred Posner wrote: > > Anyone has advice on kamailio on a VM, when it only handles sip?? ? > > > ESX/VMware has been great for me with kamailio, even with RTP and high > volume. ESX works fine indeed. But when you run something like rtpengine with a moder

Re: [SR-Users] kamailio with media server

2018-03-28 Thread Atux Atux
Thanks a lot. My first steps are towards to make Kamailio have the following: -register to a provider, eg user:atux, passwd: null, domain: sip.providerA.com. *Pending*. -create users. *Done* already and have the users talk to each other by using Jitsi. -route DIDs to corresponding users. *Pending*

Re: [SR-Users] topos redis -> failed to store

2018-03-28 Thread Daniel Tryba
On Wed, Jan 10, 2018 at 01:08:10PM +0100, Daniel-Constantin Mierla wrote: > Hello, > > can you watch the traffic and see if this NOTIFY is part of a dialog? > Respectively, if it has a tag parameter in the To header? Eventually you > can paste here the output of ngrep command for the NOTIFY: > >

Re: [SR-Users] topos redis -> failed to store

2018-03-28 Thread Daniel Tryba
On Wed, Mar 28, 2018 at 01:05:17PM +0200, Daniel Tryba wrote: > I'm seeing the same spam in syslog, but in my case the source are > OPTIONS (asterisk qualifies), so they aren't part of a dialog. I was wrong, these are locally generated OPTIONS by the dispatcher module. __

Re: [SR-Users] kamailio & vmware

2018-03-28 Thread Mack Hendricks
Are you getting the 408 from Asterisk or Kamailio? Perhaps you can provide a snippet of a sip capture. Mack Hendricks / Head of Support / dOpenSource web: http://dopensource.com support: +888-907-2085 dSIPRouter - GUI focused on implementing Ka

[SR-Users] kamailio it does not start after reboot

2018-03-28 Thread Atux Atux
i am installing Kamailio using apt in a debian 8 machine by following this guide http://kb.asipto.com/kamailio:skype-like-service-in-less-than-one-hour i managed to create a few users and through Jitsi to talk to each other. once i reboot the machine, then the problems start and Kamailio cannot sta

Re: [SR-Users] kamailio it does not start after reboot

2018-03-28 Thread Tomi Hakkarainen
Hi, have you checked the systemd logs for more details where the startup fails ? The output of the following commands # systemctl status kamailio.service # journalctl -xn maybe grep with some good keyword “error" or something… Tomi > On 28 Mar 2018, at 15.51, Atux Atux wrote: > > i am ins

Re: [SR-Users] kamailio it does not start after reboot

2018-03-28 Thread Aqs Younas
Try to run 'journalctl -xn'. Most probably you will see the error there. Make sure you have kamailio.service enable to run on reboot. 'systemctl enable kamailio.service' Br, Aqs. On 28 March 2018 at 17:51, Atux Atux wrote: > i am installing Kamailio using apt in a debian 8 machine by following

Re: [SR-Users] kamailio & vmware

2018-03-28 Thread Jean Cérien
Kamailio. Here is the situation. Call arrives from voip provider to kamailio, it dispatches to asterisk, asterisk answers, and initiates another call through kamailio, and the voip provider. K<---> Asterisk Invite -> <--- 100 <180 <--- 200 <--- 200 retransmission,; happens 3-5 tim

Re: [SR-Users] kamailio & vmware

2018-03-28 Thread Mack Hendricks
Is the 200 getting back to the carrier? I’m assuming not. What does the INVITE and 200 message look like > On Mar 28, 2018, at 9:04 AM, Jean Cérien wrote: > > > Kamailio. > > Here is the situation. Call arrives from voip provider to kamailio, it > dispatches to asterisk, asterisk answers,

Re: [SR-Users] kamailio it does not start after reboot

2018-03-28 Thread Atux Atux
here are the outputs of the commands i issued: root@debian:~# systemctl status kamailio.service >error.txt ● kamailio.service - Kamailio Server Loaded: loaded (/etc/systemd/system/kamailio.service; enabled) Active: failed (Result: exit-code) since Wed 2018-03-28 16:07:22 EEST; 17min ago P

Re: [SR-Users] kamailio it does not start after reboot

2018-03-28 Thread Daniel Tryba
On Wed, Mar 28, 2018 at 04:30:45PM +0300, Atux Atux wrote: > here are the outputs of the commands i issued: You should really start read the output of your commands: > Mar 28 16:07:18 debian kamailio[460]: CRITICAL: [core/cfg.y:3450]: > yyerror_at(): parse error in config file /etc/kamaili > o/

Re: [SR-Users] kamailio it does not start after reboot

2018-03-28 Thread Tomi Hakkarainen
Yo Atux, You have some configuration error on line 150 on your kamailio configuration file /etc/kamailio/kamailio.cfg Check and correct that next ... Tomi > On 28 Mar 2018, at 16.30, Atux Atux wrote: > > here are the outputs of the commands i issued: > > > root@debian:~# systemctl status ka

Re: [SR-Users] topos redis -> failed to store

2018-03-28 Thread Daniel-Constantin Mierla
Hello, On 28.03.18 13:47, Daniel Tryba wrote: > On Wed, Mar 28, 2018 at 01:05:17PM +0200, Daniel Tryba wrote: >> I'm seeing the same spam in syslog, but in my case the source are >> OPTIONS (asterisk qualifies), so they aren't part of a dialog. > I was wrong, these are locally generated OPTIONS b

Re: [SR-Users] topos redis -> failed to store

2018-03-28 Thread Daniel Tryba
On Wed, Mar 28, 2018 at 03:49:18PM +0200, Daniel-Constantin Mierla wrote: > > I was wrong, these are locally generated OPTIONS by the dispatcher > > module. > > > > > just for clarificiation, the OPTIONS are generated by the same kamailio > instance, right? > > If yes, then I will look at adding s

Re: [SR-Users] Missing exit function on KEMI?

2018-03-28 Thread Daniel-Constantin Mierla
Hello, in Python you can call exit() or os.exit(), this throws an exception which is caught by Kamailio and interpreted as the usual exit from kamailio.cfg. Probably we should add the KSR.x.exit() there as well, it was not added because python exit gave what was needed in this case Cheers, Danie

[SR-Users] How to extract SIP-I ISUP parameters

2018-03-28 Thread Eugene Prokopiev
Hi, I need to extract ISUP parameter 'Redirecting number' from SIP-I INVITE request and add it as SIP header with 'X-' prefix to process in FreeSWITCH. I tried to read https://kamailio.org/docs/modules/5.1.x/modules/sipt.html (but it is about updating headers) and https://kamailio.org/docs/modules

Re: [SR-Users] kamailio & vmware

2018-03-28 Thread Jean Cérien
Thanks for the help I've reproduced the issue on the test bed, with sipp to generate calls. The issue appears in the second call - Asterisk places a call to Kamailio that should relay it to the carrier. Asterisk sends Invite, Kamailio replies with 100 and then nothing gets out of kamailio (I use

Re: [SR-Users] kamailio & vmware

2018-03-28 Thread Joel Serrano
Where are you t_relay()ing to? Do you use dispatcher or similar? Are you manually setting $du? On Wed, Mar 28, 2018 at 3:09 PM, Jean Cérien wrote: > > Thanks for the help > > I've reproduced the issue on the test bed, with sipp to generate calls. > > The issue appears in the second call - Aste