Hi Mike,

I think that the dialplan module [1] fits in your scenario.
You can use regular expressions to match each state code and append the corresponding area code.
These rules can be added in your database using OpenSIPS CP.

[1] http://www.opensips.org/html/docs/modules/devel/dialplan.html

Regards,

--
Ra(zvan Crainea
OpenSIPS Developer


On 31.08.2011 05:39, Mike O'Connor wrote:
Hi All

I need to pre append an area code to phone numbers as configuring the clients dial plans is driving me mad.

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.

Thanks
Mike


_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to