[Freeswitch-users] Call rejecting while IP in the ACL
Muhammad Naseer Bhatti
nbhatti at gmail.com
Sun Jan 3 16:14:01 MSK 2016
I am trying to authenticate with cidr attribute for the directory and configure sofia profile is to use apply-inbound-acl for value: domains. While the IP address is set there in the ACL list and seen by the ACL, the call is not hitting the dialplan.
freeswitch at internal> acl 10.211.55.2 10.211.55.0/24
true
freeswitch at internal> reloadacl
+OK acl reloaded
2016-01-03 16:05:14.920901 [NOTICE] switch_core.c:1568 Created ip list domains default (deny)
2016-01-03 16:05:14.920901 [NOTICE] switch_utils.c:545 Adding 10.211.55.0/24 (allow) [8449347 at 10.211.55.26] to list domains
2016-01-03 16:05:31.141849 [NOTICE] switch_channel.c:1091 New Channel sofia/vBilling/8449347 at 10.211.55.26 [aaf18f0c-b21a-11e5-8b74-3f5672d9ef1e]
But when I make a call, it goes straight to HANGUP.
2016-01-03 16:08:35.941031 [NOTICE] switch_channel.c:1091 New Channel sofia/vBilling/8449347 at 10.211.55.26 [19164d10-b21b-11e5-8b77-3f5672d9ef1e]
2016-01-03 16:08:35.941031 [DEBUG] switch_core_state_machine.c:473 (sofia/vBilling/8449347 at 10.211.55.26) Running State Change CS_NEW
2016-01-03 16:08:35.941031 [DEBUG] sofia.c:9244 sofia/vBilling/8449347 at 10.211.55.26 receiving invite from 10.211.55.2:51025 version: 1.7.0 git de5bbef 2015-12-31 16:03:11Z 64bit
2016-01-03 16:08:35.941031 [DEBUG] switch_core_state_machine.c:492 (sofia/vBilling/8449347 at 10.211.55.26) State NEW
2016-01-03 16:08:35.941031 [DEBUG] sofia.c:2147 detaching session 19164d10-b21b-11e5-8b77-3f5672d9ef1e
2016-01-03 16:08:35.941031 [DEBUG] sofia.c:2255 Re-attaching to session 19164d10-b21b-11e5-8b77-3f5672d9ef1e
2016-01-03 16:08:35.960967 [DEBUG] sofia.c:9244 sofia/vBilling/8449347 at 10.211.55.26 receiving invite from 10.211.55.2:51025 version: 1.7.0 git de5bbef 2015-12-31 16:03:11Z 64bit
2016-01-03 16:08:35.960967 [NOTICE] sofia.c:2145 Hangup sofia/vBilling/8449347 at 10.211.55.26 [CS_NEW] [CALL_REJECTED]
2016-01-03 16:08:35.980992 [DEBUG] sofia.c:1355 Channel is already hungup.
2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:473 (sofia/vBilling/8449347 at 10.211.55.26) Running State Change CS_HANGUP
2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:739 (sofia/vBilling/8449347 at 10.211.55.26) Callstate Change DOWN -> HANGUP
2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:741 (sofia/vBilling/8449347 at 10.211.55.26) State HANGUP
2016-01-03 16:08:35.980992 [DEBUG] mod_sofia.c:431 Channel sofia/vBilling/8449347 at 10.211.55.26 hanging up, cause: CALL_REJECTED
2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:60 sofia/vBilling/8449347 at 10.211.55.26 Standard HANGUP, cause: CALL_REJECTED
2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:741 (sofia/vBilling/8449347 at 10.211.55.26) State HANGUP going to sleep
2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:508 (sofia/vBilling/8449347 at 10.211.55.26) State Change CS_HANGUP -> CS_REPORTING
2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:473 (sofia/vBilling/8449347 at 10.211.55.26) Running State Change CS_REPORTING
2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:827 (sofia/vBilling/8449347 at 10.211.55.26) State REPORTING
2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:104 sofia/vBilling/8449347 at 10.211.55.26 Standard REPORTING, cause: CALL_REJECTED
2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:827 (sofia/vBilling/8449347 at 10.211.55.26) State REPORTING going to sleep
2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:499 (sofia/vBilling/8449347 at 10.211.55.26) State Change CS_REPORTING -> CS_DESTROY
2016-01-03 16:08:35.980992 [DEBUG] switch_core_session.c:1646 Session 5 (sofia/vBilling/8449347 at 10.211.55.26) Locked, Waiting on external entities
2016-01-03 16:08:35.980992 [NOTICE] switch_core_session.c:1664 Session 5 (sofia/vBilling/8449347 at 10.211.55.26) Ended
2016-01-03 16:08:35.980992 [NOTICE] switch_core_session.c:1668 Close Channel sofia/vBilling/8449347 at 10.211.55.26 [CS_DESTROY]
2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:630 (sofia/vBilling/8449347 at 10.211.55.26) Running State Change CS_DESTROY
2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:640 (sofia/vBilling/8449347 at 10.211.55.26) State DESTROY
2016-01-03 16:08:35.980992 [DEBUG] mod_sofia.c:341 sofia/vBilling/8449347 at 10.211.55.26 SOFIA DESTROY
2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:111 sofia/vBilling/8449347 at 10.211.55.26 Standard DESTROY
2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:640 (sofia/vBilling/8449347 at 10.211.55.26) State DESTROY going to sleep
Can’t seem to figure out if I am missing something here.
My acl is served as,
Thanks,
Muhammad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160103/da1d28d1/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list