[Asterisk-Users] Asterisk2mp3

Stiffe stiffe at gmail.com
Sun Apr 24 07:05:29 MST 2005


Hi folks.

I have a problem with a pythonscript designed for joining one in-wav
and one out-wav
after recording a call.

Yes, I have the wav-files after a successfull recording...

Python stops at line 5:    basename = sys.argv[2]

like:

[root at asterisk1 bin]# python /usr/local/bin/asterisk2mp3.py
Traceback (most recent call last):
  File "/usr/local/bin/asterisk2mp3.py", line 5, in ?
    basename = sys.argv[2]
IndexError: list index out of range

What do I have to do?

And finally, can I have the script to mail the resulting mp3 to a mailadress
and after that delete the mp3-file, for saving space?

Thanks in advance

//Stefan (from Sweden)



More information about the asterisk-users mailing list