[Freeswitch-users] Prevent Call Transfer from a specific ip network(s)

Lợi Đặng loi.dangthanh at gmail.com
Tue Feb 7 06:09:02 MSK 2017


@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 at gmail.com

On Mon, Feb 6, 2017 at 9:34 PM, Michael Jerris <mike at jerris.com> wrote:

> Different profiles might work
>
> On Mon, Feb 6, 2017 at 7:58 AM Brian West <brian at 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 at 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 at gmail.com
>>
>> _________________________________________________________________________
>> 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
>> 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 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/20170207/860103cf/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list