After the change suggested, the error shown is as follows:
Error :
Can't get calling number from Asterisk. Here is the error: 'argument of type 'NoneType' is not iterable'
After the change suggested, the error shown is as follows:
Error :
Can't get calling number from Asterisk.
Here is the error: 'argument of type 'NoneType' is not iterable'