Outgoing calls impossible.

OlivierWILLEMS

New Member
Oct 18, 2024
3
0
1
53
Hello everyone.
I recently installed Fusion PBX, and all went well.

My trunk is registered.
1729495996817.png
I've created my inbound and outbound routes.
1729496031396.png
1729496038054.png
Incoming calls sound OK
1729496055085.png
On an outgoing call, I get a temporary unavailable error:
1729496079244.png

Here are the logs:
1729496099862.png

When I connect to my firewall, I don't see any exchange between fusionPbx and the trunk.
I think the error is in fusionpbx.
Can you give me some information about the Regex(fail) error in my logs?
Thanks for your help.

Olivier
 

pbxgeek

Active Member
Jan 19, 2021
183
64
28
37
Most regex fails are fine. It's designed to use only ones that pass. Send a pcap of the call so we can see where the issue is. And full FreeSWITCH log, not just a part with regex. Please paste the text. The picture is too blurry to tell what's going on.
 

OlivierWILLEMS

New Member
Oct 18, 2024
3
0
1
53
Hello Pbxgeek. Can you tell me how to extract the complete call log in Freeswitch ( I'm a beginner ). Olivier
 

pbxgeek

Active Member
Jan 19, 2021
183
64
28
37
For freeswitch, you need to provide the log you provided over a screenshot, but it is in text format. Please copy and paste it here and mask any sensitive info. You will find that one call log is a lot longer than what you were able to capture in the screenshot.
For PCAP, run sngrep on your server, and it will generate a sip trace. You can also paste it here.
 

OlivierWILLEMS

New Member
Oct 18, 2024
3
0
1
53
Hi pbgeek.

Thank you for your help.
Here is the information after a failed call.

192.168.11.124 , my SIP client on my PC
192.168.11.240 FusionPBX
91.121.129.23 trunksip IP
The called number is replaced by “my-num-out-test”.
The external number at my provider is replaced by “num-provider-account”.

LOG VIEWER on FusionPBX

4b6 Dialplan: sofia/internal/201@192.168.11.240:5060 parsing [192.168.11.240->cf] continue=false
383ae92d-53bc-4b47-b690-896e550f44b6 Dialplan: sofia/internal/201@192.168.11.240:5060 Regex (FAIL) [cf] destination_number(my-num-out-test) =~ /^cf$/ break=on-false
383ae92d-53bc-4b47-b690-896e550f44b6 Dialplan: sofia/internal/201@192.168.11.240:5060 parsing [192.168.11.240->echo] continue=false
383ae92d-53bc-4b47-b690-896e550f44b6 Dialplan: sofia/internal/201@192.168.11.240:5060 Regex (FAIL) [echo] destination_number(my-num-out-test) =~ /^\*9196$/ break=on-false
383ae92d-53bc-4b47-b690-896e550f44b6 Dialplan: sofia/internal/201@192.168.11.240:5060 parsing [192.168.11.240->is_zrtp_secure] continue=true
383ae92d-53bc-4b47-b690-896e550f44b6 Dialplan: sofia/internal/201@192.168.11.240:5060 Regex (FAIL) [is_zrtp_secure] ${zrtp_secure_media_confirmed}() =~ /^true$/ break=on-false
383ae92d-53bc-4b47-b690-896e550f44b6 Dialplan: sofia/internal/201@192.168.11.240:5060 ANTI-Action eval(not_secure)
383ae92d-53bc-4b47-b690-896e550f44b6 Dialplan: sofia/internal/201@192.168.11.240:5060 parsing [192.168.11.240->milliwatt] continue=false
383ae92d-53bc-4b47-b690-896e550f44b6 Dialplan: sofia/internal/201@192.168.11.240:5060 Regex (FAIL) [milliwatt] destination_number(my-num-out-test) =~ /^\*9197$/ break=on-false
383ae92d-53bc-4b47-b690-896e550f44b6 Dialplan: sofia/internal/201@192.168.11.240:5060 parsing [192.168.11.240->tone_stream] continue=false
383ae92d-53bc-4b47-b690-896e550f44b6 Dialplan: sofia/internal/201@192.168.11.240:5060 Regex (FAIL) [tone_stream] destination_number(my-num-out-test) =~ /^\*9198$/ break=on-false
383ae92d-53bc-4b47-b690-896e550f44b6 Dialplan: sofia/internal/201@192.168.11.240:5060 parsing [192.168.11.240->is_secure] continue=true
383ae92d-53bc-4b47-b690-896e550f44b6 Dialplan: sofia/internal/201@192.168.11.240:5060 Regex (FAIL) [is_secure] ${sip_via_protocol}(udp) =~ /tls/ break=on-false
383ae92d-53bc-4b47-b690-896e550f44b6 Dialplan: sofia/internal/201@192.168.11.240:5060 parsing [192.168.11.240->hold_music] continue=false
383ae92d-53bc-4b47-b690-896e550f44b6 Dialplan: sofia/internal/201@192.168.11.240:5060 Regex (FAIL) [hold_music] destination_number(my-num-out-test) =~ /^\*9664$/ break=on-false
383ae92d-53bc-4b47-b690-896e550f44b6 Dialplan: sofia/internal/201@192.168.11.240:5060 parsing [192.168.11.240->recordings] continue=false
383ae92d-53bc-4b47-b690-896e550f44b6 Dialplan: sofia/internal/201@192.168.11.240:5060 Regex (FAIL) [recordings] destination_number(my-num-out-test) =~ /^\*(732)$/ break=on-false
383ae92d-53bc-4b47-b690-896e550f44b6 Dialplan: sofia/internal/201@192.168.11.240:5060 parsing [192.168.11.240->directory] continue=false
383ae92d-53bc-4b47-b690-896e550f44b6 Dialplan: sofia/internal/201@192.168.11.240:5060 Regex (FAIL) [directory] destination_number(my-num-out-test) =~ /^\*411$/ break=on-false
383ae92d-53bc-4b47-b690-896e550f44b6 Dialplan: sofia/internal/201@192.168.11.240:5060 parsing [192.168.11.240->wake-up] continue=false
383ae92d-53bc-4b47-b690-896e550f44b6 Dialplan: sofia/internal/201@192.168.11.240:5060 Regex (FAIL) [wake-up] destination_number(my-num-out-test) =~ /^\*(925)$/ break=on-false
383ae92d-53bc-4b47-b690-896e550f44b6 Dialplan: sofia/internal/201@192.168.11.240:5060 parsing [192.168.11.240->valet_park] continue=false
383ae92d-53bc-4b47-b690-896e550f44b6 Dialplan: sofia/internal/201@192.168.11.240:5060 Regex (FAIL) [valet_park] destination_number(my-num-out-test) =~ /^(park)?\+?\*(59(0[1-9]|[1-9][0-9]))$/ break=never
383ae92d-53bc-4b47-b690-896e550f44b6 Dialplan: sofia/internal/201@192.168.11.240:5060 Regex (FAIL) [valet_park] ${sip_refer_to}() =~ /^.+$/ break=never
383ae92d-53bc-4b47-b690-896e550f44b6 Dialplan: sofia/internal/201@192.168.11.240:5060 Regex (FAIL) [valet_park] ${sip_refer_to}() =~ /sip:(.*)@(.*?)(?::\d+)?\>/ break=never
383ae92d-53bc-4b47-b690-896e550f44b6 Dialplan: sofia/internal/201@192.168.11.240:5060 Regex (FAIL) [valet_park] ${sip_h_Referred-By}() =~ /sip:(.*)@(.*?)(?::\d+)?\>/ break=never
383ae92d-53bc-4b47-b690-896e550f44b6 Dialplan: sofia/internal/201@192.168.11.240:5060 Regex (FAIL) [valet_park] destination_number(my-num-out-test) =~ /^(park)?\+?\*(59(0[1-9]|[1-9][0-9]))$/ break=never
383ae92d-53bc-4b47-b690-896e550f44b6 Dialplan: sofia/internal/201@192.168.11.240:5060 Regex (FAIL) [valet_park] ${referred_by_user}() =~ /^.+$/ break=never
383ae92d-53bc-4b47-b690-896e550f44b6 Dialplan: sofia/internal/201@192.168.11.240:5060 ANTI-Action set(valet_context=${domain_name}) INLINE

The TRACE.PCAP file as an attachment.
Hope it helps you, and me too :)

Olivier
 

Attachments

  • trace201.txt
    26.9 KB · Views: 1

pbxgeek

Active Member
Jan 19, 2021
183
64
28
37
You posted only a fragment of Freeswitch log again. You need to post everything from the time the call started to the end. It's a very long log usually.

Your SIP trace only shows the leg between your phone and FusionPBX; there is no leg between FusionPBX and the carrier. Maybe it never happened, or maybe you didn't capture it. The leg your posted doesn't have a problem. The call initiates property and ends properly but with a 480 error. To know why that error happened we need the other leg of the call or full freeswitch log to see why that leg might've never happened.