<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hi Mike,<br>
<br>
I think that the dialplan module [1] fits in your scenario.<br>
You can use regular expressions to match each state code and append
the corresponding area code.<br>
These rules can be added in your database using OpenSIPS CP.<br>
<br>
[1] <a
href="http://www.opensips.org/html/docs/modules/devel/dialplan.html">http://www.opensips.org/html/docs/modules/devel/dialplan.html</a><br>
<br>
Regards,<br>
<pre class="moz-signature" cols="72">--
Răzvan Crainea
OpenSIPS Developer</pre>
<br>
On 31.08.2011 05:39, Mike O'Connor wrote:
<blockquote cite="mid:4E5D9ED3.9050504@oeg.com.au" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Hi All<br>
<br>
I need to pre append an area code to phone numbers as configuring
the clients dial plans is driving me mad.<br>
<br>
How do I update just the phone number in an invite. The match is
complicated as each state in Australia has a different set of
prefixes which would require the addition of a different area
code.<br>
<br>
Thanks<br>
Mike<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</body>
</html>