Prevent Call Transfer from a specific ip network(s)
Hi guys, I have 2 network-ip list A, and B that has processed similarly in xml_dialplan. Call Scenario is pretty simple: A/B -> FS -> C. For some reasons not listed, I'm using `proxy-refer=true` to proxy REFER msg to C. Using this setting make `force_transfer_context` useless. But I want to apply REFER from A only, REFER from B needed to be rejected with 403/405 or something. All REFERs are within dialog (RFC3515) I know I can place a SIP proxy before FS to achieve this. But I don't want to add a SIP component at the moment. So, can you guide me how to do this with FreeSwitch? rgds, Loi Dang Thanh Phone : +84. 1224.735.448 Email : loi.dangthanh@gmail.com
I do not believe what you're asking for is possible currently without a patch. /b On Mon, Feb 6, 2017 at 2:26 AM, Lợi Đặng <loi.dangthanh@gmail.com> wrote:
Hi guys, I have 2 network-ip list A, and B that has processed similarly in xml_dialplan. Call Scenario is pretty simple: A/B -> FS -> C.
For some reasons not listed, I'm using `proxy-refer=true` to proxy REFER msg to C. Using this setting make `force_transfer_context` useless.
But I want to apply REFER from A only, REFER from B needed to be rejected with 403/405 or something. All REFERs are within dialog (RFC3515)
I know I can place a SIP proxy before FS to achieve this. But I don't want to add a SIP component at the moment. So, can you guide me how to do this with FreeSwitch?
rgds, Loi Dang Thanh Phone : +84. 1224.735.448 Email : loi.dangthanh@gmail.com
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@freeswitch.org*Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *Skype:*briankwest
Different profiles might work On Mon, Feb 6, 2017 at 7:58 AM Brian West <brian@freeswitch.org> wrote:
I do not believe what you're asking for is possible currently without a patch.
/b
On Mon, Feb 6, 2017 at 2:26 AM, Lợi Đặng <loi.dangthanh@gmail.com> wrote:
Hi guys, I have 2 network-ip list A, and B that has processed similarly in xml_dialplan. Call Scenario is pretty simple: A/B -> FS -> C.
For some reasons not listed, I'm using `proxy-refer=true` to proxy REFER msg to C. Using this setting make `force_transfer_context` useless.
But I want to apply REFER from A only, REFER from B needed to be rejected with 403/405 or something. All REFERs are within dialog (RFC3515)
I know I can place a SIP proxy before FS to achieve this. But I don't want to add a SIP component at the moment. So, can you guide me how to do this with FreeSwitch?
rgds, Loi Dang Thanh Phone : +84. 1224.735.448 Email : loi.dangthanh@gmail.com
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@freeswitch.org*Twitter: @FreeSWITCH , @briankwest*
http://www.freeswitchbook.com http://www.freeswitchcookbook.com https://www.gofundme.com/freeswitch_ubuntu
Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *Skype:*briankwest _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
@Michael: hope I understand you correctly, you meant using 2 profiles, 1 with and 1 without `proxy-refer`, to make use of `force_transfer_context`. if yes, I'm afraid this don't work in my case, since FS will terminate leg with A/B after NOTIFYing A/B that FS will handle the transfer, just before processing the `transfer context` to INVITE another one. I just don't want the leg to be terminated. @Brian: I will write a patch for this if there's no possible workaround. Tks you guys. rgds, Loi Dang Thanh Phone : +84. 1224.735.448 Email : loi.dangthanh@gmail.com On Mon, Feb 6, 2017 at 9:34 PM, Michael Jerris <mike@jerris.com> wrote:
Different profiles might work
On Mon, Feb 6, 2017 at 7:58 AM Brian West <brian@freeswitch.org> wrote:
I do not believe what you're asking for is possible currently without a patch.
/b
On Mon, Feb 6, 2017 at 2:26 AM, Lợi Đặng <loi.dangthanh@gmail.com> wrote:
Hi guys, I have 2 network-ip list A, and B that has processed similarly in xml_dialplan. Call Scenario is pretty simple: A/B -> FS -> C.
For some reasons not listed, I'm using `proxy-refer=true` to proxy REFER msg to C. Using this setting make `force_transfer_context` useless.
But I want to apply REFER from A only, REFER from B needed to be rejected with 403/405 or something. All REFERs are within dialog (RFC3515)
I know I can place a SIP proxy before FS to achieve this. But I don't want to add a SIP component at the moment. So, can you guide me how to do this with FreeSwitch?
rgds, Loi Dang Thanh Phone : +84. 1224.735.448 Email : loi.dangthanh@gmail.com
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@freeswitch.org*Twitter: @FreeSWITCH , @briankwest*
http://www.freeswitchbook.com http://www.freeswitchcookbook.com https://www.gofundme.com/freeswitch_ubuntu
Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *Skype:*briankwest _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Brian West
-
Lợi Đặng
-
Michael Jerris