invalid_international_format_msg=_("The phone number is not written in valid international format. Example of valid international format : +33 1 41 98 12 42")
@ -184,9 +187,12 @@ class asterisk_server(osv.osv):
logger.notifyChannel('asterisk_click2dial',netsvc.LOG_DEBUG,'Out prefix = '+out_prefix+' - Number to be sent to Asterisk = '+tmp_number)
returntmp_number
# Open the socket to the Asterisk Manager Interface
# and send instructions to Dial to Asterisk
defdial(self,cr,uid,ids,erp_number,context):
'''
OpenthesockettotheAsteriskManagerInterface(AMI)
andsendinstructionstoDialtoAsterisk.That's the important function !