Configuring SIP trunks on Kazoo

1,738 views
Skip to first unread message

Kevin

unread,
Nov 30, 2015, 6:32:48 AM11/30/15
to 2600hz-users
Hi All,

I'm new to Kazoo and I was just wondering whether there is a standard or correct way to configure SIP trunks on Kazoo. I'm currently testing Kazoo on a single server and I haven't come across comprehensive documentation on this. Any help would be highly appreciated.

Thanks

Joel Dodson

unread,
Dec 1, 2015, 3:31:51 PM12/1/15
to 2600hz-users
Hi Kevin, 

I'm at a similar stage as you.  I have a single host install of Kazoo 3.21 on a VM.  I have the PBX app running and can provision users and devices and get two SIP phones to talk to each other.  I was stuck trying to manually add phone numbers to give the users DIDs.  I couldn't find anything in the monster-ui (and found a thread saying it'll be a paid for app in the monster-ui, makes sense) and I couldn't get the kazoo-ui running on my instance.  I ended up using the API to add numbers to my kazoo instance.  The API worked great.  Depending on your business case of course, you'll probably want to be intimately familiar with the API anyway, so probably good to start there then use the monster-ui once you understand the configuration options.  

I recently found this link for how to configure carriers on kazoo.  I haven't tried it yet but it looks promising.  I hope to try it later today, I'll reply to this thread if I run into (and resolve) any gotchas.  

thanks, 
Joel

Kirill Sysoev

unread,
Dec 1, 2015, 3:31:52 PM12/1/15
to 2600hz...@googlegroups.com
Hi Kevin,

There is not too much docs about it.
May be because it is pretty straightforward.

Just go to the appropriate app in Monster/KazooUI,
choose PBX type, create trunk and use realm, login, password to connect your PBX.

Since you've got one server install, you don't need to do some additional configs.

In case you'll be using several kamailio/FS installations, your PBX should be aware that incoming calls could come in from different IPs

You can use this screencast to connect FreePBX https://www.youtube.com/watch?v=j3yaj1jvbzc
It is not for Monster/KazooUI, but FreePBX part could be usefull.

If you are looking to connect FS try to use the next gateway config:
(we do not have FSs connected to our trunks in production, but there was a question a day ago and this is what came into my head and it worked in tests)

<gateway name="telbiz">
    <param name="username" value="telbiz"/>
    <param name="realm" value="office.sip.tld.su"/>
    <param name="from-user" value="telbiz"/>
    <param name="from-domain" value="office.sip.tld.su"/>
    <param name="password" value="gfdgdzbdfbdfr2"/>
    <param name="expire-seconds" value="360"/>
    <param name="register" value="true"/>
    <param name="register-transport" value="udp"/>
    <param name="retry-seconds" value="30"/>
    <param name="ping" value="25"/>
</gateway>

And don't forget to add Kazoo IPs to FS acls


Regards,
Kirill
--
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.

Kevin

unread,
Dec 2, 2015, 11:11:51 PM12/2/15
to 2600hz-users
Thanks Joel. I'll give this a try.

Kevin

unread,
Dec 2, 2015, 11:12:53 PM12/2/15
to 2600hz-users
Thanks Kirill. I think you've given me the right direction.
Reply all
Reply to author
Forward
0 new messages