[Freeswitch-users] Call rejecting while IP in the ACL
Muhammad Naseer Bhatti
nbhatti at gmail.com
Mon Jan 4 23:26:27 MSK 2016
While the debug log was originally in this email thread, here is another copy along with SIP/Sofia trace enabled.
Debug Log: http://pastebin.com/tSC4gg5z
SIP/Sofia Trace: http://pastebin.com/JwTDTTah
--
Sent with Airmail
From: Michael Jerris <mike at jerris.com>
Reply: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Date: January 4, 2016 at 11:16:15 PM
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] Call rejecting while IP in the ACL
I can't tell from this debug what is rejecting the call. Looks like we don't have any debug log in whatever code path its hitting, which is strange.
On Jan 4, 2016, at 3:04 PM, Muhammad Naseer Bhatti <nbhatti at gmail.com> wrote:
It is an outgoing call,
SIP Trace here, http://pastebin.com/a3GxEMdd
If the IP is there in ACL where acl and reloadacl confirms, I should be able to hit a context atleast?
On Jan 4, 2016, at 10:54 PM, Brian West <brian at freeswitch.org> wrote:
turn up the debug level, it may show you more, see vars.xml for the default log level.
On Mon, Jan 4, 2016 at 1:48 PM, Muhammad Naseer Bhatti <nbhatti at gmail.com> wrote:
But I don’t see it’s hitting any context at all or am I missing something again?
On Jan 4, 2016, at 10:43 PM, Brian West <brian at freeswitch.org> wrote:
The call is probably not going into the context you think it is.
On Mon, Jan 4, 2016 at 1:11 PM, Muhammad Naseer Bhatti <nbhatti at gmail.com> wrote:
Bump …
On Jan 3, 2016, at 4:14 PM, Muhammad Naseer Bhatti <nbhatti at gmail.com> wrote:
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
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Brian West
brian at freeswitch.org
Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
Got Bugs? Report them here! | Reddit: /r/freeswitch
T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Brian West
brian at freeswitch.org
Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
Got Bugs? Report them here! | Reddit: /r/freeswitch
T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160104/28cf7a25/attachment-0001.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list