Outbound calling setup

369 views
Skip to first unread message

Dennis Van Brusselen

unread,
Jul 20, 2015, 2:03:29 PM7/20/15
to 2600hz...@googlegroups.com
Hi,

This may be a stupid question.
I setup a kazoo single server install today, i got 2 extensions registered to the system, able to call to eachother.

I am struggling with setting up an outbound gateway.

Should i create a gateway in FS? i cannot find any information about this topic.
What about the outbound dialplan? Do i have to create this also in FS?


stormqloud

unread,
Jul 20, 2015, 4:24:07 PM7/20/15
to 2600hz...@googlegroups.com
carriers are also called "resources".

Google setting up global resources.

Basically you can make a carrier in kazoo-ui under an account.

The go in couchdb and pull out the doc and move it to the offnet database.

Save it, reboot (or flush whistle etc) and should work.

tx

Dennis Van Brusselen

unread,
Jul 21, 2015, 1:48:00 AM7/21/15
to 2600hz...@googlegroups.com
Thanks for the response.

I do not have the option to create a carrier in one of the accounts. (Using monster-UI)

receiving this message in freeswitch

2015-07-21 05:44:05.820834 [INFO] mod_dialplan_xml.c:558 Processing Kazoo <user_xxxxxxx>->5555454545 in context context_2
2015-07-21 05:44:05.820834 [DEBUG] kazoo_fetch_agent.c:216 Sending dialplan XML request (xxxxxxxxxxxxxxxxxx) to ecal...@xxxx.xxxxxx.com <3.1157.0>
2015-07-21 05:44:05.840783 [DEBUG] kazoo_node.c:1100 Sent erlang message to ecal...@xxxxx.xxxxxx.com <3.1157.0>
2015-07-21 05:44:08.920833 [NOTICE] kazoo_fetch_agent.c:286 Request for dialplan XML (xxxxxxxxxxxxxxxxxxxxx) timed-out after 3099ms
2015-07-21 05:44:08.920833 [WARNING] mod_dialplan_xml.c:588 Context context_2 not found
2015-07-21 05:44:08.920833 [INFO] switch_core_state_machine.c:239 No Route, Aborting


I created this doc in the offnet database
Do i have to point my account to this carrier? 

{
   "_id": "28ad41f9da36ef78dfe407858bdf09f8",
   "_rev": "4-9b937aae702dd1ed3141e88c10b0f704",
   "pvt_type": "resource",
   "name": "Anveo",
   "enabled": true,
   "flags": [
   ],
   "weight_cost": 30,
   "rules": [
       "^\\+1(\\d{10})$"
   ],
   "gateways": [
       {
           "server": "sbc.anveo.com",
           "realm": "sbc.anveo.com",
           "prefix": "+",
           "suffix": "",
           "codecs": [
               "G729",
               "PCMU"
           ],
           "enabled": true
       }
   ],
   "grace_period": 5,
   "formatters": {
       "request": [
           {
               "regex": "^\\+?1?\\d{6}(\\d{4})$",
               "prefix": "",
               "suffix": ""
           }
       ]
   }
}

Op maandag 20 juli 2015 22:24:07 UTC+2 schreef stormqloud:

stormqloud

unread,
Jul 21, 2015, 11:25:08 AM7/21/15
to 2600hz...@googlegroups.com
Make sure you click on the "global carrier" button for your account.

There is one in Kazoo-UI, I assume also in Monster-ui (I use kazoo-ui mostly still).

Put kazoo into maximum debug and look in your kazoo logs /var/log/2600hz/...

For inbound you will need to add the IP to the ACL's.


tx
Reply all
Reply to author
Forward
0 new messages