Menu

#2 manager.py cannot process event if ami passes \n

open
nobody
None
5
2009-09-04
2009-09-04
No

Under specific circumstances where asterisk manager interface might pass an Event message which contains line break charachters. (Imagine user dialing a number 222 \n ss from a softphone)
UNder these circumstances manager.py is not able to process this message and breaks at AMIProtocol.dispatchIncoming
with log.warn( """Improperly formatted line received and ignored: %r""", line )

Discussion