|
@@ -218,6 +218,7 @@ class SipConnection(object):
|
|
|
log("telemarketer calling : " + call.remote_address.username)
|
|
|
|
|
|
call_params = core.create_call_params(call)
|
|
|
+ os.makedirs(current_dir + "/out")
|
|
|
a_file = current_dir + "/out/call_from_" + slugify(call.remote_address.username) + \
|
|
|
"_" + datetime.now().strftime(
|
|
|
'%Y-%m-%d_%Hh%Mmn%Ss') + ".wav"
|