<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2900.2523" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=063435518-19112004>Our current ROLM 
switch uses two-digit Feature Access Codes (FACs) for long-distance calls to 
force the entering of a set of seven digits representing a client and matter 
number before giving a real dial tone.&nbsp; This sequence is passed as part of 
the CDR record and is used to charge the phone call to the correct 
matter.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=063435518-19112004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=063435518-19112004>Looking through the 
Asterisk documentation I can see how a fixed billing code can be assigned to an 
extension so that the caller gets charged but how can I set up a dialling plan 
similar to the above without having to write a script to parse the matter number 
out of a stanard CDR record?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=063435518-19112004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=063435518-19112004>For example, a call 
to New York which should be charged to matter# 1234567 is dialled as;&nbsp; 
77-1234567-1-212-555-1212.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=063435518-19112004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=063435518-19112004>Thanks,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=063435518-19112004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=063435518-19112004>Greg</SPAN></FONT></DIV></BODY></HTML>