[Serusers] Re: mailbox

Zeus Ng zeus.ng at isquare.com.au
Fri May 28 02:57:22 CEST 2004


Comment Inline.

> # if user is not user of mailbox
> # user can left message
> else :
>    print "play invitation"
>    ivr.play(wav_path + "ivr_invitation.wav")
>    print "record message"
>    if os.path.isdir(messages_path + callee) != True:
>       os.mkdir(messages_path + callee)

You may want to try:
	message_file = messages_path + callee + "/" + callee +
str(ivr.getTime()) + ".wav", 60)
	ivr.record(message_file)
	fp = open(message_file, "rb")


>    ivr.record(messages_path + callee + "/" + callee + 
> str(ivr.getTime())
> + ".wav", 60)
> 
> Regards 
> 
> Harry




More information about the sr-users mailing list