{
"_id": "VI-International",
"_rev": "4-006c56b8c7382d8cfd8e189658791ce9",
"weight_cost": "20",
"enabled": true,
"gateways": [
{
"prefix": "",
"codecs": [
"PCMU"
],
"progress_timeout": "30",
"server": "64.XX.XX.XX",
"username": "",
"password": "",
"realm": "",
"format_from_uri": false,
"suffix": "",
"enabled": true,
"custom_sip_headers": {
},
"invite_format": "route",
"endpoint_type": "sip",
"channel_selection": "ascending",
"skype_rr": true,
"emergency": false
}
],
"rules": [
"^(011[2-9]\\d{6,})$"
],
"caller_id_options": {
"type": "external"
},
"type": "local",
"name": "VoIP International Trunk",
"peer": false,
"ui_metadata": {
"ui": "kazoo-ui",
"version": "v3.18-2"
},
"emergency": false,
"grace_period": 5,
"flags": [
],
"media": {
"audio": {
"codecs": [
"PCMU"
]
},
"video": {
"codecs": [
]
}
},
"pvt_type": "resource",
"pvt_vsn": "1"
}==> /opt/kazoo/log/console.log <==
2016-08-18 15:50:47.521 [info] <0.1286.0>@ecallmgr_fs_route:frees...@la1.domain.com:159 processing dialplan fetch request 0eb1bb5a-657d-11e6-921c-978edd3511c6 (call Lcxt8CeJ5l) from frees...@la1.domain.com
2016-08-18 15:50:47.825 [info] <0.25447.1>@ecallmgr_fs_route:Lcxt8CeJ5l:331 received affirmative route response for request 0eb1bb5a-657d-11e6-921c-978edd3511c6
2016-08-18 15:50:48.026 [info] <0.25447.1>@ecallmgr_fs_route:Lcxt8CeJ5l:337 node frees...@la1.domain.com accepted dialplan route response for request 0eb1bb5a-657d-11e6-921c-978edd3511c6
2016-08-18 15:50:47.524 [info] <0.31034.2>@ts_route_req:Lcxt8CeJ5l:25 received request 0eb1bb5a-657d-11e6-921c-978edd3511c6 asking if trunkstore can route this call
2016-08-18 15:50:47.524 [info] <0.31034.2>@ts_route_req:Lcxt8CeJ5l:36 call with fetch-id 0eb1bb5a-657d-11e6-921c-978edd3511c6 began on the network
2016-08-18 15:50:47.524 [info] <0.31036.2>@ts_callflow:Lcxt8CeJ5l:54 request is not for a trunkstore account
2016-08-18 15:50:47.525 [info] <0.31031.2>@cf_route_req:Lcxt8CeJ5l:38 received request 0eb1bb5a-657d-11e6-921c-978edd3511c6 asking if callflows can route this call
2016-08-18 15:50:47.525 [info] <0.31031.2>@cf_util:Lcxt8CeJ5l:636 searching for callflow in account%2Fff%2Fc0%2F5a1035e5ea1099d177979c9dbe55 to satisfy '+74993939222'
2016-08-18 15:50:47.598 [info] <0.31031.2>@cf_util:Lcxt8CeJ5l:685 lookup callflow patterns for +74993939222 in account%2Fff%2Fc0%2F5a1035e5ea1099d177979c9dbe55
2016-08-18 15:50:47.744 [info] <0.31031.2>@cf_util:Lcxt8CeJ5l:636 searching for callflow in account%2Fff%2Fc0%2F5a1035e5ea1099d177979c9dbe55 to satisfy 'no_match'
2016-08-18 15:50:47.821 [info] <0.31031.2>@cf_route_req:Lcxt8CeJ5l:95 callflow 0f3165f101910c36dc0f28a82359bc68 in ffc05a1035e5ea1099d177979c9dbe55 satisfies request
2016-08-18 15:50:47.823 [info] <0.31031.2>@cf_route_req:Lcxt8CeJ5l:206 callflows knows how to route the call! sending park response
2016-08-18 15:50:48.044 [info] <0.31031.2>@cf_route_req:Lcxt8CeJ5l:229 callflow has received a route win, taking control of the call
2016-08-18 15:50:48.045 [info] <0.31031.2>@cf_route_win:Lcxt8CeJ5l:37 setting initial information about the call
2016-08-18 15:50:48.045 [info] <0.31031.2>@cf_attributes:Lcxt8CeJ5l:403 initiating endpoint is owned by 02888becab913e90caf3d47769cd3ad7
2016-08-18 15:50:48.045 [info] <0.31031.2>@cf_attributes:Lcxt8CeJ5l:195 determined internal caller id is <Sergey> 1000
2016-08-18 15:50:48.045 [info] <0.31031.2>@cf_route_win:Lcxt8CeJ5l:261 bootstrapping with caller id type internal: "Sergey" 1000
2016-08-18 15:50:48.046 [info] <0.31031.2>@cf_route_win:Lcxt8CeJ5l:314 call has been setup, beginning to process the call
2016-08-18 15:50:48.046 [info] <0.31052.2>@cf_exe:Lcxt8CeJ5l:707 executing callflow 0f3165f101910c36dc0f28a82359bc68
2016-08-18 15:50:48.046 [info] <0.31052.2>@cf_exe:Lcxt8CeJ5l:708 account id ffc05a1035e5ea1099d177979c9dbe55
2016-08-18 15:50:48.046 [info] <0.31052.2>@cf_exe:Lcxt8CeJ5l:709 request 0117499...@office1.sip.domain.com
2016-08-18 15:50:48.046 [info] <0.31052.2>@cf_exe:Lcxt8CeJ5l:710 to 0117499...@office1.sip.domain.com
2016-08-18 15:50:48.047 [info] <0.31052.2>@cf_exe:Lcxt8CeJ5l:711 from 10...@office1.sip.domain.com
2016-08-18 15:50:48.047 [info] <0.31052.2>@cf_exe:Lcxt8CeJ5l:712 CID Sergey 1000
2016-08-18 15:50:48.047 [info] <0.31052.2>@cf_exe:Lcxt8CeJ5l:714 inception on-net: using attributes for an internal call
2016-08-18 15:50:48.047 [info] <0.31052.2>@cf_exe:Lcxt8CeJ5l:717 authorizing id f3e7c583c834deb8ad378b404d3140e2
2016-08-18 15:50:48.059 [info] <0.31052.2>@cf_exe:Lcxt8CeJ5l:637 moving to action 'cf_offnet'
2016-08-18 15:50:48.060 [info] <0.31059.2>@cf_attributes:Lcxt8CeJ5l:185 determined emergency caller id is <Sergey> +1212XXXXXXX
2016-08-18 15:50:48.060 [info] <0.31059.2>@cf_attributes:Lcxt8CeJ5l:191 determined external caller id is <Sergey> +1212XXXXXXX
2016-08-18 15:50:48.207 [info] <0.31061.2>@stepswitch_outbound:Lcxt8CeJ5l:211 no available resources for 01174993939222
2016-08-18 15:50:48.216 [info] <0.31059.2>@cf_resources:Lcxt8CeJ5l:54 offnet request error, attempting to find failure branch for sip:404:NO_ROUTE_DESTINATION
2016-08-18 15:50:48.216 [info] <0.31059.2>@cf_util:Lcxt8CeJ5l:564 attempting to find failure branch for sip:404:NO_ROUTE_DESTINATION
2016-08-18 15:50:48.217 [info] <0.31052.2>@cf_exe:Lcxt8CeJ5l:327 attempted 'undefined' child NO_ROUTE_DESTINATION
2016-08-18 15:50:48.217 [info] <0.31052.2>@cf_exe:Lcxt8CeJ5l:327 attempted 'undefined' child sip:404
2016-08-18 15:50:47.525 [info] <0.31031.2>@cf_util:Lcxt8CeJ5l:636 searching for callflow in account%2Fff%2Fc0%2F5a1035e5ea1099d177979c9dbe55 to satisfy '+74993939222'
2016-08-18 15:50:47.598 [info] <0.31031.2>@cf_util:Lcxt8CeJ5l:685 lookup callflow patterns for +74993939222 in account%2Fff%2Fc0%2F5a1035e5ea1099d177979c9dbe55
2016-08-18 15:50:47.744 [info] <0.31031.2>@cf_util:Lcxt8CeJ5l:636 searching for callflow in account%2Fff%2Fc0%2F5a1035e5ea1099d177979c9dbe55 to satisfy 'no_match'
From my carrier website:
To place an outbound international call, you will need to prepend "011" to your calls when sending them.
The full syntax should look like this: 011 + country code + international telephone number
--
You received this message because you are subscribed to the Google Groups "2600hz-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 2600hz-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
2016-08-18 15:50:47.525 [info] <0.31031.2>@cf_util:Lcxt8CeJ5l:636 searching for callflow in account%2Fff%2Fc0%2F5a1035e5ea1099d177979c9dbe55 to satisfy'+74993939222'
2016-08-18 15:50:47.598 [info] <0.31031.2>@cf_util:Lcxt8CeJ5l:685 lookup callflow patterns for +74993939222 in account%2Fff%2Fc0%2F5a1035e5ea1099d177979c9dbe55
To unsubscribe from this group and stop receiving emails from it, send an email to 2600hz-dev+...@googlegroups.com.
>>> ecallmgr_fs_route:freeswitch@la1.domain.com:159 processing dialplan
"crawler_timer_ms": 86400000,
"reconcile_regex": "^\\+?1?\\d{10}$|^\\+[2-9]\\d{7,}$|^011\\d*$|^00\\d*$",
"e164_converters": {
"^\\+?1?([2-9][0-9]{2}[2-9][0-9]{6})$": {
"prefix": "+1"
},
"^011(\\d*)$|^00(\\d*)$": {
"prefix": "+"
},
"^[2-9]\\d{7,}$": {
"prefix": "+"
} "crawler_timer_ms": 86400000,
"reconcile_regex": "^\\+?1?\\d{10}$|^\\+[2-9]\\d{7,}$|^011\\d*$|^00\\d*$",
"e164_converters": {
"^\\+?1?([2-9][0-9]{2}[2-9][0-9]{6})$": {
"prefix": "+1"
},
"^011(\\d*)$|^00(\\d*)$": {
"prefix": "+011"
},
"^[2-9]\\d{7,}$": {
"prefix": "+"
}To unsubscribe from this group and stop receiving emails from it, send an email to 2600hz-dev+unsubscribe@googlegroups.com.
==> /var/log/2600hz/kazoo.log <==
Aug 19 17:01:22 la1 2600hz[1358]: |frees...@la1.domain.com|ecallmgr_fs_route:159 (<0.1624.0>) processing dialplan fetch request 15882468-6650-11e6-a6ae-4f84c32c5c14 (call d3sopBHb4M) from frees...@la1.domain.com
Aug 19 17:01:22 la1 2600hz[1421]: |d3sopBHb4M|ts_route_req:25 (<0.21180.4>) received request 15882468-6650-11e6-a6ae-4f84c32c5c14 asking if trunkstore can route this call
Aug 19 17:01:22 la1 2600hz[1421]: |d3sopBHb4M|ts_route_req:36 (<0.21180.4>) call with fetch-id 15882468-6650-11e6-a6ae-4f84c32c5c14 began on the network
Aug 19 17:01:22 la1 2600hz[1421]: |d3sopBHb4M|ts_callflow:54 (<0.21182.4>) request is not for a trunkstore account
Aug 19 17:01:22 la1 2600hz[1421]: |d3sopBHb4M|cf_route_req:38 (<0.21179.4>) received request 15882468-6650-11e6-a6ae-4f84c32c5c14 asking if callflows can route this call
Aug 19 17:01:22 la1 2600hz[1421]: |d3sopBHb4M|cf_util:636 (<0.21179.4>) searching for callflow in account%2Fff%2Fc0%2F5a1035e5ea1099d177979c9dbe55 to satisfy '+74993939222'
Aug 19 17:01:22 la1 2600hz[1421]: |d3sopBHb4M|cf_util:685 (<0.21179.4>) lookup callflow patterns for +74993939222 in account%2Fff%2Fc0%2F5a1035e5ea1099d177979c9dbe55
Aug 19 17:01:22 la1 2600hz[1421]: |d3sopBHb4M|cf_util:636 (<0.21179.4>) searching for callflow in account%2Fff%2Fc0%2F5a1035e5ea1099d177979c9dbe55 to satisfy 'no_match'
Aug 19 17:01:22 la1 2600hz[1421]: |d3sopBHb4M|cf_route_req:95 (<0.21179.4>) callflow 0f3165f101910c36dc0f28a82359bc68 in ffc05a1035e5ea1099d177979c9dbe55 satisfies request
Aug 19 17:01:22 la1 2600hz[1421]: |d3sopBHb4M|cf_route_req:206 (<0.21179.4>) callflows knows how to route the call! sending park response
Aug 19 17:01:22 la1 2600hz[1358]: |d3sopBHb4M|ecallmgr_fs_route:331 (<0.16423.2>) received affirmative route response for request 15882468-6650-11e6-a6ae-4f84c32c5c14
Aug 19 17:01:23 la1 2600hz[1358]: |d3sopBHb4M|ecallmgr_fs_route:337 (<0.16423.2>) node frees...@la1.domain.com accepted dialplan route response for request 15882468-6650-11e6-a6ae-4f84c32c5c14
Aug 19 17:01:23 la1 2600hz[1421]: |d3sopBHb4M|cf_route_req:229 (<0.21179.4>) callflow has received a route win, taking control of the call
Aug 19 17:01:23 la1 2600hz[1421]: |d3sopBHb4M|cf_route_win:37 (<0.21179.4>) setting initial information about the call
Aug 19 17:01:23 la1 2600hz[1421]: |d3sopBHb4M|cf_attributes:403 (<0.21179.4>) initiating endpoint is owned by 02888becab913e90caf3d47769cd3ad7
Aug 19 17:01:23 la1 2600hz[1421]: |d3sopBHb4M|cf_attributes:195 (<0.21179.4>) determined internal caller id is <Sergey> 1000
Aug 19 17:01:23 la1 2600hz[1421]: |d3sopBHb4M|cf_route_win:261 (<0.21179.4>) bootstrapping with caller id type internal: "Sergey" 1000
Aug 19 17:01:23 la1 2600hz[1421]: |d3sopBHb4M|cf_route_win:314 (<0.21179.4>) call has been setup, beginning to process the call
Aug 19 17:01:23 la1 2600hz[1421]: |d3sopBHb4M|cf_exe:707 (<0.21206.4>) executing callflow 0f3165f101910c36dc0f28a82359bc68
Aug 19 17:01:23 la1 2600hz[1421]: |d3sopBHb4M|cf_exe:708 (<0.21206.4>) account id ffc05a1035e5ea1099d177979c9dbe55
Aug 19 17:01:23 la1 2600hz[1421]: |d3sopBHb4M|cf_exe:709 (<0.21206.4>) request 0117499...@007.sip.domain.com
Aug 19 17:01:23 la1 2600hz[1421]: |d3sopBHb4M|cf_exe:710 (<0.21206.4>) to 0117499...@007.sip.domain.com
Aug 19 17:01:23 la1 2600hz[1421]: |d3sopBHb4M|cf_exe:711 (<0.21206.4>) from 10...@007.sip.domain.com
Aug 19 17:01:23 la1 2600hz[1421]: |d3sopBHb4M|cf_exe:712 (<0.21206.4>) CID Sergey 1000
Aug 19 17:01:23 la1 2600hz[1421]: |d3sopBHb4M|cf_exe:714 (<0.21206.4>) inception on-net: using attributes for an internal call
Aug 19 17:01:23 la1 2600hz[1421]: |d3sopBHb4M|cf_exe:717 (<0.21206.4>) authorizing id f3e7c583c834deb8ad378b404d3140e2
Aug 19 17:01:23 la1 2600hz[1421]: |d3sopBHb4M|cf_exe:637 (<0.21206.4>) moving to action 'cf_offnet'
Aug 19 17:01:23 la1 2600hz[1421]: |d3sopBHb4M|cf_attributes:185 (<0.21213.4>) determined emergency caller id is <Sergey> +1212XXX0190
Aug 19 17:01:23 la1 2600hz[1421]: |d3sopBHb4M|cf_attributes:191 (<0.21213.4>) determined external caller id is <Sergey> +1212XXX0190
Aug 19 17:01:23 la1 2600hz[1421]: |d3sopBHb4M|stepswitch_outbound:211 (<0.21214.4>) no available resources for 01174993939222
Aug 19 17:01:23 la1 2600hz[1421]: |d3sopBHb4M|cf_resources:54 (<0.21213.4>) offnet request error, attempting to find failure branch for sip:404:NO_ROUTE_DESTINATION
Aug 19 17:01:23 la1 2600hz[1421]: |d3sopBHb4M|cf_util:564 (<0.21213.4>) attempting to find failure branch for sip:404:NO_ROUTE_DESTINATION
Aug 19 17:01:23 la1 2600hz[1421]: |d3sopBHb4M|cf_exe:327 (<0.21206.4>) attempted 'undefined' child NO_ROUTE_DESTINATION
Aug 19 17:01:23 la1 2600hz[1421]: |d3sopBHb4M|cf_exe:327 (<0.21206.4>) attempted 'undefined' child sip:404
Aug 19 17:01:22 la1 2600hz[1421]: |d3sopBHb4M|cf_util:636 (<0.21179.4>) searching for callflow in account%2Fff%2Fc0%2F5a1035e5ea1099d177979c9dbe55 to satisfy '+74993939222'
Aug 19 17:01:22 la1 2600hz[1421]: |d3sopBHb4M|cf_util:685 (<0.21179.4>) lookup callflow patterns for +74993939222 in account%2Fff%2Fc0%2F5a1035e5ea1099d177979c9dbe55
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Well, if you have no output it means no routes are matching.
For reference, when I run it on our hosted platform:
# sup stepswitch_maintenance process_number 01174993939222
>> >>> ecallmgr_fs_route:freeswitch@la1.domain.com:159 processing dialplan
To unsubscribe from this group and stop receiving emails from it, send an email to 2600hz-dev+unsubscribe@googlegroups.com.
"gateways": [
{
"prefix": "011",
"codecs": [
"PCMU"
],
"progress_timeout": "30",
"server": "64.XX.XX.XX",
"username": "",
"password": "",
"realm": "",
"format_from_uri": false,
"suffix": "",
"enabled": true,
"custom_sip_headers": {
},
"invite_format": "route",
"endpoint_type": "sip",
"channel_selection": "ascending",
"skype_rr": true,
"emergency": false
}
],
"rules": [
"^(011[2-9]\\d{6,})$"
],
I'm pretty sure that if I will remove "prefix": "011", it will comeback to regular +74993939222
To unsubscribe from this group and stop receiving emails from it, send an email to 2600hz-dev+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to 2600hz-dev+unsubscribe@googlegroups.com.