[asterisk-dev] AMI syntax

jg webaccounts at jgoettgens.de
Thu Sep 19 10:31:14 CDT 2013


Hi,

I am wondering how rigid the AMI syntax is. Is it strictly
<key> ': ' <value>'\r\n'
or is surrounding white space allowed like
<space>* <key> <space>* ':' <space>* <value> <space>* '\r\n' ?

I have never seen any responses or events with extra space, but writing a scanner that does not 
allow it may be too strict.

jg




More information about the asterisk-dev mailing list