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:[EMAIL PROTECTED]") {
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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Joshua
Colp - Asterlink
Sent: Thursday, November 10, 2005 2:05 PM
To: Asterisk Users Mailing List - Non-Commercial
Discussion<[email protected]>
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.
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users