[Asterisk-Users] Little OT.. SER Question
Brian C. Fertig
brian at planet-telecom.com
Thu Nov 10 13:06:26 MST 2005
Thanks for the info here is a sniplet of how I am doing my change now
with a php script calling to a MySQL DB. Where would I insert the
strip(5)
command?
# resolve alphanumeric names in the URI
if (uri=~"sip:*@*") {
log("Running astSer.php \n");
exec_dset( "/usr/local/etc/ser/astSer.php" );
};
..o-------------------------------------------------------o..
Brian Fertig
Network/Systems Engineer
IT Administrator
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Joshua
Colp - Asterlink
Sent: Thursday, November 10, 2005 2:05 PM
To: Asterisk Users Mailing List - Non-Commercial
Discussion<asterisk-users at lists.digium.com>
Subject: Re: [Asterisk-Users] Little OT.. SER Question
And so the file said to the Brian... Let there be enlightenment:
strip(5);
That'll strip off the first 5... Characters... From the URI
Joshua Colp
This email was scanned by: Mcafee GroupShield
---------------- CONFIDENTIAL DISCLAMER ----------------
All information provided in this email is considered confidential
and proprietary of Planet Telecom, Inc. and Telecenter Inc.
Use of this information by anyone other than the recipient or
sender will be considered in breach of agreement.
More information about the asterisk-users
mailing list