Browse Source

good call

pull/91/head
Apptuate 8 years ago
committed by GitHub
parent
commit
ddccf2eaea
  1. 2
      asterisk_click2dial/asterisk_click2dial.py

2
asterisk_click2dial/asterisk_click2dial.py

@ -422,7 +422,7 @@ class PhoneCommon(orm.AbstractModel):
_('No callerID configured for the current user'))
variable = []
if user.asterisk_chan_type == 'SIP' or user.asterisk_chan_type == 'PJSIP':
if user.asterisk_chan_type in ['SIP', 'PJSIP']:
# We can only have one alert-info header in a SIP request
if user.alert_info:
variable.append(

Loading…
Cancel
Save