Re: [SR-Users] Several Asterisk on this same IP

2017-03-12 Thread Gonzalo Gasca Meza
We face similar issues, we had 1 * server per VLAN, where each * had the same IP address, we achieve this with NAT. <> Asterisk 1 <> Asterisk 2 SIP LB <---> NAT <> Asterisk 3 Your NAT device needs to be SIP aware, in our case w

Re: [SR-Users] Websocket TLS Issue

2017-02-02 Thread Gonzalo Gasca Meza
Are you using self-signed certs? or public certs signed by public CA. On Thu, Feb 2, 2017 at 1:34 PM, Ludovic Gasc wrote: > Hi, > > It might be a stupid question, but why you don't have WebSockets without > TLS between HAProxy and Kamailio ? > I've a similar setup to enable us to have on the sam

Re: [SR-Users] Rewrite From domain

2017-01-02 Thread Gonzalo Gasca Meza
2nd try. Thanks On Fri, Dec 30, 2016 at 1:28 PM, Gonzalo Gasca Meza wrote: > Hi Igor, > Please look for "Masking Twilio call from:" > > > On Sun, Dec 25, 2016 at 12:47 PM, Igor Olhovskiy > wrote: > >> According to your Pastebin, I couldn’t find in log

Re: [SR-Users] Rewrite From domain

2016-12-30 Thread Gonzalo Gasca Meza
23 дек. 2016 г., 10:51 +0200, Gonzalo Gasca Meza < > gascagonz...@gmail.com>, wrote: > > Hi Daniel, > > I added xlog and $mb here is the debug: > > I still cant figure out how to overwrite the From field. > > http://pastebin.com/vMruA0tP > > Call flow: > >

Re: [SR-Users] Rewrite From domain

2016-12-23 Thread Gonzalo Gasca Meza
, > > for the case when it doesn't work, do you see the xlog message printed? > > Cheers, > Daniel > > On 21/12/2016 08:37, Gonzalo Gasca Meza wrote: > > Hi Daniel, > > Thanks for the advise, I'm using the following configuration, > >

Re: [SR-Users] Rewrite From domain

2016-12-20 Thread Gonzalo Gasca Meza
c module. > > The best place to do updates to headers for outgoing traffic is in a > branch_route block. > > Cheers, > Daniel > > On 13/12/2016 12:05, Gonzalo Gasca Meza wrote: > > Hi all, > > I'm using Kamailio to forward calls between 2 Service Providers

[SR-Users] Kamailio 4.3 Rewriting From and db_alias values

2016-12-15 Thread Gonzalo Gasca Meza
Hi forum, This is the scenario: VM <- Kamailio -> SP1 - SP2 PhoneA (john) PhoneB PhoneA is configured in *dbaliases* table: alias_username, alias_domain, username, domain , sp1.com, john, sp2.com When PhoneB dials 111, Kamailio converts 111...@sp1.com to j...@sp2.com Now I

[SR-Users] Rewrite From domain

2016-12-13 Thread Gonzalo Gasca Meza
Hi all, I'm using Kamailio to forward calls between 2 Service Providers and I need to rewrite the From header "domain" URI. Example: From: "+188" to From: "+188" http://sip.sp2.com>*> *Call flow:* Phone A --- > SP1 ---> sip > (kamailio) SP2 --(LOCATION)-> Phone B When Ph

Re: [SR-Users] Kamailio 4.4 VoiceMail

2016-11-10 Thread Gonzalo Gasca Meza
Thanks Daniel On Thu, Nov 10, 2016 at 8:04 AM, Daniel Tryba wrote: > On Sun, Nov 06, 2016 at 02:22:06AM -0800, Gonzalo Gasca Meza wrote: > > Currently in sample configuration script, seems to be that value: > $avp(oexten) > > is used to redirect to VM, but in my case this va

[SR-Users] Kamailio 4.4 VoiceMail

2016-11-06 Thread Gonzalo Gasca Meza
I have the following call flow: INVITE -> sip:gonz...@sip.parzee.io -- TLS/TCP/UDP -> *KAMAILIO* - DB Lookup -> INVITE sip:gonzal...@test.external.com;transport=tls (Phone1) If Phone1 is Busy or No answer, I want call to go to VM. Phone1, is not registered to Kamailio, nor I'm using Realtime Inte

Re: [SR-Users] Kamailio DB lookup

2016-11-06 Thread Gonzalo Gasca Meza
It worked perfectly with alias_db_lookup and add transport in domain field. Thanks On Sat, Nov 5, 2016 at 10:00 AM, Gonzalo Gasca Meza wrote: > Thanks for replying, > > What I want to achieve is once I receive the SIP INVITE, I need to > translate it to a different SIP URI,

Re: [SR-Users] Kamailio DB lookup

2016-11-05 Thread Gonzalo Gasca Meza
in order to have Kamailio force the new SIP request in TLS. Is this the right way? Thank you -Gonzalo On Sat, Nov 5, 2016 at 6:01 AM, Anthony Joseph Messina < amess...@messinet.com> wrote: > On Friday, November 4, 2016 1:58:48 AM CDT Gonzalo Gasca Meza wrote: > >

[SR-Users] Kamailio DB lookup

2016-11-04 Thread Gonzalo Gasca Meza
Hi Kamailions, Kamailio 4.3 will receive calls (SIP TLS) for users in this domain: *sip.parzee.io . *Example sip:gonz...@sip.parzee.io When call is received by Kamailio I need to overwrite R-URI and transport. I should keep a mapping per user. ( gonzalo -> gonzalo58) Exam

Re: [SR-Users] How should a PBX behave when a user dials a DID configured for the same or another tenant on that PBX?

2015-06-04 Thread Gonzalo Gasca Meza
Hi Antonio, In general PBXs (Example: Cisco Callmanager, Asterisk) handles extensions and routes to PSTN differently. Example: Extension 1. 4082186571 Extension 2. 4082186572 Route Pattern (SJ Local) 408XXX There are normally 2 approaches for the problem you describe. a) Context access b)

Re: [SR-Users] IPSec supporting open source SIP Server

2015-06-02 Thread Gonzalo Gasca Meza
We recently implemented strongswan project which supports ipsec. https://www.strongswan.org/ On Jun 2, 2015 6:59 AM, "Måns Nilsson" wrote: > Subject: [SR-Users] IPSec supporting open source SIP Server Date: Mon, Jun > 01, 2015 at 02:51:00PM +0530 Quoting Priyaranjan Nayak ( > priyaranjan4...@gma

Re: [SR-Users] Video Key-Frame Request using RTCP FIR or SIP INFO message

2015-01-31 Thread Gonzalo Gasca Meza
Hi Muhammad Can you comment if initially endpoints are receiving what is necessary to start sending Media at signaling level. For example: Successful ICE and SRTP-SDES/DTLS negotiation. I see two issues here: a) Establish a successful call b) Once call is established how to deal with packet loss.

Re: [SR-Users] Need help on WebRTC with Kamailio as proxy

2015-01-26 Thread Gonzalo Gasca Meza
Are you terminating media in Kamailio or just handling WS communication? If yes which version of Kamailio and rtp-proxy ? Have you tried passing media directly between Browser and Kamailio with any TURN server? Are you using latest Chrome version or FF ? A working sample config using the followin

Re: [SR-Users] remote mysql

2015-01-24 Thread Gonzalo Gasca
What's the content for kamctlrc and for kamailio.cfg ? Sample working config here for MySQL: https://github.com/spicyramen/llamato/tree/LlamatoReg On Sat, Jan 24, 2015 at 11:29 PM, Slava Bendersky wrote: > Hello Everyone, > > I am trying start kamailio 4.2 with remote mysql server and on debug

[SR-Users] Fwd: WSS connection is getting dropped after BYE is sent

2014-11-25 Thread Gonzalo Gasca
forwarding to alias On Tue, Nov 25, 2014 at 7:09 PM, Kamrul Khan wrote: > Hi, > > I have successfully configured Kamailio for WSS support using the below > instructions. Everything works perfectly except, when call is hanged up > from the receiving end, Kamailio sends BYE and the browser disconn

Re: [SR-Users] UAC INVITE to Provider

2014-10-30 Thread Gonzalo Gasca
What about the Contact header, Contact: Can you verify is a valid one. On Wed, Oct 29, 2014 at 3:56 PM, Yuriy Gorlichenko wrote: > Hello. I use kamailio for calling to porvider. My providr seccefuully > registered from UAC module, but when I try to call through it? it back 401 > Unauthorised.

Re: [SR-Users] websocket and SIP

2014-10-30 Thread Gonzalo Gasca
Hi Ricardo, I have a similar setup working: sipml5 -wss-> Kamailio -udp-> GW (FS) I use Freeswitch with UDP and works fine, as you can see initial Invite with SDP for Webrtc clients using sipMl5 is normally pretty big (audio+video) and normally if you are proxying that message the remote end shou

Re: [SR-Users] One sided or no voice issue with websockets

2014-10-22 Thread Gonzalo Gasca
Hi Kamrul, Can you provide more details about the call flow: It is important to understand the following: -Topology -Web browser models and versions (Chrome vs FireFox) -Kamailio version When you say: "It works perfectly within local network" Please take a look at ICE negotiation. I have sipml5

Re: [SR-Users] kamailio 4.2 ,have some problems when use mysql db

2014-10-20 Thread Gonzalo Gasca
1 | > | usr_preferences | 2 | > +-+---+ > 26 rows in set (0.01 sec) > mysql> select count(*) from dispatcher; > +--+ > | count(*) | > +--+ > |1 | > +--+ > 1 row in set (0.01 sec) > > >

Re: [SR-Users] kamailio 4.2 ,have some problems when use mysql db

2014-10-20 Thread Gonzalo Gasca
Hi Shuntongzhang, As Daniel mentioned we can see the error during* pkg_malloc* db_res.c: db_new_result(112) (db_res.c#L112) https://github.com/kamailio/kamailio/blob/fcdf5f9cfff634ebfa736d7084d5e5483a36355b/lib/srdb1/db_res.c#L112 As I mentioned before can you provide the results of the query fo

Re: [SR-Users] kamailio 4.2 ,have some problems when use mysql db

2014-10-19 Thread Gonzalo Gasca
Hi, Based on: Oct 20 08:14:45 ka[15500]: ERROR: [db.c:401]: db_table_version(): error in db_query Oct 20 08:14:45 ka[15500]: ERROR: dispatcher [dispatch.c:669]: init_ds_db(): failed to query table version What's the result when you run a direct mysql query for "version" table for the following

Re: [SR-Users] Configuring TLS and WSS with Kamailio

2014-10-17 Thread Gonzalo Gasca
Hi Ben, In regards your certificates, please double check the following: a) CN field: In your webrtc client check the URL used for wss. and verify it matches the CN field of the certificate installed in kamailio: Example: In my sipml5 client I configured wss://ramenlabs.io:5063 and my certificate

Re: [SR-Users] KAMAILIO not updating Registration status to DB

2014-10-08 Thread Gonzalo Gasca
Hi Varghese, When you mentioned some of the endpoint registrations are not updated to Db, which Db type and command are you using to verify this? Do you mean new registrations are not updated into Db and info stays in cache? I see you are using mode 1, check if "timer_interval" param makes a diff

Re: [SR-Users] Kamailio -topoh- and Via headers

2014-10-07 Thread Gonzalo Gasca
Status Code: 101 Response Phrase: Switching Protocols --> Via: SIP/2.0/TCP 172.31.22.2:37137\r\n Thanks Daniel -Gonzalo On Tue, Oct 7, 2014 at 12:01 AM, Daniel-Constantin Mierla wrote: > Do you refer to the http response only? Or to SIP as well? > > Daniel > > &

Re: [SR-Users] Kamailio -topoh- and Via headers

2014-10-06 Thread Gonzalo Gasca
Via, which is invalid in > websocket case. > > Maybe you can rewrite headers in nginx or use kamailio as a proxy/load > balancer instead of nginx and then you have plenty of options to play with > sip headers. > > Cheers, > Daniel > > > On 06/10/14 02:39, Gonzalo G

[SR-Users] Kamailio -topoh- and Via headers

2014-10-05 Thread Gonzalo Gasca
I'm using Kamailio as SIP Registrar using Websockets. My topology looks like this: Sip client (sipml5) ---> wss ---> Nginx ---> ws ---> Kamailio 4.1.5 When I look into my SipMl5 application in the Register Message 200 OK from Kamailio I see the Nginx private IP address 172.31.22.2 Via: SIP/2.0/W