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

 

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