[asterisk-users] [Fwd: where is the error?]

trixter aka Bret McDanel trixter at 0xdecafbad.com
Mon Jul 17 06:32:23 MST 2006


On Mon, 2006-07-17 at 15:17 +0200, olivier.taylor wrote:
> email message attachment (where is the error?)

> > SELECT\ left(Customer.balance,instr(Customer.balance,'.')-1)\ FROM\ 
> > Customer\ Inner\ Join\ subscriber\ ON\ subscriber.customer_id\ =\ 
> > Customer.id\ WHERE\ subscriber.username\ =\ ${CALLERIDNAME}

asterisk translates , to | then processes it.  try \, instead see if
that cures your errors.


-- 
Trixter http://www.0xdecafbad.com     Bret McDanel
Belfast IE +44 28 9099 6461    DE +49 801 777 555 3402
Utrecht NL +31 306 553058      US WA +1 360 207 0479
US NY +1 516 687 5200          FreeWorldDialup: 635378
http://www.trxtel.com the VoIP provider that pays you!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20060717/a5b30540/attachment.pgp


More information about the asterisk-users mailing list