[Freeswitch-users] Detecting payphone

Brian Fertig bfertig at telstarhosted.com
Wed Aug 15 01:25:49 MSD 2012

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 at 01CBDCAF.07A013F0]

*"Your Call Center in the Cloud"*

*From:* freeswitch-users-bounces at lists.freeswitch.org [mailto:
freeswitch-users-bounces at 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 at valiant.com



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

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120814/36ccb556/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 13435 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120814/36ccb556/attachment-0001.png 

Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list