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@valiant.com www.valiant.com <http://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.
Yes that is fairly simple. Its called OLI your upstream provider would pass these digits to you. From there you can use channel variable to get the information. The OLI digits you are looking for are 23 and 27 I believe. ---- Brian Fertig Director of IT Telstar Hosted Services Office: 877.483.5782 Direct: 720.505.4607 Cell: 434.420.5324 [image: Description: Description: cid:image002.png@01CBDCAF.07A013F0] *"Your Call Center in the Cloud"* *From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Phil Kim *Sent:* Tuesday, August 14, 2012 5:19 PM *To:* FreeSWITCH Users Help *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@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. ------------------------------ No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2197 / Virus Database: 2437/5200 - Release Date: 08/14/12
http://www.dialogic.com/webhelp/img1010/10.5.1/webhelp/oli_isdn_sip.htm Just found that URL. Should help fine tune the codes you are looking for. On Aug 14, 2012 6:13 PM, "Brian Fertig" <bfertig@telstarhosted.com> wrote:
Yes that is fairly simple. Its called OLI your upstream provider would pass these digits to you. From there you can use channel variable to get the information.
The OLI digits you are looking for are 23 and 27 I believe.
----
Brian Fertig
Director of IT
Telstar Hosted Services
Office: 877.483.5782
Direct: 720.505.4607
Cell: 434.420.5324
[image: Description: Description: cid:image002.png@01CBDCAF.07A013F0]
*"Your Call Center in the Cloud"*
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Phil Kim *Sent:* Tuesday, August 14, 2012 5:19 PM *To:* FreeSWITCH Users Help *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@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. ------------------------------
No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2197 / Virus Database: 2437/5200 - Release Date: 08/14/12
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
The presence of such kind of information in SIP headers depends on your DID provider. Contact your carrier to find the answer. On Tuesday 14 August 2012 17:19:02 Phil Kim wrote:
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@valiant.com
www.valiant.com <http://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.
From what I know, the carrier has to either offer that option or flag it for you, so you can reject it There's no standard for flagging it, nor do all companies, and there's also no easy way to look up the number in a database to check if it's a payphone.
If someone can tell me otherwise or list TF origination providers that DO flag it that would be helpful. -Avi
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@valiant.com To: freeswitch-users@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@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@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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@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@valiant.com To: freeswitch-users@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@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@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@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
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Thank you everyone for help. I will consult it with my provider. Best regards, Phil H. Kim Software Engineer VALIANT Workforce Solutions phil.kim@valiant.com www.valiant.com <http://www.valiant.com/> 516-224-1908 ________________________________ From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Mike Burlingame Sent: Tuesday, August 14, 2012 5:38 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Detecting payphone 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@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@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@valiant.com To: freeswitch-users@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@valiant.com www.valiant.com <http://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@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@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 FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org 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.
participants (7)
-
Avi Marcus
-
Bob Coleman
-
Brian Fertig
-
Karol
-
Mike Burlingame
-
Phil Kim
-
Sergey Okhapkin