Can't initiate call through call file

Hello i’am new to asterisk.
Currently facing problem in initiating calls through call files in asterisk though files exit in default folder(/var/spool/asterisk/outgoing) and autoload=yes in module.conf file in asterisk.

import sys
from pycall import CallFile, Call, Context

def call(number):
c = Call(‘SIP/%s’ % number)
con = Context(‘outbound’, ‘s’, ‘1’)
cf = CallFile(c, con)
cf.spool()

if name == ‘main’:
call(sys.argv[1])

Call files are placed using this pycall code.
Any help in this regard :smile: