Outbound calls from Kazoo

1,132 views
Skip to first unread message

Jawaid Bazyar

unread,
Jun 11, 2014, 5:46:22 PM6/11/14
to 2600hz...@googlegroups.com
Hi, we just installed a 7-node cluster and are finalizing the setup and testing. (2 Kazoo, 2 Freeswitch, 3 BigCouch)

One thing I noticed is that outbound calls from a VoIP client are being sent directly from FreeSwitch on port 11000.

I guess my expectation is that this should be getting routed out through the Kamailio proxy.

Do I have something set wrong somewhere, or is signaling outbound directly from FreeSwitch the expected behavior?

Thanks,

Jawaid

Darren Schreiber

unread,
Jun 11, 2014, 5:48:38 PM6/11/14
to 2600hz...@googlegroups.com

This is correct.

 

If you want to cheat and force things through the Kamailio boxes, you can add ;fs_path=sip:KAMAILIO.IP.HERE but then your setup isn’t redundant (it will be using only one Kamailio).

 

We like it going direct from FreeSWITCH. It allows us to manage, restart, etc. Kamailio without impacting outbound legs of calls, and it provides less hops where there don’t need to be hops. You also don’t need to open port 11000 if you have proper NAT rules.

--
You received this message because you are subscribed to the Google Groups "2600hz-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 2600hz-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jawaid Bazyar

unread,
Jun 11, 2014, 8:24:06 PM6/11/14
to 2600hz...@googlegroups.com
Hi Darren,

speaking broadly what kind of rules do you mean? Something that when FS sent a packet to a host on 11000 it would automatically open up replies coming back in?

Thanks.

Darren Schreiber

unread,
Jun 11, 2014, 10:41:45 PM6/11/14
to 2600hz...@googlegroups.com
Sorry I stated that poorly. It has nothing to do with NAT, I must have been half asleep this morning.

What I was trying to refer to is that most default firewall rules (including IPTables) will allow established connections to continue. If you want to be safe, add the IPs of your providers to your firewall and IPTables to allow inbound & outbound packets ONLY to/from your providers directly from FreeSWITCH.

Then you should be good to go.

Bing Li

unread,
Jan 5, 2015, 11:39:57 AM1/5/15
to 2600hz...@googlegroups.com
Hi Darren,

This is also what I'm looking for.
I'm wondering where should I add ";fs_path=sip:KAMAILIO.IP.HERE" ?

Thanks,

Darren Schreiber

unread,
Jan 5, 2015, 12:19:53 PM1/5/15
to 2600hz...@googlegroups.com
When you configure an offnet gateway IP, it should look like:

2.3.4.5;fs_path=sip:YOUR.KAM.IP.HERE

Where 2.3.4.5 is your carrier’s IP.


From: Bing Li <enst...@gmail.com>
Reply-To: "2600hz...@googlegroups.com" <2600hz...@googlegroups.com>
Date: Monday, January 5, 2015 at 11:39 AM
To: "2600hz...@googlegroups.com" <2600hz...@googlegroups.com>
Subject: Re: Outbound calls from Kazoo

Li, Bing

unread,
Jan 5, 2015, 1:19:17 PM1/5/15
to 2600hz...@googlegroups.com
Great! Going to try it.
And I assume it would work for the account carrier(not global) as well.

--
You received this message because you are subscribed to a topic in the Google Groups "2600hz-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/2600hz-users/lNVoIf1ycIg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 2600hz-users...@googlegroups.com.

Darren Schreiber

unread,
Jan 5, 2015, 1:34:22 PM1/5/15
to 2600hz...@googlegroups.com
Yup it should.

Be aware that this is a hack and we intend to more formally introduce this as a feature very soon.

Kazoo Tester

unread,
Mar 14, 2015, 9:14:06 AM3/14/15
to 2600hz...@googlegroups.com
Hi Darren,
   Couple of cases here:
    Since Registration has been held with Kamailio say over TCP. How do you expect Freeswith to originate a call directly to user considering the case when Kazoo is in public network and user is in private and that too over TCP.
 And i think the same is applicable if Kamailio will be kept in path (with more than one kamailio installed as a load balancer).

Thanks,

Darren Schreiber

unread,
Mar 14, 2015, 9:15:20 AM3/14/15
to 2600hz...@googlegroups.com
You’ve misunderstood my notes from the sounds of it.

Phones still get routed in/out Kamailio – whatever way they came in is how they go out.

Inbound calls from carriers (origination) still go to Kamailio and all SIP traffic continues going to/from Kamailio.

Outbound calls from Kazoo (termination) goes direct fro mFreeSWITCH.


From: Kazoo Tester <tech...@gmail.com>
Reply-To: "2600hz...@googlegroups.com" <2600hz...@googlegroups.com>
Date: Saturday, March 14, 2015 at 9:03 AM
To: "2600hz...@googlegroups.com" <2600hz...@googlegroups.com>
Subject: Re: Outbound calls from Kazoo

Hai Bui

unread,
Apr 8, 2016, 7:14:18 AM4/8/16
to 2600hz-users, dschr...@2600hz.com
Hi Darren Schreiber,
I read your comment:
 
Outbound calls from Kazoo (termination) goes direct from FreeSWITCH.

I have problem when make Outbound calls from Kazoo, because my provider restricted Kamailio IP (then I can receive cal)
So that when Freeswitch send INVITE message to provider, it drop this message.
How can I route this message to Kamailio after that send message to provider ?

Regards,
Hai Bui
 

Darren Schreiber

unread,
Apr 8, 2016, 7:15:14 AM4/8/16
to Hai Bui, 2600hz-users
Add to your carrier IP config:

;fs_path=sip:2.3.4.5

Where 2.3.4.5 is your KAMAILIO box


From: Hai Bui <hai...@htklabs.com>
Date: Friday, April 8, 2016 at 4:13 AM
To: 2600hz-users <2600hz...@googlegroups.com>
Cc: Computer User <dschr...@2600hz.com>
Subject: Re: Outbound calls from Kazoo

Hai Bui

unread,
Apr 15, 2016, 5:06:17 AM4/15/16
to 2600hz-users, hai...@htklabs.com, dschr...@2600hz.com
Hi Daren,

Thank you for your support ! I fixed this issue :D

Regards,
Hai Bui
Reply all
Reply to author
Forward
0 new messages