[Freeswitch-users] Detect when an incoming call has been forwarded through another number

Brian West brian at freeswitch.com
Wed Nov 4 23:41:53 UTC 2020


Look for the Diversion header on invite.

On Wed, Nov 4, 2020 at 5:39 PM Chad Phillips <chad at apartmentlines.com>
wrote:

> Is there any way in FreeSWITCH to detect when an incoming SIP call has
> been forwarded through another number?
>
> Example:
>
> Phone1 --> Phone2 --> FreeSWITCH
>
> Usually caller ID info comes through for Phone1, which makes sense. But
> we'd like to *also* know that the call came through a forward by Phone2.
>
> Use case: occasionally someone will fat-finger a phone forward and forward
> their phone to our customer service number. We'd like to toss those calls
> or play some kind of "sorry, you can't do this" message.
>
> Chad
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://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
> https://freeswitch.com



-- 

Brian West | Co-founder and Developer

Need Commercial support? email sales at freeswitch.com

FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
<https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>

Email: brian at freeswitch.com

Mobile: 918-424-9378

Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>

[image: https://www.facebook.com/signalwireinc?src=email]
<https://www.facebook.com/freeswitch> [image:
https://twitter.com/freeswitch] <https://twitter.com/freeswitch>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20201104/ce3b7485/attachment-0001.html>


More information about the FreeSWITCH-users mailing list