[Freeswitch-users] Detecting payphone
Mike Burlingame
mike.burlingame at me.com
Wed Aug 15 01:37:32 MSD 2012
you would want your carrier to send you the isup-oli= field like below, based on the isup-oil= you would make your routing decisions
From: <sip:+1XXXXXXXXXX at YYY.YYY.YYY.YYY:5060;isup-oli=27>;tag=gK1e00826b
Ref http://www.nanpa.com/number_resource_info/ani_ii_assignments.html for ANI-II Codes 27 and 70 are generally pay phone people also seem to block 29 prison calls
On Aug 14, 2012, at 2:28 PM, Bob Coleman <bobc at devassert.com> wrote:
> Hi Phil,
>
> We run the same sort of service as you, and have faced the same issue.
>
> In some countries they provide you with a list of all payphones, not sure whether the US does, but we found that to be the easiest way to record the surcharge.
>
> Bob
>
> Date: Tue, 14 Aug 2012 17:19:02 -0400
> From: phil.kim at valiant.com
> To: freeswitch-users at lists.freeswitch.org
> Subject: [Freeswitch-users] Detecting payphone
>
> Hi all,
>
> Question might sounds odd but is there any way to detect if a call is coming from a ‘payphone’?
>
> We have an IVR system which people call in to check in/out of there work. Some calls are coming from a ‘payphone’.
>
> Problem is our carrier is charging us a huge ‘surcharge’ on those calls maid from ‘payphone’. We would like to block those calls but not sure how to detect them.
>
> Is there any flag on SIP messages?
>
> Thank you in advance.
>
> Best regards,
>
> Phil H. Kim
> Software Engineer
> VALIANT Workforce Solutions
> phil.kim at valiant.com
> www.valiant.com
> 516-224-1908
>
> The information contained in this e-mail message, and any attachment
> thereto, is the property of Valiant and is confidential and may not be
> disclosed without our express permission. If you are not the intended
> recipient or an employee or agent responsible for delivering this message to
> the intended recipient, you are hereby notified that you have received this
> message in error and that any review, dissemination, distribution or copying
> of this message, or any attachment thereto, in whole or in part, is strictly
> prohibited. If you have received this message in error, please immediately
> notify us by telephone, fax or e-mail and delete the message and all of its
> attachments.
> Thank you.
> Every effort is made to keep our network free from viruses. You should,
> however, review this e-mail message, as well as any attachment thereto,
> for viruses. We take no responsibility and have no liability for any
> computer virus which may be transferred via this e-mail message.
>
> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com Join Us At ClueCon - Aug 7-9, 2012 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://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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/20120814/afda1d1a/attachment-0001.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list