As configured in freeswitch via fusionpbx to make friends with the method originate+transfer?

Want to make a callback, like in this article: https://habrahabr.ru/sandbox/98509/

How to set transfer contact Diaplan->Outbound Routes? Now when the http request I do not understand what rules processed call... a Sample of the log:
2017-04-07 11:51:45.053465 [NOTICE] sofia.c:8023, Channel [sofia/internal/1002@188.162.166.74:30325] has been answered
2017-04-07 11:51:45.053465 [DEBUG] switch_channel.c:3770 (sofia/internal/1002@188.162.166.74:30325) Callstate Change RINGING -> ACTIVE
2017-04-07 11:51:45.053465 [DEBUG] switch_ivr_originate.c:3686 Originate Resulted in Success: [sofia/internal/1002@188.162.166.74:30325]
2017-04-07 11:51:45.053465 [DEBUG] switch_ivr_originate.c:3686 Originate Resulted in Success: [sofia/internal/1002@188.162.166.74:30325]
2017-04-07 11:51:45.053465 [INFO] switch_channel.c:3127 sofia/internal/1002@188.162.166.74:30325 Flipping CID from "89996993942 call" <1002> to "Outbound Call" <1002>
2017-04-07 11:51:45.053465 [DEBUG] mod_commands.c:4788 (sofia/internal/1002@188.162.166.74:30325) State Change CS_CONSUME_MEDIA -> CS_EXECUTE
2017-04-07 11:51:45.053465 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1002@188.162.166.74:30325) Running State Change CS_EXECUTE
2017-04-07 11:51:45.053465 [DEBUG] switch_core_state_machine.c:650 (sofia/internal/1002@188.162.166.74:30325) State EXECUTE
2017-04-07 11:51:45.053465 [DEBUG] mod_sofia.c:198 sofia/internal/1002@188.162.166.74:30325 SOFIA EXECUTE
2017-04-07 11:51:45.053465 [DEBUG] switch_core_state_machine.c:328 sofia/internal/1002@188.162.166.74:30325 Standard EXECUTE
EXECUTE sofia/internal/1002@188.162.166.74:30325 transfer(89996993942)
2017-04-07 11:51:45.053465 [DEBUG] switch_ivr.c:2160 (sofia/internal/1002@188.162.166.74:30325) State Change CS_EXECUTE -> CS_ROUTING
2017-04-07 11:51:45.053465 [NOTICE] switch_ivr.c:2167 Transfer sofia/internal/1002@188.162.166.74:30325 to XML[89996993942@default]
2017-04-07 11:51:45.053465 [DEBUG] switch_core_state_machine.c:650 (sofia/internal/1002@188.162.166.74:30325) State EXECUTE going to sleep
2017-04-07 11:51:45.053465 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1002@188.162.166.74:30325) Running State Change CS_ROUTING
2017-04-07 11:51:45.053465 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/1002@188.162.166.74:30325) State ROUTING
2017-04-07 11:51:45.053465 [DEBUG] mod_sofia.c:143 sofia/internal/1002@188.162.166.74:30325 SOFIA ROUTING
2017-04-07 11:51:45.053465 [DEBUG] switch_core_state_machine.c:236 sofia/internal/1002@188.162.166.74:30325 Standard ROUTING
2017-04-07 11:51:45.053465 [INFO] mod_dialplan_xml.c:637 Processing Outbound Call <1002>->89996993942 in context default
Dialplan: sofia/internal/1002@188.162.166.74:30325 parsing [default->intercept-ext-polycom] continue=false
Dialplan: sofia/internal/1002@188.162.166.74:30325 Regex (FAIL) [intercept-ext-polycom] destination_number(89996993942) =~ /^\*97(\d+)$/ break=on-false
Dialplan: sofia/internal/1002@188.162.166.74:30325 parsing [default->call forward all] continue=false
Dialplan: sofia/internal/1002@188.162.166.74:30325 Regex (FAIL) [call forward all] ${user_exist}() =~ /^true/ break=on-false
Dialplan: sofia/internal/1002@188.162.166.74:30325 parsing [default->talking clock date and time] continue=true
Dialplan: sofia/internal/1002@188.162.166.74:30325 Regex (FAIL) [talking clock date and time] destination_number(89996993942) =~ /^\*9172$/ break=on-false
Dialplan: sofia/internal/1002@188.162.166.74:30325 parsing [default->talking clock time] continue=true
Dialplan: sofia/internal/1002@188.162.166.74:30325 Regex (FAIL) [talking clock time] destination_number(89996993942) =~ /^\*9170$/ break=on-false
Dialplan: sofia/internal/1002@188.162.166.74:30325 parsing [default->talking clock date] continue=true
Dialplan: sofia/internal/1002@188.162.166.74:30325 Regex (FAIL) [talking clock date] destination_number(89996993942) =~ /^\*9171$/ break=on-false
2017-04-07 11:51:45.053465 [INFO] switch_core_state_machine.c:311 No Route, Aborting
2017-04-07 11:51:45.053465 [NOTICE] switch_core_state_machine.c:Hangup 312 sofia/internal/1002@188.162.166.74:30325 [CS_ROUTING] [NO_ROUTE_DESTINATION]


Roat is not present, the call is dropped. How to tell the team originate or transfer that would destination_number 89996993942 correctly?
June 27th 19 at 15:33
1 answer
June 27th 19 at 15:35
I did everything as in the article and I immediately worked as it should.
You may need to check that in the dialplan there is a route for your room 89996993942.
And in the dialplan allows only calls to numbers that have the digits 917.

Find more questions by tags ATSFreeSWITCHSIPTelephony