Bruce,

Did you try :

exten => 100,n,System(/bin/echo -e "LogON ${CHANNEL} ${EXTEN} ${EPOCH} \n">> 
/var/www/html/rawData/index.html)
or
exten => 100,n,System(/bin/echo -e '"LogON ${CHANNEL} ${EXTEN} ${EPOCH}"', 
"\n">> /var/www/html/rawData/index.html)


I'm not sure about this in asterisk, but in perl the ' ' takes input as a literal and when inside just " " then it is interpretive and properly utilizes the \n

Mike

Bruce N wrote:
Hello,
I am trying to add a line break after each line while using System() command in 
the dial-plan but it doesn't do. Any suggestions please? Currently I have this:
exten => 100,n,System(/bin/echo -e "'LogON ${CHANNEL} ${EXTEN} ${EPOCH} \n'">> 
/var/www/html/rawData/index.html)

I tried variation of /n and \n but doesn't work.
-Bruce
_________________________________________________________________
Windows Live helps you keep up with all your friends, in one place.
http://go.microsoft.com/?linkid=9660826
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



--
Mike Ashton

Quality Track Intl
CTO
Ph:     647-724-3500 x 301
Cell:   416-527-4995
Fax:    416-352-6043

QTI CONFIDENTIAL AND PROPRIETARY INFORMATION

The contents of this material are confidential and proprietary to Quality Track 
 International, Inc.
and may not be reproduced, disclosed, distributed or used without the express 
permission of an authorized representative of QTI.
Use for any purpose or in any manner other than that expressly authorized is 
prohibited.
If you have received this communication in error, please immediately delete it 
and all copies, and promptly notify the sender.



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to