Re: [SR-Users] topoh quirk with 200 OK for CANCEL

2016-01-19 Thread Daniel-Constantin Mierla
Hello, can you send the reply you got to the CANCEL? I am interested mainly in the parameters of Via header. Cheers, Daniel On 20/01/16 02:48, Alex Balashov wrote: > Hi, > > I'm using topoh and am running into lots of these errors: > > Jan 19 20:34:52 csrpus1 /usr/local/sbin/kamailio[3641]: ERRO

Re: [SR-Users] SIP Trunking using Kamailio IMS

2016-01-19 Thread Olle E. Johansson
> On 19 Jan 2016, at 10:57, indranil chowdhury wrote: > > Hello, > > Is SIP trunking possible with the free version of Kamailio or we need to > upgrade > to business license? There is only one version, the free business version :-) > > Kindly get back to us with the details of using SIP tru

Re: [SR-Users] topoh quirk with 200 OK for CANCEL

2016-01-19 Thread Alex Balashov
On 01/19/2016 08:57 PM, Alex Balashov wrote: After I applied the advice given therein, the error seems to have gone away. Alas, false hope. The problem persists. -- Alex Balashov | Principal | Evariste Systems LLC 303 Perimeter Center North, Suite 300 Atlanta, GA 30346 United States Tel: +1-

Re: [SR-Users] topoh quirk with 200 OK for CANCEL

2016-01-19 Thread Alex Balashov
I went back and looked through topoh commit history and found this: https://github.com/kamailio/kamailio/commit/78324dcc09d0a51fa02a960a40faa7fdadddce66 After I applied the advice given therein, the error seems to have gone away. I assume this applies because CANCEL is also a locally generated

Re: [SR-Users] topoh quirk with 200 OK for CANCEL

2016-01-19 Thread Alex Balashov
PS. Running 4.3:583dc060. On 01/19/2016 08:48 PM, Alex Balashov wrote: Hi, I'm using topoh and am running into lots of these errors: Jan 19 20:34:52 csrpus1 /usr/local/sbin/kamailio[3641]: ERROR: [R-DEFAULT-STATELESS-REPLY:nmhfrms2ib9Cnm9kS00Qtbtot5PMiQ0Ni1QKS5iKibuotel14Ygc] !> Received stat

[SR-Users] topoh quirk with 200 OK for CANCEL

2016-01-19 Thread Alex Balashov
Hi, I'm using topoh and am running into lots of these errors: Jan 19 20:34:52 csrpus1 /usr/local/sbin/kamailio[3641]: ERROR: [R-DEFAULT-STATELESS-REPLY:nmhfrms2ib9Cnm9kS00Qtbtot5PMiQ0Ni1QKS5iKibuotel14Ygc] !> Received stateless reply 200 (CANCEL) from xxx.xxx.xxx.xxx:5060 Jan 19 20:34:53 csrpu

Re: [SR-Users] Strange PUA Behaviour

2016-01-19 Thread Daniel-Constantin Mierla
Can you get a pcap for a case with the new config? Being traveling, but maybe I get a chance to look at it soon. Reading quickly on some docs, I noticed that subs_db_mode=3 and notifier_proceses=0 rise a conflict: http://www.kamailio.org/docs/modules/devel/modules/presence.html#presence.p.notifie

Re: [SR-Users] BLF on different IPs/domains

2016-01-19 Thread Daniel-Constantin Mierla
Hello, the domain part of the uri matters in matching the sip addresses. You should use a common hostname instead of IP addresses in such case, if you want to have same presentity. Even if you do it in kamailio somehow for many IPs, the watchers won't consider those to which they haven't subscri

Re: [SR-Users] Strange PUA Behaviour

2016-01-19 Thread Phil Lavin
Just to follow this up with more recent results. I've simplified things and have been testing calling from a Kamailio registered UA to a phone on the PSTN. There's only 1 dialog in Kamailio for this and the results are just as strange. BLF works for a while and then breaks. In this particular ca

Re: [SR-Users] Strange PUA Behaviour

2016-01-19 Thread Daniel-Constantin Mierla
I see the records in presentity table are expiring rather in short interval. Is the lamp still on after that? Cheers, Daniel On 19/01/16 19:10, Phil Lavin wrote: > > Below is the relevant presence/pua stuff. Let me know if I should be > examining other tables. > > > > When the call ends, there

Re: [SR-Users] Is "new_conn_alias_flags" supported/recommended? It seems to solve my NAT problem, but I'm worried it's not safe.

2016-01-19 Thread Cody Herzog
Hello. Thanks for the quick reply. The internal ports were different in the testing I was doing. Client A was using 5061 as the local TCP port for the persistent TLS connection for SIP signalling. Client B was using ephemeral high TCP ports for the brief test connections. The best way to reprodu

Re: [SR-Users] Kamailio and freeswitch integration for SBC

2016-01-19 Thread Daniel-Constantin Mierla
I think I asked what do you mean by "freeswitch is generated UN-allocated number" -- is it sending a SIP reply to Kamailio? Maybe you can paste here the sip capture with ngrep for such call. Cheers, Daniel On 19/01/16 23:44, malik sherif wrote: > > Any idea as to how to correct this problem? Als

Re: [SR-Users] Is "new_conn_alias_flags" supported/recommended? It seems to solve my NAT problem, but I'm worried it's not safe.

2016-01-19 Thread Daniel-Constantin Mierla
Hello, I am not the developer that added the new_conn_alias_flags and had not time to dig much in the code to given an precise answer. But if it make the case you detailed to work, then set it. In its definition in the code i saw it can be 0, 1 or 2. Try to see if it works to set it in kamailio.c

Re: [SR-Users] Kamailio and freeswitch integration for SBC

2016-01-19 Thread malik sherif
Any idea as to how to correct this problem? Also wireshark trace shows that unrecognized SIP header for invite from freeswitch to kamailio and the header from freeswitch is X-FS-support: update _display ,send_info. How can I disable this header? any other solution beside disabling the header?

[SR-Users] BLF on different IPs/domains

2016-01-19 Thread Phil Lavin
Hi all, A different BLF query to my other one so creating another thread. We've tried to have a BLF client SUBSCRIBE using a secondary IP on Kamailio. It is not sent a NOTIFY, but a client which has done a SUBSCRIBE using the primary IP is. If we route the problematic client such that it connec

Re: [SR-Users] Strange PUA Behaviour

2016-01-19 Thread Phil Lavin
Below is the relevant presence/pua stuff. Let me know if I should be examining other tables. When the call ends, there are no dialogs remaining in the dialog table. A few things do hang around in the presentity and pua tables for a short period of time. Regarding CLI changing, it does seem to

Re: [SR-Users] Fwd: Kamailio and NAT

2016-01-19 Thread Daniel-Constantin Mierla
To get rport you can use transformations. If you restart kamailio, is the firewall preserving the same value for rport? Cheers, Daniel On 19/01/16 18:18, Nelson Migliaro wrote: > I am thinking that I cat get the port during the first call and then > use that port for the rest of calls. > Maybe t

Re: [SR-Users] Kamailio 4.2.6 crash

2016-01-19 Thread Daniel-Constantin Mierla
Hello, the runtime issue is happening inside the free cell of tm, which I refactored for catching unnecessary refs, as I got leads could happen on some async handling. But that code is only in master and branch 4.3. Would you be able to test with those branches? If not, I can try to see if the cod

Re: [SR-Users] Strange PUA Behaviour

2016-01-19 Thread Daniel-Constantin Mierla
Hello, is any of these two dialogs staying not terminated when the call is ended? I would only advertise the dialog info states for the call leg going to callee, because it is the one for call pickup. On the other hand for shared line appearance, the caller is watched as well. Is the caller id c

Re: [SR-Users] Strange PUA Behaviour

2016-01-19 Thread Daniel-Constantin Mierla
Hello, and in the presence/pua related tables, do you have records related to the this calls? Those from dialog table are only for dialog module internal needs. Cheers, Daniel On 19/01/16 10:41, Phil Lavin wrote: > > Hi Daniel, > > > > Thanks for your response. There are 2 records in the data

Re: [SR-Users] Fwd: Kamailio and NAT

2016-01-19 Thread Nelson Migliaro
I am thinking that I cat get the port during the first call and then use that port for the rest of calls. Maybe that first call will fail but after that, all calls will go fine. Example of a Trying showing received port: 52548 ¿Do you know what pseudovariable represent that value? I tested with

[SR-Users] SIP Trunking using Kamailio IMS

2016-01-19 Thread indranil chowdhury
Hello, Is SIP trunking possible with the free version of Kamailio or we need to upgrade to business license? Kindly get back to us with the details of using SIP trunking using Kamailio. We have a requirement in our organisation regarding the same which uses IMS and SIP trunking. In this setup we

Re: [SR-Users] Kamailio 4.2.6 crash

2016-01-19 Thread Igor Potjevlesch
Hello Daniel, I don't think so. Looking at my config, I don't see any t_suspend and tsilo module is not loaded. I'm just using dialog module for snmpstats. Regards, Igor. De : Daniel-Constantin Mierla [mailto:mico...@gmail.com] Envoyé : lundi 18 janvier 2016 08:56 À : Igor Potjevl

Re: [SR-Users] Strange PUA Behaviour

2016-01-19 Thread Phil Lavin
Hi Daniel, The multiple records are because we are routing calls between UAs which are both registered against Kamailio via an external SIP server (our billing engine). That is causing there to be 2 dialogs created. We have put in a quick hack to not call dlg_manage() when the $fU is "9989". T

Re: [SR-Users] Registration to sip provider

2016-01-19 Thread Alex Balashov
Hi Evren, 1. The UAC module uses a database table called `uacreg` as a list of credentials and registration destinations. See: https://github.com/kamailio/kamailio/blob/master/utils/kamctl/mysql/uac-create.sql 2. You can trigger a registration manually with uac_reg_request_to() from route s

Re: [SR-Users] Strange PUA Behaviour

2016-01-19 Thread Phil Lavin
Hi Daniel, Thanks for your response. There are 2 records in the database. They are below: mysql> select * from dialog\G; *** 1. row *** id: 602 hash_entry: 3537 hash_id: 8368 callid: 8f7b7053-2026fb79-350890bb@

[SR-Users] Registration to sip provider

2016-01-19 Thread Evren Akbulut
Hi, I am a newbie. As I read I understand I need to use UAC module for registration but cannot figure how to trigger the registration request. I enable the UAC module and it seem to be working. How can I trigger the REGISTER to a SIP provider account? And is it possible to use multiple accounts

[SR-Users] rtpengine to do DTLS-SRTP handshake, but media should not pass through it. the media should go through media server, which is running on the same machine

2016-01-19 Thread riko nir
Hi, We have a media server and (opensips + rtpengine). How can I configure opensips+rtpengine to just do DTLS handshake with the client, but the media should not go through RTPEngine. The media should go to the Media server. Thanks. Riko ___ SIP Expre

Re: [SR-Users] Kamailio Load Balancing Cluster

2016-01-19 Thread Daniel-Constantin Mierla
Hello, if you are looking at sharing the same destination addresses, many kamailio can connect to the same database. If you have active-active LBs want to notify the other LB about a change in a state of a destination, then you can use the event_route blocks executed by dispatcher module to notif