Newbie Help with first install

Status
Not open for further replies.

moored99

New Member
May 11, 2018
4
0
1
Australia
I am trying to make my first FusionPBX install work I have been using FreePBX in the past but I want to get in to multi tenant.

I have 2 extensions setup (900 and 901) and 2 gateways setup.

Both gateways are registered as are the extensions.

I can call from extension 900 to 901 with no problem.

When I call either of the gateways I get long pause and then call failed.

I did an inbound route that goes to my first extension.

Please see pictures.

I cant make outgoing calls but I will handle that when I have solved inbound calls.
 

Attachments

  • Screen Shot 2018-05-13 at 8.59.17 am.png
    Screen Shot 2018-05-13 at 8.59.17 am.png
    200.3 KB · Views: 34
  • Screen Shot 2018-05-13 at 9.05.02 am.png
    Screen Shot 2018-05-13 at 9.05.02 am.png
    197.1 KB · Views: 34

moored99

New Member
May 11, 2018
4
0
1
Australia
From the log viewer.

7a88f005-1ded-49f0-9f26-27fcde16a12c 2018-05-13 08:58:22.217111 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G722:9:8000:20:64000:1] ++++ is saved as a match
7a88f005-1ded-49f0-9f26-27fcde16a12c 2018-05-13 08:58:22.217111 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
7a88f005-1ded-49f0-9f26-27fcde16a12c 2018-05-13 08:58:22.217111 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
7a88f005-1ded-49f0-9f26-27fcde16a12c 2018-05-13 08:58:22.217111 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
7a88f005-1ded-49f0-9f26-27fcde16a12c 2018-05-13 08:58:22.217111 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
7a88f005-1ded-49f0-9f26-27fcde16a12c 2018-05-13 08:58:22.217111 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
7a88f005-1ded-49f0-9f26-27fcde16a12c 2018-05-13 08:58:22.217111 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
7a88f005-1ded-49f0-9f26-27fcde16a12c 2018-05-13 08:58:22.217111 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
7a88f005-1ded-49f0-9f26-27fcde16a12c 2018-05-13 08:58:22.217111 [DEBUG] switch_core_media.c:3061 Set Codec sofia/external/0424987789@103.193.167.58 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
7a88f005-1ded-49f0-9f26-27fcde16a12c 2018-05-13 08:58:22.217111 [DEBUG] switch_core_codec.c:111 sofia/external/0424987789@103.193.167.58 Original read codec set to PCMU:0
7a88f005-1ded-49f0-9f26-27fcde16a12c 2018-05-13 08:58:22.217111 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
7a88f005-1ded-49f0-9f26-27fcde16a12c 2018-05-13 08:58:22.217111 [DEBUG] switch_core_media.c:4767 sofia/external/0424987789@103.193.167.58 Set 2833 dtmf send payload to 101 recv payload to 101
7a88f005-1ded-49f0-9f26-27fcde16a12c 2018-05-13 08:58:22.217111 [DEBUG] sofia.c:7507 (sofia/external/0424987789@103.193.167.58) State Change CS_NEW -> CS_INIT
7a88f005-1ded-49f0-9f26-27fcde16a12c 2018-05-13 08:58:22.217111 [DEBUG] switch_core_state_machine.c:603 (sofia/external/0424987789@103.193.167.58) State NEW
7a88f005-1ded-49f0-9f26-27fcde16a12c 2018-05-13 08:58:22.217111 [DEBUG] switch_core_state_machine.c:584 (sofia/external/0424987789@103.193.167.58) Running State Change CS_INIT (Cur 1 Tot 11)
7a88f005-1ded-49f0-9f26-27fcde16a12c 2018-05-13 08:58:22.217111 [DEBUG] switch_core_state_machine.c:627 (sofia/external/0424987789@103.193.167.58) State INIT
7a88f005-1ded-49f0-9f26-27fcde16a12c 2018-05-13 08:58:22.217111 [DEBUG] mod_sofia.c:90 sofia/external/0424987789@103.193.167.58 SOFIA INIT
7a88f005-1ded-49f0-9f26-27fcde16a12c 2018-05-13 08:58:22.217111 [DEBUG] switch_core_state_machine.c:40 sofia/external/0424987789@103.193.167.58 Standard INIT
7a88f005-1ded-49f0-9f26-27fcde16a12c 2018-05-13 08:58:22.217111 [DEBUG] switch_core_state_machine.c:48 (sofia/external/0424987789@103.193.167.58) State Change CS_INIT -> CS_ROUTING
7a88f005-1ded-49f0-9f26-27fcde16a12c 2018-05-13 08:58:22.217111 [DEBUG] switch_core_state_machine.c:627 (sofia/external/0424987789@103.193.167.58) State INIT going to sleep
7a88f005-1ded-49f0-9f26-27fcde16a12c 2018-05-13 08:58:22.217111 [DEBUG] switch_core_state_machine.c:584 (sofia/external/0424987789@103.193.167.58) Running State Change CS_ROUTING (Cur 1 Tot 11)
7a88f005-1ded-49f0-9f26-27fcde16a12c 2018-05-13 08:58:22.217111 [DEBUG] switch_channel.c:2249 (sofia/external/0424987789@103.193.167.58) Callstate Change DOWN -> RINGING
7a88f005-1ded-49f0-9f26-27fcde16a12c 2018-05-13 08:58:22.217111 [DEBUG] switch_core_state_machine.c:643 (sofia/external/0424987789@103.193.167.58) State ROUTING
7a88f005-1ded-49f0-9f26-27fcde16a12c 2018-05-13 08:58:22.217111 [DEBUG] mod_sofia.c:143 sofia/external/0424987789@103.193.167.58 SOFIA ROUTING
7a88f005-1ded-49f0-9f26-27fcde16a12c 2018-05-13 08:58:22.217111 [DEBUG] switch_core_state_machine.c:236 sofia/external/0424987789@103.193.167.58 Standard ROUTING
7a88f005-1ded-49f0-9f26-27fcde16a12c 2018-05-13 08:58:22.217111 [INFO] mod_dialplan_xml.c:637 Processing 0424987789 <0424987789>->1040460 in context public
7a88f005-1ded-49f0-9f26-27fcde16a12c Dialplan: sofia/external/0424987789@103.193.167.58 parsing [public->61288543069] continue=false
7a88f005-1ded-49f0-9f26-27fcde16a12c Dialplan: sofia/external/0424987789@103.193.167.58 Regex (FAIL) [61288543069] destination_number(1040460) =~ /^(61288543069)$/ break=on-false
7a88f005-1ded-49f0-9f26-27fcde16a12c Dialplan: sofia/external/0424987789@103.193.167.58 parsing [public->61294531880] continue=false
7a88f005-1ded-49f0-9f26-27fcde16a12c Dialplan: sofia/external/0424987789@103.193.167.58 Regex (FAIL) [61294531880] destination_number(1040460) =~ /^(61294531880)$/ break=on-false
7a88f005-1ded-49f0-9f26-27fcde16a12c Dialplan: sofia/external/0424987789@103.193.167.58 parsing [public->not-found] continue=false
7a88f005-1ded-49f0-9f26-27fcde16a12c Dialplan: sofia/external/0424987789@103.193.167.58 Regex (PASS) [not-found] () =~ // break=on-false
7a88f005-1ded-49f0-9f26-27fcde16a12c Dialplan: sofia/external/0424987789@103.193.167.58 Action export(call_direction=inbound) INLINE
7a88f005-1ded-49f0-9f26-27fcde16a12c EXECUTE sofia/external/0424987789@103.193.167.58 export(call_direction=inbound)
7a88f005-1ded-49f0-9f26-27fcde16a12c 2018-05-13 08:58:22.217111 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_direction]=[inbound]
7a88f005-1ded-49f0-9f26-27fcde16a12c Dialplan: sofia/external/0424987789@103.193.167.58 Action set(call_direction=inbound) INLINE
7a88f005-1ded-49f0-9f26-27fcde16a12c EXECUTE sofia/external/0424987789@103.193.167.58 set(call_direction=inbound)
7a88f005-1ded-49f0-9f26-27fcde16a12c 2018-05-13 08:58:22.217111 [DEBUG] mod_dptools.c:1548 SET sofia/external/0424987789@103.193.167.58 [call_direction]=[inbound]
7a88f005-1ded-49f0-9f26-27fcde16a12c Dialplan: sofia/external/0424987789@103.193.167.58 Action log([inbound routes] 404 not found ${sip_network_ip}) INLINE
7a88f005-1ded-49f0-9f26-27fcde16a12c EXECUTE sofia/external/0424987789@103.193.167.58 log([inbound routes] 404 not found 103.193.167.58)
 

EasyBB

Active Member
Oct 23, 2016
240
33
28
Australia
I am a bit confused....is your DID with iiNet or Siptalk?

Your inbound route regex is not matching the correct incoming number. If your trunk is with Siptalk then your inbound should be matching the Siptalk extension number as the destination number.
 

EasyBB

Active Member
Oct 23, 2016
240
33
28
Australia
I have setup both iiNet or Siptalk, I started with Siptalk and it didn't work so to test things I also setup iiNET.

It is not really helpful showing screenshots of incoming for one trunk and then posting incoming call for another trunk :)

For your Siptalk inbound trunk use 1040xxx as the destination number.
For the iiNet trunk, use 02xxxxxxxx format as the destination number.

In any case just have one trunk for testing phase. Start with simple, minimum settings and once you get the hang of it, add additional gateways and settings.
 
Status
Not open for further replies.