Anyone using Twilio Elastic SIP Trunking?

Status
Not open for further replies.

rchase

New Member
Jan 20, 2017
8
6
3
32
I have inbound calls working, but outbound calls will not work.

In FusionPBX it appears my trunk cannot register. It shows "Trying" and "Failed_Wait" only.

I am sure that I have the credentials correct and IP is correct on Twilio side, proxy is correct on FusionPBX side.

FS_CLI shows a timeout error message for that trunk trying to register

On the Twilio side, Debugger shows "The SDP is not correctly formatted.", and under possible solutions all it does is link to the RFC for SDP lol ...

Hope someone can help! Ive spent 2 entire days on this


Instruction to get inbound calls working on Twilio:

Setup trunk in Twilio

1. Termination settings: Setup IP ACL, and Credential lists
2. Origination settings: Add Origination URI of <your-ip>:5080
3. In FusionPBX setup an inbound router with the Twilio DID



Instructions to get outbound calls working on Twilio:

<I dont know!>
 

rchase

New Member
Jan 20, 2017
8
6
3
32
Yes thanks to digidaz's help on #fusionpbx IRC! Thanks again!

For anyone looking at using Twilio with FusionPBX, it works just fine. The problem I had was due to the fact I was using a Cisco SPA phone which default settings set ptime to 30ms whereas Twilio was expecting 20ms. Most IP phones default to 20ms and it wouldnt be an issue, but it was an easy config fix for the Cisco also.

Twilio trunk works just like any other trunk -- setup ACL, username and password, the only thing other than that is set Register to false. (No registration)

Works great
 
  • Like
Reactions: patelbhargav

Markymc

New Member
Oct 13, 2017
1
0
1
43
Hi rchase,
Just curious as to the benefits of using Twilio SIP over your standard SIP telco provider. I’m on the fence on which way to go and just looking for input.
Thanks!
 

Chris Ismail

New Member
Feb 18, 2018
3
0
1
46
Twilio has a lot of perks. I go it to work for Termination but I am having some issues with the Origination. Could anyone help?

Here is the log,

G] switch_core_state_machine.c:174 sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com Standard REPORTING, cause: WRONG_CALL_STATE
fa321559-98d4-497a-86a2-15f4ca44007d 2018-02-18 04:52:28.675488 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State REPORTING going to sleep
fa321559-98d4-497a-86a2-15f4ca44007d 2018-02-18 04:52:28.675488 [DEBUG] switch_core_state_machine.c:610 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State Change CS_REPORTING -> CS_DESTROY
fa321559-98d4-497a-86a2-15f4ca44007d 2018-02-18 04:52:28.675488 [DEBUG] switch_core_session.c:1665 Session 8046 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) Locked, Waiting on external entities
fa321559-98d4-497a-86a2-15f4ca44007d 2018-02-18 04:52:28.675488 [NOTICE] switch_core_session.c:1683 Session 8046 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) Ended
fa321559-98d4-497a-86a2-15f4ca44007d 2018-02-18 04:52:28.675488 [NOTICE] switch_core_session.c:1687 Close Channel sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com [CS_DESTROY]
fa321559-98d4-497a-86a2-15f4ca44007d 2018-02-18 04:52:28.675488 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) Running State Change CS_DESTROY (Cur 11 Tot 8057)
fa321559-98d4-497a-86a2-15f4ca44007d 2018-02-18 04:52:28.675488 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State DESTROY
fa321559-98d4-497a-86a2-15f4ca44007d 2018-02-18 04:52:28.675488 [DEBUG] mod_sofia.c:343 sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com SOFIA DESTROY
fa321559-98d4-497a-86a2-15f4ca44007d 2018-02-18 04:52:28.675488 [DEBUG] switch_core_state_machine.c:181 sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com Standard DESTROY
fa321559-98d4-497a-86a2-15f4ca44007d 2018-02-18 04:52:28.675488 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State DESTROY going to sleep
69cd7aed-592c-4303-8f74-94830116c98d 2018-02-18 04:52:29.035532 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/+94778554888@au-bpbx-net.pstn.twilio.com [69cd7aed-592c-4303-8f74-94830116c98d]
69cd7aed-592c-4303-8f74-94830116c98d 2018-02-18 04:52:29.035532 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/+94778554888@au-bpbx-net.pstn.twilio.com) Running State Change CS_NEW (Cur 12 Tot 8058)
69cd7aed-592c-4303-8f74-94830116c98d 2018-02-18 04:52:29.035532 [DEBUG] sofia.c:9873 sofia/internal/+94778554888@au-bpbx-net.pstn.twilio.com receiving invite from 54.172.60.1:5060 version: 1.6.20 -37-987c9b9 64bit
2018-02-18 04:52:29.035532 [DEBUG] sofia.c:10044 IP 54.172.60.1 Rejected by acl "domains". Falling back to Digest auth.
2018-02-18 04:52:29.035532 [DEBUG] sofia.c:2334 detaching session 69cd7aed-592c-4303-8f74-94830116c98d
2018-02-18 04:52:29.035532 [WARNING] sofia_reg.c:1792 SIP auth challenge (INVITE) on sofia profile 'internal' for [+13104020933@au.bpbx.net] from ip 54.172.60.1
69cd7aed-592c-4303-8f74-94830116c98d 2018-02-18 04:52:29.035532 [DEBUG] switch_core_state_machine.c:603 (sofia/internal/+94778554888@au-bpbx-net.pstn.twilio.com) State NEW
d1212541-d183-4691-b654-6b89e30443f3 2018-02-18 04:52:29.055513 [WARNING] switch_core_state_machine.c:687 d1212541-d183-4691-b654-6b89e30443f3 sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.comAbandoned
d1212541-d183-4691-b654-6b89e30443f3 2018-02-18 04:52:29.055513 [NOTICE] switch_core_state_machine.c:690 Hangup sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com [CS_NEW] [WRONG_CALL_STATE]
d1212541-d183-4691-b654-6b89e30443f3 2018-02-18 04:52:29.055513 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) Running State Change CS_HANGUP (Cur 12 Tot 8058)
d1212541-d183-4691-b654-6b89e30443f3 2018-02-18 04:52:29.055513 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) Callstate Change DOWN -> HANGUP
d1212541-d183-4691-b654-6b89e30443f3 2018-02-18 04:52:29.055513 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State HANGUP
d1212541-d183-4691-b654-6b89e30443f3 2018-02-18 04:52:29.055513 [DEBUG] mod_sofia.c:438 Channel sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com hanging up, cause: WRONG_CALL_STATE
d1212541-d183-4691-b654-6b89e30443f3 2018-02-18 04:52:29.055513 [DEBUG] switch_core_state_machine.c:60 sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com Standard HANGUP, cause: WRONG_CALL_STATE
d1212541-d183-4691-b654-6b89e30443f3 2018-02-18 04:52:29.055513 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State HANGUP going to sleep
d1212541-d183-4691-b654-6b89e30443f3 2018-02-18 04:52:29.055513 [DEBUG] switch_core_state_machine.c:619 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State Change CS_HANGUP -> CS_REPORTING
d1212541-d183-4691-b654-6b89e30443f3 2018-02-18 04:52:29.055513 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) Running State Change CS_REPORTING (Cur 12 Tot 8058)
d1212541-d183-4691-b654-6b89e30443f3 2018-02-18 04:52:29.055513 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State REPORTING
d1212541-d183-4691-b654-6b89e30443f3 2018-02-18 04:52:29.055513 [DEBUG] switch_core_state_machine.c:174 sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com Standard REPORTING, cause: WRONG_CALL_STATE
d1212541-d183-4691-b654-6b89e30443f3 2018-02-18 04:52:29.055513 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State REPORTING going to sleep
d1212541-d183-4691-b654-6b89e30443f3 2018-02-18 04:52:29.055513 [DEBUG] switch_core_state_machine.c:610 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State Change CS_REPORTING -> CS_DESTROY
d1212541-d183-4691-b654-6b89e30443f3 2018-02-18 04:52:29.055513 [DEBUG] switch_core_session.c:1665 Session 8047 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) Locked, Waiting on external entities
d1212541-d183-4691-b654-6b89e30443f3 2018-02-18 04:52:29.055513 [NOTICE] switch_core_session.c:1683 Session 8047 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) Ended
d1212541-d183-4691-b654-6b89e30443f3 2018-02-18 04:52:29.055513 [NOTICE] switch_core_session.c:1687 Close Channel sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com [CS_DESTROY]
d1212541-d183-4691-b654-6b89e30443f3 2018-02-18 04:52:29.055513 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) Running State Change CS_DESTROY (Cur 11 Tot 8058)
d1212541-d183-4691-b654-6b89e30443f3 2018-02-18 04:52:29.055513 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State DESTROY
d1212541-d183-4691-b654-6b89e30443f3 2018-02-18 04:52:29.055513 [DEBUG] mod_sofia.c:343 sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com SOFIA DESTROY
d1212541-d183-4691-b654-6b89e30443f3 2018-02-18 04:52:29.055513 [DEBUG] switch_core_state_machine.c:181 sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com Standard DESTROY
d1212541-d183-4691-b654-6b89e30443f3 2018-02-18 04:52:29.055513 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State DESTROY going to sleep
dd93abef-b59b-46c3-9281-9a09d348a18e 2018-02-18 04:52:29.255506 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/+94778554888@au-bpbx-net.pstn.twilio.com [dd93abef-b59b-46c3-9281-9a09d348a18e]
dd93abef-b59b-46c3-9281-9a09d348a18e 2018-02-18 04:52:29.255506 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/+94778554888@au-bpbx-net.pstn.twilio.com) Running State Change CS_NEW (Cur 12 Tot 8059)
dd93abef-b59b-46c3-9281-9a09d348a18e 2018-02-18 04:52:29.255506 [DEBUG] sofia.c:9873 sofia/internal/+94778554888@au-bpbx-net.pstn.twilio.com receiving invite from 54.172.60.1:5060 version: 1.6.20 -37-987c9b9 64bit
2018-02-18 04:52:29.255506 [DEBUG] sofia.c:10044 IP 54.172.60.1 Rejected by acl "domains". Falling back to Digest auth.
2018-02-18 04:52:29.255506 [DEBUG] sofia.c:2334 detaching session dd93abef-b59b-46c3-9281-9a09d348a18e
2018-02-18 04:52:29.255506 [WARNING] sofia_reg.c:1792 SIP auth challenge (INVITE) on sofia profile 'internal' for [+13104020933@139.99.169.71] from ip 54.172.60.1
dd93abef-b59b-46c3-9281-9a09d348a18e 2018-02-18 04:52:29.255506 [DEBUG] switch_core_state_machine.c:603 (sofia/internal/+94778554888@au-bpbx-net.pstn.twilio.com) State NEW
cf9234be-eba6-4b1d-8dd5-fecb84409c41 2018-02-18 04:52:29.775506 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/+94778554888@au-bpbx-net.pstn.twilio.com [cf9234be-eba6-4b1d-8dd5-fecb84409c41]
cf9234be-eba6-4b1d-8dd5-fecb84409c41 2018-02-18 04:52:29.775506 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/+94778554888@au-bpbx-net.pstn.twilio.com) Running State Change CS_NEW (Cur 13 Tot 8060)
cf9234be-eba6-4b1d-8dd5-fecb84409c41 2018-02-18 04:52:29.775506 [DEBUG] sofia.c:9873 sofia/internal/+94778554888@au-bpbx-net.pstn.twilio.com receiving invite from 54.172.60.1:5060 version: 1.6.20 -37-987c9b9 64bit
2018-02-18 04:52:29.775506 [DEBUG] sofia.c:10044 IP 54.172.60.1 Rejected by acl "domains". Falling back to Digest auth.
2018-02-18 04:52:29.775506 [DEBUG] sofia.c:2334 detaching session cf9234be-eba6-4b1d-8dd5-fecb84409c41
2018-02-18 04:52:29.775506 [WARNING] sofia_reg.c:1792 SIP auth challenge (INVITE) on sofia profile 'internal' for [+13104020933@au.bpbx.net] from ip 54.172.60.1
cf9234be-eba6-4b1d-8dd5-fecb84409c41 2018-02-18 04:52:29.775506 [DEBUG] switch_core_state_machine.c:603 (sofia/internal/+94778554888@au-bpbx-net.pstn.twilio.com) State NEW
538faad4-b1e7-47b9-90e8-2a039dc4ede3 2018-02-18 04:52:29.995521 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/+94778554888@au-bpbx-net.pstn.twilio.com [538faad4-b1e7-47b9-90e8-2a039dc4ede3]
538faad4-b1e7-47b9-90e8-2a039dc4ede3 2018-02-18 04:52:29.995521 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/+94778554888@au-bpbx-net.pstn.twilio.com) Running State Change CS_NEW (Cur 14 Tot 8061)
538faad4-b1e7-47b9-90e8-2a039dc4ede3 2018-02-18 04:52:29.995521 [DEBUG] sofia.c:9873 sofia/internal/+94778554888@au-bpbx-net.pstn.twilio.com receiving invite from 54.172.60.2:5060 version: 1.6.20 -37-987c9b9 64bit
2018-02-18 04:52:29.995521 [DEBUG] sofia.c:10044 IP 54.172.60.2 Rejected by acl "domains". Falling back to Digest auth.
2018-02-18 04:52:29.995521 [DEBUG] sofia.c:2334 detaching session 538faad4-b1e7-47b9-90e8-2a039dc4ede3
2018-02-18 04:52:29.995521 [WARNING] sofia_reg.c:1792 SIP auth challenge (INVITE) on sofia profile 'internal' for [+13104020933@139.99.169.71] from ip 54.172.60.2
538faad4-b1e7-47b9-90e8-2a039dc4ede3 2018-02-18 04:52:29.995521 [DEBUG] switch_core_state_machine.c:603 (sofia/internal/+94778554888@au-bpbx-net.pstn.twilio.com) State NEW
6d09dbf0-362b-4416-ab1d-a36a5e845f06 2018-02-18 04:52:30.715505 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/+94778554888@au-bpbx-net.pstn.twilio.com [6d09dbf0-362b-4416-ab1d-a36a5e845f06]
6d09dbf0-362b-4416-ab1d-a36a5e845f06 2018-02-18 04:52:30.715505 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/+94778554888@au-bpbx-net.pstn.twilio.com) Running State Change CS_NEW (Cur 15 Tot 8062)
6d09dbf0-362b-4416-ab1d-a36a5e845f06 2018-02-18 04:52:30.715505 [DEBUG] sofia.c:9873 sofia/internal/+94778554888@au-bpbx-net.pstn.twilio.com receiving invite from 54.172.60.1:5060 version: 1.6.20 -37-987c9b9 64bit
2018-02-18 04:52:30.715505 [DEBUG] sofia.c:10044 IP 54.172.60.1 Rejected by acl "domains". Falling back to Digest auth.
2018-02-18 04:52:30.715505 [DEBUG] sofia.c:2334 detaching session 6d09dbf0-362b-4416-ab1d-a36a5e845f06
2018-02-18 04:52:30.715505 [WARNING] sofia_reg.c:1792 SIP auth challenge (INVITE) on sofia profile 'internal' for [+13104020933@au.bpbx.net] from ip 54.172.60.1
6d09dbf0-362b-4416-ab1d-a36a5e845f06 2018-02-18 04:52:30.715505 [DEBUG] switch_core_state_machine.c:603 (sofia/internal/+94778554888@au-bpbx-net.pstn.twilio.com) State NEW
6d020165-0cb0-4778-8092-a74321bd370a 2018-02-18 04:52:30.935504 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/+94778554888@au-bpbx-net.pstn.twilio.com [6d020165-0cb0-4778-8092-a74321bd370a]
6d020165-0cb0-4778-8092-a74321bd370a 2018-02-18 04:52:30.935504 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/+94778554888@au-bpbx-net.pstn.twilio.com) Running State Change CS_NEW (Cur 16 Tot 8063)
6d020165-0cb0-4778-8092-a74321bd370a 2018-02-18 04:52:30.935504 [DEBUG] sofia.c:9873 sofia/internal/+94778554888@au-bpbx-net.pstn.twilio.com receiving invite from 54.172.60.0:5060 version: 1.6.20 -37-987c9b9 64bit
2018-02-18 04:52:30.935504 [DEBUG] sofia.c:10044 IP 54.172.60.0 Rejected by acl "domains". Falling back to Digest auth.
2018-02-18 04:52:30.935504 [DEBUG] sofia.c:2334 detaching session 6d020165-0cb0-4778-8092-a74321bd370a
2018-02-18 04:52:30.935504 [WARNING] sofia_reg.c:1792 SIP auth challenge (INVITE) on sofia profile 'internal' for [+13104020933@139.99.169.71] from ip 54.172.60.0
6d020165-0cb0-4778-8092-a74321bd370a 2018-02-18 04:52:30.935504 [DEBUG] switch_core_state_machine.c:603 (sofia/internal/+94778554888@au-bpbx-net.pstn.twilio.com) State NEW
5bb40cf0-83ae-4a85-8d3f-599f62a1871c 2018-02-18 04:52:31.595522 [WARNING] switch_core_state_machine.c:687 5bb40cf0-83ae-4a85-8d3f-599f62a1871c sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.comAbandoned
5bb40cf0-83ae-4a85-8d3f-599f62a1871c 2018-02-18 04:52:31.595522 [NOTICE] switch_core_state_machine.c:690 Hangup sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com [CS_NEW] [WRONG_CALL_STATE]
5bb40cf0-83ae-4a85-8d3f-599f62a1871c 2018-02-18 04:52:31.595522 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) Running State Change CS_HANGUP (Cur 16 Tot 8063)
5bb40cf0-83ae-4a85-8d3f-599f62a1871c 2018-02-18 04:52:31.595522 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) Callstate Change DOWN -> HANGUP
5bb40cf0-83ae-4a85-8d3f-599f62a1871c 2018-02-18 04:52:31.595522 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State HANGUP
5bb40cf0-83ae-4a85-8d3f-599f62a1871c 2018-02-18 04:52:31.595522 [DEBUG] mod_sofia.c:438 Channel sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com hanging up, cause: WRONG_CALL_STATE
5bb40cf0-83ae-4a85-8d3f-599f62a1871c 2018-02-18 04:52:31.595522 [DEBUG] switch_core_state_machine.c:60 sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com Standard HANGUP, cause: WRONG_CALL_STATE
5bb40cf0-83ae-4a85-8d3f-599f62a1871c 2018-02-18 04:52:31.595522 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State HANGUP going to sleep
5bb40cf0-83ae-4a85-8d3f-599f62a1871c 2018-02-18 04:52:31.595522 [DEBUG] switch_core_state_machine.c:619 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State Change CS_HANGUP -> CS_REPORTING
5bb40cf0-83ae-4a85-8d3f-599f62a1871c 2018-02-18 04:52:31.595522 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) Running State Change CS_REPORTING (Cur 16 Tot 8063)
5bb40cf0-83ae-4a85-8d3f-599f62a1871c 2018-02-18 04:52:31.595522 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State REPORTING
5bb40cf0-83ae-4a85-8d3f-599f62a1871c 2018-02-18 04:52:31.595522 [DEBUG] switch_core_state_machine.c:174 sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com Standard REPORTING, cause: WRONG_CALL_STATE
5bb40cf0-83ae-4a85-8d3f-599f62a1871c 2018-02-18 04:52:31.595522 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State REPORTING going to sleep
5bb40cf0-83ae-4a85-8d3f-599f62a1871c 2018-02-18 04:52:31.595522 [DEBUG] switch_core_state_machine.c:610 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State Change CS_REPORTING -> CS_DESTROY
5bb40cf0-83ae-4a85-8d3f-599f62a1871c 2018-02-18 04:52:31.595522 [DEBUG] switch_core_session.c:1665 Session 8048 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) Locked, Waiting on external entities
5bb40cf0-83ae-4a85-8d3f-599f62a1871c 2018-02-18 04:52:31.595522 [NOTICE] switch_core_session.c:1683 Session 8048 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) Ended
5bb40cf0-83ae-4a85-8d3f-599f62a1871c 2018-02-18 04:52:31.595522 [NOTICE] switch_core_session.c:1687 Close Channel sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com [CS_DESTROY]
5bb40cf0-83ae-4a85-8d3f-599f62a1871c 2018-02-18 04:52:31.595522 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) Running State Change CS_DESTROY (Cur 15 Tot 8063)
5bb40cf0-83ae-4a85-8d3f-599f62a1871c 2018-02-18 04:52:31.595522 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State DESTROY
5bb40cf0-83ae-4a85-8d3f-599f62a1871c 2018-02-18 04:52:31.595522 [DEBUG] mod_sofia.c:343 sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com SOFIA DESTROY
5bb40cf0-83ae-4a85-8d3f-599f62a1871c 2018-02-18 04:52:31.595522 [DEBUG] switch_core_state_machine.c:181 sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com Standard DESTROY
5bb40cf0-83ae-4a85-8d3f-599f62a1871c 2018-02-18 04:52:31.595522 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State DESTROY going to sleep
d216fa45-be60-4471-8e48-62dc166e022e 2018-02-18 04:52:31.815492 [WARNING] switch_core_state_machine.c:687 d216fa45-be60-4471-8e48-62dc166e022e sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.comAbandoned
d216fa45-be60-4471-8e48-62dc166e022e 2018-02-18 04:52:31.815492 [NOTICE] switch_core_state_machine.c:690 Hangup sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com [CS_NEW] [WRONG_CALL_STATE]
d216fa45-be60-4471-8e48-62dc166e022e 2018-02-18 04:52:31.815492 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) Running State Change CS_HANGUP (Cur 15 Tot 8063)
d216fa45-be60-4471-8e48-62dc166e022e 2018-02-18 04:52:31.815492 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) Callstate Change DOWN -> HANGUP
d216fa45-be60-4471-8e48-62dc166e022e 2018-02-18 04:52:31.815492 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State HANGUP
d216fa45-be60-4471-8e48-62dc166e022e 2018-02-18 04:52:31.815492 [DEBUG] mod_sofia.c:438 Channel sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com hanging up, cause: WRONG_CALL_STATE
d216fa45-be60-4471-8e48-62dc166e022e 2018-02-18 04:52:31.815492 [DEBUG] switch_core_state_machine.c:60 sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com Standard HANGUP, cause: WRONG_CALL_STATE
d216fa45-be60-4471-8e48-62dc166e022e 2018-02-18 04:52:31.815492 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State HANGUP going to sleep
d216fa45-be60-4471-8e48-62dc166e022e 2018-02-18 04:52:31.815492 [DEBUG] switch_core_state_machine.c:619 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State Change CS_HANGUP -> CS_REPORTING
d216fa45-be60-4471-8e48-62dc166e022e 2018-02-18 04:52:31.815492 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) Running State Change CS_REPORTING (Cur 15 Tot 8063)
d216fa45-be60-4471-8e48-62dc166e022e 2018-02-18 04:52:31.815492 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State REPORTING
d216fa45-be60-4471-8e48-62dc166e022e 2018-02-18 04:52:31.815492 [DEBUG] switch_core_state_machine.c:174 sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com Standard REPORTING, cause: WRONG_CALL_STATE
d216fa45-be60-4471-8e48-62dc166e022e 2018-02-18 04:52:31.815492 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State REPORTING going to sleep
d216fa45-be60-4471-8e48-62dc166e022e 2018-02-18 04:52:31.815492 [DEBUG] switch_core_state_machine.c:610 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State Change CS_REPORTING -> CS_DESTROY
d216fa45-be60-4471-8e48-62dc166e022e 2018-02-18 04:52:31.815492 [DEBUG] switch_core_session.c:1665 Session 8049 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) Locked, Waiting on external entities
d216fa45-be60-4471-8e48-62dc166e022e 2018-02-18 04:52:31.815492 [NOTICE] switch_core_session.c:1683 Session 8049 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) Ended
d216fa45-be60-4471-8e48-62dc166e022e 2018-02-18 04:52:31.815492 [NOTICE] switch_core_session.c:1687 Close Channel sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com [CS_DESTROY]
d216fa45-be60-4471-8e48-62dc166e022e 2018-02-18 04:52:31.815492 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) Running State Change CS_DESTROY (Cur 14 Tot 8063)
d216fa45-be60-4471-8e48-62dc166e022e 2018-02-18 04:52:31.815492 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State DESTROY
d216fa45-be60-4471-8e48-62dc166e022e 2018-02-18 04:52:31.815492 [DEBUG] mod_sofia.c:343 sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com SOFIA DESTROY
d216fa45-be60-4471-8e48-62dc166e022e 2018-02-18 04:52:31.815492 [DEBUG] switch_core_state_machine.c:181 sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com Standard DESTROY
d216fa45-be60-4471-8e48-62dc166e022e 2018-02-18 04:52:31.815492 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State DESTROY going to sleep
d36af4dc-2ffa-4960-9044-f144d445a6f5 2018-02-18 04:52:32.075490 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com [d36af4dc-2ffa-4960-9044-f144d445a6f5]
d36af4dc-2ffa-4960-9044-f144d445a6f5 2018-02-18 04:52:32.075490 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) Running State Change CS_NEW (Cur 15 Tot 8064)
d36af4dc-2ffa-4960-9044-f144d445a6f5 2018-02-18 04:52:32.075490 [DEBUG] sofia.c:9873 sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com receiving invite from 54.172.60.2:5060 version: 1.6.20 -37-987c9b9 64bit
2018-02-18 04:52:32.075490 [DEBUG] sofia.c:10044 IP 54.172.60.2 Rejected by acl "domains". Falling back to Digest auth.
2018-02-18 04:52:32.075490 [DEBUG] sofia.c:2334 detaching session d36af4dc-2ffa-4960-9044-f144d445a6f5
2018-02-18 04:52:32.075490 [WARNING] sofia_reg.c:1792 SIP auth challenge (INVITE) on sofia profile 'internal' for [+13104020933@139.99.169.71] from ip 54.172.60.2
d36af4dc-2ffa-4960-9044-f144d445a6f5 2018-02-18 04:52:32.075490 [DEBUG] switch_core_state_machine.c:603 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State NEW
23845994-0585-4065-8c3a-191ab051e219 2018-02-18 04:52:32.295488 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com [23845994-0585-4065-8c3a-191ab051e219]
23845994-0585-4065-8c3a-191ab051e219 2018-02-18 04:52:32.295488 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) Running State Change CS_NEW (Cur 16 Tot 8065)
23845994-0585-4065-8c3a-191ab051e219 2018-02-18 04:52:32.295488 [DEBUG] sofia.c:9873 sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com receiving invite from 54.172.60.1:5060 version: 1.6.20 -37-987c9b9 64bit
2018-02-18 04:52:32.295488 [DEBUG] sofia.c:10044 IP 54.172.60.1 Rejected by acl "domains". Falling back to Digest auth.
2018-02-18 04:52:32.315470 [DEBUG] sofia.c:2334 detaching session 23845994-0585-4065-8c3a-191ab051e219
2018-02-18 04:52:32.315470 [WARNING] sofia_reg.c:1792 SIP auth challenge (INVITE) on sofia profile 'internal' for [+13104020933@au.bpbx.net] from ip 54.172.60.1
23845994-0585-4065-8c3a-191ab051e219 2018-02-18 04:52:32.315470 [DEBUG] switch_core_state_machine.c:603 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State NEW
de894aa5-b34d-4012-856c-cffa55dd7e13 2018-02-18 04:52:33.875505 [WARNING] switch_core_state_machine.c:687 de894aa5-b34d-4012-856c-cffa55dd7e13 sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.comAbandoned
de894aa5-b34d-4012-856c-cffa55dd7e13 2018-02-18 04:52:33.875505 [NOTICE] switch_core_state_machine.c:690 Hangup sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com [CS_NEW] [WRONG_CALL_STATE]
de894aa5-b34d-4012-856c-cffa55dd7e13 2018-02-18 04:52:33.875505 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) Running State Change CS_HANGUP (Cur 16 Tot 8065)
de894aa5-b34d-4012-856c-cffa55dd7e13 2018-02-18 04:52:33.875505 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) Callstate Change DOWN -> HANGUP
de894aa5-b34d-4012-856c-cffa55dd7e13 2018-02-18 04:52:33.875505 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State HANGUP
de894aa5-b34d-4012-856c-cffa55dd7e13 2018-02-18 04:52:33.875505 [DEBUG] mod_sofia.c:438 Channel sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com hanging up, cause: WRONG_CALL_STATE
de894aa5-b34d-4012-856c-cffa55dd7e13 2018-02-18 04:52:33.875505 [DEBUG] switch_core_state_machine.c:60 sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com Standard HANGUP, cause: WRONG_CALL_STATE
de894aa5-b34d-4012-856c-cffa55dd7e13 2018-02-18 04:52:33.875505 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State HANGUP going to sleep
de894aa5-b34d-4012-856c-cffa55dd7e13 2018-02-18 04:52:33.875505 [DEBUG] switch_core_state_machine.c:619 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State Change CS_HANGUP -> CS_REPORTING
de894aa5-b34d-4012-856c-cffa55dd7e13 2018-02-18 04:52:33.875505 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) Running State Change CS_REPORTING (Cur 16 Tot 8065)
de894aa5-b34d-4012-856c-cffa55dd7e13 2018-02-18 04:52:33.875505 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State REPORTING
de894aa5-b34d-4012-856c-cffa55dd7e13 2018-02-18 04:52:33.875505 [DEBUG] switch_core_state_machine.c:174 sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com Standard REPORTING, cause: WRONG_CALL_STATE
de894aa5-b34d-4012-856c-cffa55dd7e13 2018-02-18 04:52:33.875505 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State REPORTING going to sleep
de894aa5-b34d-4012-856c-cffa55dd7e13 2018-02-18 04:52:33.875505 [DEBUG] switch_core_state_machine.c:610 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State Change CS_REPORTING -> CS_DESTROY
de894aa5-b34d-4012-856c-cffa55dd7e13 2018-02-18 04:52:33.875505 [DEBUG] switch_core_session.c:1665 Session 8050 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) Locked, Waiting on external entities
de894aa5-b34d-4012-856c-cffa55dd7e13 2018-02-18 04:52:33.875505 [NOTICE] switch_core_session.c:1683 Session 8050 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) Ended
de894aa5-b34d-4012-856c-cffa55dd7e13 2018-02-18 04:52:33.875505 [NOTICE] switch_core_session.c:1687 Close Channel sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com [CS_DESTROY]
de894aa5-b34d-4012-856c-cffa55dd7e13 2018-02-18 04:52:33.875505 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) Running State Change CS_DESTROY (Cur 15 Tot 8065)
de894aa5-b34d-4012-856c-cffa55dd7e13 2018-02-18 04:52:33.875505 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State DESTROY
de894aa5-b34d-4012-856c-cffa55dd7e13 2018-02-18 04:52:33.875505 [DEBUG] mod_sofia.c:343 sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com SOFIA DESTROY
de894aa5-b34d-4012-856c-cffa55dd7e13 2018-02-18 04:52:33.875505 [DEBUG] switch_core_state_machine.c:181 sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com Standard DESTROY
de894aa5-b34d-4012-856c-cffa55dd7e13 2018-02-18 04:52:33.875505 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State DESTROY going to sleep
5a971073-5838-431a-a7e4-7e5fd928f08d 2018-02-18 04:52:34.115482 [WARNING] switch_core_state_machine.c:687 5a971073-5838-431a-a7e4-7e5fd928f08d sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.comAbandoned
5a971073-5838-431a-a7e4-7e5fd928f08d 2018-02-18 04:52:34.115482 [NOTICE] switch_core_state_machine.c:690 Hangup sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com [CS_NEW] [WRONG_CALL_STATE]
5a971073-5838-431a-a7e4-7e5fd928f08d 2018-02-18 04:52:34.115482 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) Running State Change CS_HANGUP (Cur 15 Tot 8065)
5a971073-5838-431a-a7e4-7e5fd928f08d 2018-02-18 04:52:34.115482 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) Callstate Change DOWN -> HANGUP
5a971073-5838-431a-a7e4-7e5fd928f08d 2018-02-18 04:52:34.115482 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State HANGUP
5a971073-5838-431a-a7e4-7e5fd928f08d 2018-02-18 04:52:34.115482 [DEBUG] mod_sofia.c:438 Channel sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com hanging up, cause: WRONG_CALL_STATE
5a971073-5838-431a-a7e4-7e5fd928f08d 2018-02-18 04:52:34.115482 [DEBUG] switch_core_state_machine.c:60 sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com Standard HANGUP, cause: WRONG_CALL_STATE
5a971073-5838-431a-a7e4-7e5fd928f08d 2018-02-18 04:52:34.115482 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State HANGUP going to sleep
5a971073-5838-431a-a7e4-7e5fd928f08d 2018-02-18 04:52:34.115482 [DEBUG] switch_core_state_machine.c:619 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State Change CS_HANGUP -> CS_REPORTING
5a971073-5838-431a-a7e4-7e5fd928f08d 2018-02-18 04:52:34.115482 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) Running State Change CS_REPORTING (Cur 15 Tot 8065)
5a971073-5838-431a-a7e4-7e5fd928f08d 2018-02-18 04:52:34.115482 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State REPORTING
5a971073-5838-431a-a7e4-7e5fd928f08d 2018-02-18 04:52:34.115482 [DEBUG] switch_core_state_machine.c:174 sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com Standard REPORTING, cause: WRONG_CALL_STATE
5a971073-5838-431a-a7e4-7e5fd928f08d 2018-02-18 04:52:34.115482 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State REPORTING going to sleep
5a971073-5838-431a-a7e4-7e5fd928f08d 2018-02-18 04:52:34.115482 [DEBUG] switch_core_state_machine.c:610 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State Change CS_REPORTING -> CS_DESTROY
5a971073-5838-431a-a7e4-7e5fd928f08d 2018-02-18 04:52:34.115482 [DEBUG] switch_core_session.c:1665 Session 8051 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) Locked, Waiting on external entities
5a971073-5838-431a-a7e4-7e5fd928f08d 2018-02-18 04:52:34.115482 [NOTICE] switch_core_session.c:1683 Session 8051 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) Ended
5a971073-5838-431a-a7e4-7e5fd928f08d 2018-02-18 04:52:34.115482 [NOTICE] switch_core_session.c:1687 Close Channel sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com [CS_DESTROY]
5a971073-5838-431a-a7e4-7e5fd928f08d 2018-02-18 04:52:34.115482 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) Running State Change CS_DESTROY (Cur 14 Tot 8065)
5a971073-5838-431a-a7e4-7e5fd928f08d 2018-02-18 04:52:34.115482 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State DESTROY
5a971073-5838-431a-a7e4-7e5fd928f08d 2018-02-18 04:52:34.115482 [DEBUG] mod_sofia.c:343 sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com SOFIA DESTROY
5a971073-5838-431a-a7e4-7e5fd928f08d 2018-02-18 04:52:34.115482 [DEBUG] switch_core_state_machine.c:181 sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com Standard DESTROY
5a971073-5838-431a-a7e4-7e5fd928f08d 2018-02-18 04:52:34.115482 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/+194778554888@au-bpbx-net.pstn.twilio.com) State DESTROY going to sleep

 

Chris Ismail

New Member
Feb 18, 2018
3
0
1
46
I have added all the Twilio IPs to the ACL but the incoming calls are still not working.

iptables -A INPUT -i eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A INPUT -i eth0 -s 54.252.254.64/30 -j ACCEPT
iptables -A OUTPUT -o eth0 -d 54.252.254.64/30 -j ACCEPT
iptables -A INPUT -i eth0 -s 54.252.254.64/26 -j ACCEPT
iptables -A OUTPUT -o eth0 -d 54.252.254.64/26 -j ACCEPT
iptables -A INPUT -p tcp -m tcp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp -m tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p tcp -m tcp --dport 10000:20000 -j ACCEPT
iptables -A INPUT -p tcp -m tcp --dport 2727 -j ACCEPT
iptables -A INPUT -p udp -m udp --dport 5060 -j ACCEPT
iptables -A INPUT -p udp -m udp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp -m udp --dport 10000:20000 -j ACCEPT
iptables -A INPUT -p udp -m udp --dport 2727 -j ACCEPT
iptables -A INPUT -i eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A INPUT -i eth0 -s 35.156.191.128/30 -j ACCEPT
iptables -A OUTPUT -o eth0 -d 35.156.191.128/30 -j ACCEPT
iptables -A INPUT -i eth0 -s 139.99.169.71 -j ACCEPT
iptables -A OUTPUT -o eth0 -d 139.99.169.71 -j ACCEPT
iptables -A INPUT -i eth0 -s 35.156.191.128/25 -j ACCEPT
iptables -A OUTPUT -o eth0 -d 35.156.191.128/25 -j ACCEPT
iptables -A INPUT -i eth0 -s 139.99.168.61 -j ACCEPT
iptables -A OUTPUT -o eth0 -d 139.99.168.61 -j ACCEPT
iptables -A OUTPUT -o eth0 -d 54.172.60.0/23 -j ACCEPT
iptables -A INPUT -i eth0 -s 54.172.60.0/23 -j ACCEPT
iptables -A OUTPUT -o eth0 -d 54.171.127.192/26 -j ACCEPT
iptables -A INPUT -i eth0 -s 54.171.127.192/26 -j ACCEPT
iptables -A OUTPUT -o eth0 -d 54.65.63.192/26 -j ACCEPT
iptables -A INPUT -i eth0 -s 54.65.63.192/26 -j ACCEPT
iptables -A OUTPUT -o eth0 -d 54.169.127.128/26 -j ACCEPT
iptables -A INPUT -i eth0 -s 54.169.127.128/26 -j ACCEPT
iptables -A OUTPUT -o eth0 -d 54.252.254.64/26 -j ACCEPT
iptables -A INPUT -i eth0 -s 54.252.254.64/26 -j ACCEPT
iptables -A OUTPUT -o eth0 -d 177.71.206.192/26 -j ACCEPT
iptables -A INPUT -i eth0 -s 177.71.206.192/26 -j ACCEPT
 

Chris Ismail

New Member
Feb 18, 2018
3
0
1
46
It was right there in front of me thank you

2. Origination settings: Add Origination URI of sip:<your-ip>:5080
 
Status
Not open for further replies.