Hello Iain,

please keep in mind that in case you expect traffic peaks or a
sustained high level of service requests, the overhead disk i/o and
processor time from doing grep/sed in every webserver process may
grind your server to a halt. If you really need to parse the logfile,
pipe it through a script in a separate process and write the
information you need to a database ONCE and not for every request.

Of course if you expect really slow traffic, your solutiuon is fine.

Monday, March 17, 2008, 4:27:49 AM, you wrote:

>> my-number = "12345"
>>
>> to smsc configuration. it must be change your number to 12345

ID> ah, that's unfortunate!! because i'm going to be using the same 
ID> installation for multiple inbound numbers, and because i don't have a 
ID> 'service based' inbound sms but rather using a catchall (and also cos i
ID> have to do the concatentation externally) i need to pass through different
ID> numbers into my service.

ID> i can't see anything in the userguide that would allow me to specify that
ID> a given service is used based on inbound destination number, rather than
ID> based on the first word of the sms.

ID> so i guess at the moment my big phat hack of adding the message id to the
ID> access log and then parsing it out in my php script using 
ID> shell_exec/grep/sed is about the only way to achieve what i need to do ...

ID> cheers

ID> iain


-- 
Best regards,
 Thomas                            mailto:[EMAIL PROTECTED]


Reply via email to