On Thu, 30 Nov 2006 15:38:11 +0100, Vincent Delporte <[EMAIL PROTECTED]> wrote: >Here's my Python rewrite: >http://codecomplete.free.fr/asterisk/python_cid.txt
More information. Here's what Asterisk says when I call in: *CLI> -- Executing LookupCIDName("SIP/fxo-0844e458", "") in new stack -- Changed Caller*ID name to Work -- Executing AGI("SIP/fxo-0844e458", "ncid.python.agi|087077XXXX|Bureau Freebox") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/ncid.python.agi Failed to execute '/var/lib/asterisk/agi-bin/ncid.python.agi': Exec format error -- AGI Script ncid.python.agi completed, returning 0 FWIW, I wrote the original in a Windows text editor, and copy-pasted the script in Asterisk by sshing into the server. CRLF vs. CR issue? Something else? Thanks. -- http://mail.python.org/mailman/listinfo/python-list