Browse Source

Thank you to Alexandr Usov and Stanislav Sinyagin for testing and ideas.

* Fix originate to handle Unicode via UTF-8.
* Fix Open Caller to handle more situations and channel types.
* get_caller_name.py and pop-up functionality now handle invalid numbers properly.
* Other fixes that were already committed.
pull/101/head
Trever L. Adams 9 years ago
parent
commit
36b7949cf2
  1. 5
      freeswitch_click2dial/freeswitch_click2dial.py

5
freeswitch_click2dial/freeswitch_click2dial.py

@ -173,7 +173,12 @@ class FreeSWITCHServer(models.Model):
try:
is_fq_res = user.resource.rfind('@')
if is_fq_res > 0:
<<<<<<< d8cf9efb5fd18748d1901978041bb8f34ee1717b
resource = user.resource[0:is_fq_res]
=======
resource = user.resource[0:is_fq_res+1]
_logger.error("is_fq_res: %d, resource is %s\n", is_fq_res, resource)
>>>>>>> Thank you to Alexandr Usov and Stanislav Sinyagin for testing and ideas.
else:
resource = user.resource
request = "channels like /" + re.sub(r'/', r':', resource) + \

Loading…
Cancel
Save