PBX trunk route incoming calls to extensions

Status
Not open for further replies.

Vitor Hugo Teixeira

New Member
Jan 22, 2020
4
0
1
42
Hi Guy,

I'm beginner on fusuionpbx. My misson is connect a trunk with ohter PBX and at this moment when I try to call the extension 5514 or 5590, the call is droped.

I could see the call into the fusionpbx via tcpdump, but the call not ringing at the extensions.

I was able to configure one inbound router with regex ^(\d{4})$ and validate at https://regex101.com/, but the call do not ring at the extensions.

Could you help me show me where are my foults?

Thank you.

Bellow the logs from the fusionpbx:


-11ea-b5c4-f9697ceb0a6e 2020-01-22 19:58:28.256105 [DEBUG] mod_dptools.c:1548 SET sofia/internal/9614@awe.net [outbound_caller_id_number]=[UNDEF]

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e 2020-01-22 19:58:28.256105 [ALERT] switch_BREWE_session.c:2815 sofia/internal/9614@awe.net receive message [APPLICATION_EXEC_COMPLETE]

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->BREWE_165.0d11] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (PASS) [BREWE_165.0d11] ${user_exists}(false) =~ /false/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [BREWE_165.0d11] destination_number(^(\d{4})$) =~ /^0\+?(\d{11})$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->BREWE_165.d4] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (PASS) [BREWE_165.d4] ${user_exists}(false) =~ /false/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [BREWE_165.d4] destination_number(^(\d{4})$) =~ /^1(\d{4})$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->BREWE_165.0d8] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (PASS) [BREWE_165.0d8] ${user_exists}(false) =~ /false/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [BREWE_165.0d8] destination_number(^(\d{4})$) =~ /^0(\d{8})$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->BREWE_165.2d4] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (PASS) [BREWE_165.2d4] ${user_exists}(false) =~ /false/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [BREWE_165.2d4] destination_number(^(\d{4})$) =~ /^2(\d{4})$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->agent_status] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [agent_status] destination_number(^(\d{4})$) =~ /^\*22$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->agent_status_id] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [agent_status_id] destination_number(^(\d{4})$) =~ /^\*23$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->group-intercept] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [group-intercept] destination_number(^(\d{4})$) =~ /^\*8$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->page-extension] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [page-extension] destination_number(^(\d{4})$) =~ /^\*8(\d{2,7})$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->eavesdrop] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [eavesdrop] destination_number(^(\d{4})$) =~ /^\*33(\d{2,7})$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->call_privacy] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [call_privacy] destination_number(^(\d{4})$) =~ /^\*67(\d+)$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->call_return] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [call_return] destination_number(^(\d{4})$) =~ /^\*69$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->intercept-ext-polycom] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [intercept-ext-polycom] destination_number(^(\d{4})$) =~ /^\*97(\d+)$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->intercept-ext] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [intercept-ext] destination_number(^(\d{4})$) =~ /^\*\*(\d+)$/ break=on-true

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [intercept-ext] destination_number(^(\d{4})$) =~ /^\*\*$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->extension_queue] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [extension_queue] destination_number(^(\d{4})$) =~ /^\*800(.*)$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->dx] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [dx] destination_number(^(\d{4})$) =~ /^dx$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->extension-to-voicemail] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [extension-to-voicemail] ${user_exists}(false) =~ /^true$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->send_to_voicemail] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [send_to_voicemail] destination_number(^(\d{4})$) =~ /^\*99(\d{2,10})$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->att_xfer] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [att_xfer] destination_number(^(\d{4})$) =~ /^att_xfer$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->vmain] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [vmain] destination_number(^(\d{4})$) =~ /^vmain$|^\*4000$|^\*98$/ break=never

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [vmain] destination_number(^(\d{4})$) =~ /^(vmain$|^\*4000$|^\*98)(\d{2,12})$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->xfer_vm] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [xfer_vm] destination_number(^(\d{4})$) =~ /^xfer_vm$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->vmain_user] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [vmain_user] destination_number(^(\d{4})$) =~ /^\*97$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->is_transfer] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [is_transfer] destination_number(^(\d{4})$) =~ /^is_transfer$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->cf] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [cf] destination_number(^(\d{4})$) =~ /^cf$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->delay_echo] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [delay_echo] destination_number(^(\d{4})$) =~ /^\*9195$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->echo] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [echo] destination_number(^(\d{4})$) =~ /^\*9196$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->is_zrtp_secure] continue=true

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [is_zrtp_secure] ${zrtp_secure_media_confirmed}() =~ /^true$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net ANTI-Action eval(not_secure)

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->milliwatt] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [milliwatt] destination_number(^(\d{4})$) =~ /^\*9197$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->is_secure] continue=true

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [is_secure] ${sip_via_protocol}(udp) =~ /tls/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->tone_stream] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [tone_stream] destination_number(^(\d{4})$) =~ /^\*9198$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->hold_music] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [hold_music] destination_number(^(\d{4})$) =~ /^\*49100$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->recordings] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [recordings] destination_number(^(\d{4})$) =~ /^\*(732)$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->directory] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [directory] destination_number(^(\d{4})$) =~ /^\*411$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->wake-up] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [wake-up] destination_number(^(\d{4})$) =~ /^\*(925)$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->valet_park] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [valet_park] destination_number(^(\d{4})$) =~ /^(park\+)?(\*59[0-9][0-9])$/ break=never

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [valet_park] ${sip_h_Referred-By}() =~ /sip:(.*)@.*/ break=never

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [valet_park] destination_number(^(\d{4})$) =~ /^(park\+)?(\*59[0-9][0-9])$/ break=never

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [valet_park] destination_number(^(\d{4})$) =~ /^(park\+)?(\*59[0-9][0-9])$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->operator] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [operator] destination_number(^(\d{4})$) =~ /^0$|^operator$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->operator-forward] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [operator-forward] destination_number(^(\d{4})$) =~ /^\*000$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->do-not-disturb] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [do-not-disturb] destination_number(^(\d{4})$) =~ /^\*77$/ break=on-true

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [do-not-disturb] destination_number(^(\d{4})$) =~ /^\*78$|\*363$/ break=on-true

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [do-not-disturb] destination_number(^(\d{4})$) =~ /^\*79$/ break=on-true

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [do-not-disturb] destination_number(^(\d{4})$) =~ /^dnd\+9614$/ break=on-true

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->call-forward] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [call-forward] destination_number(^(\d{4})$) =~ /^\*72$/ break=on-true

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [call-forward] destination_number(^(\d{4})$) =~ /^\*73$/ break=on-true

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [call-forward] destination_number(^(\d{4})$) =~ /^\*74$/ break=on-true

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [call-forward] destination_number(^(\d{4})$) =~ /^forward\+(\Q9614\E)(?:\/(\d+))?$/ break=on-true

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->call forward all] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [call forward all] ${user_exists}(false) =~ /true/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->follow-me] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [follow-me] destination_number(^(\d{4})$) =~ /^\*21$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->clear_sip_auto_answer] continue=true

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [clear_sip_auto_answer] ${click_to_call}() =~ /true/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->talking clock date and time] continue=true

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [talking clock date and time] destination_number(^(\d{4})$) =~ /^\*9172$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->talking clock time] continue=true

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [talking clock time] destination_number(^(\d{4})$) =~ /^\*9170$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->talking clock date] continue=true

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [talking clock date] destination_number(^(\d{4})$) =~ /^\*9171$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->call_screen] continue=true

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [call_screen] ${call_screen_enabled}() =~ /^true$/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->local_extension] continue=true

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [local_extension] ${user_exists}(false) =~ /true/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net parsing [192.101.2.200->voicemail] continue=false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e Dialplan: sofia/internal/9614@awe.net Regex (FAIL) [voicemail] ${user_exists}(false) =~ /true/ break=on-false

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e 2020-01-22 19:58:28.256105 [DEBUG] switch_BREWE_state_machine.c:286 (sofia/internal/9614@awe.net) State Change CS_ROUTING -> CS_EXECUTE

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e 2020-01-22 19:58:28.256105 [ALERT] switch_BREWE_session.c:1438 Send signal sofia/internal/9614@awe.net [BREAK]

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e 2020-01-22 19:58:28.256105 [DEBUG] switch_BREWE_state_machine.c:643 (sofia/internal/9614@awe.net) State ROUTING going to sleep

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e 2020-01-22 19:58:28.256105 [DEBUG] switch_BREWE_state_machine.c:584 (sofia/internal/9614@awe.net) Running State Change CS_EXECUTE (Cur 1 Tot 592)

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e 2020-01-22 19:58:28.256105 [DEBUG] switch_BREWE_state_machine.c:650 (sofia/internal/9614@awe.net) State EXECUTE

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e 2020-01-22 19:58:28.256105 [ALERT] switch_BREWE_state_machine.c:650 sofia/internal/9614@awe.net Send KeyFrame

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e 2020-01-22 19:58:28.256105 [DEBUG] mod_sofia.c:198 sofia/internal/9614@awe.net SOFIA EXECUTE

5225bf24-3d62-11ea-b5c4-f9697ceb0a6e 2020-01-22 19:58:28.256105 [DEBUG] switch_BREWE_state_machine.c:328 sofia/internal/9614@awe.net Standard EXECUTE
 
Last edited:

JamesBorne

Active Member
Jan 24, 2019
294
57
28
Australia
Hi Gay,

Two things...

1) You are not sending the caller number. You f**ked something up and are sending the literal string ^(\d{4})$ not the dialed extension 5514 or 5590.
Code:
Regex (FAIL) [BREWE_165.0d11] destination_number(^(\d{4})$) =~ /^0\+?(\d{11})$/ break=on-false
Regex (FAIL) [BREWE_165.d4] destination_number(^(\d{4})$) =~ /^1(\d{4})$/ break=on-false
Regex (FAIL) [BREWE_165.0d8] destination_number(^(\d{4})$) =~ /^0(\d{8})$/ break=on-false
Regex (FAIL) [BREWE_165.2d4] destination_number(^(\d{4})$) =~ /^2(\d{4})$/ break=on-false

If you look at what is meant to look like, you can see that my one is comparing 7001 to regex instead of ^(\d{4})$ to regex:
Code:
Regex (FAIL) [Day Mode] destination_number(7001) =~ /^(?:flow\+)?\*7001$/ break=on-true

2) Post a picture of the outbound route you want the call to go through, because all your routes have prefixes.

Lastly, use code formatting. Takes you one second and it helps others read your problem and the solution.
 

Vitor Hugo Teixeira

New Member
Jan 22, 2020
4
0
1
42
Hi Guy,

thakyou for your attention!

So, after your tipes, I clear all configuration and I entered everything again. But the calls droped yet.

Bellow you can see my log (now with code formatting) and in attached the screenshots.

https://pastebin.com/KkANc6kk

Fusion_Destnation_conf.png

Fusion_Destnation_conf_1.png
Fusion_Dialplan_conf.png
Fusion_inboundRote_conf.png
Letme know if y need more information!
 
Last edited:

JamesBorne

Active Member
Jan 24, 2019
294
57
28
Australia
Hi Gay,

1) has to be an actual inbound number from your provider. e.g. 56435634564.
2) Has to have an action. You can see in your image that your inbound route just hangs up.
1579818676135.png

Also if you are trying to trunk extensions on one PBX to another PBX you are doing it all wrong.
 

Vitor Hugo Teixeira

New Member
Jan 22, 2020
4
0
1
42
Thank you for you attention one more time!

you are right, The idiea is trunking the asterisk with Fusionpbx, I need perform the migration and is necessary load Fusion end disload Asterisk. The extension need call throught the Asterisk and landing on Fusion and call the extension.

Do you have some hint about that?
 
Status
Not open for further replies.