|
@@ -48,7 +48,8 @@ class ChannelParkHandler(EslEventHandler):
|
|
|
self.logger.info('debugger, ChannelParkHandler, hold=%s, device_info=%s' % (hold, device_info))
|
|
|
if hold and device_info.device_type == DeviceType.CUSTOMER.code:
|
|
|
self.inbound_client.hold_play(device_id, HOLD_MUSIC_PATH)
|
|
|
- # self.cache.del_need_play_hold_music(call_id)
|
|
|
+ self.cache.del_need_play_hold_music(call_id)
|
|
|
+ self.cache.set_after_play_hold_music(call_id)
|
|
|
# self.inbound_client.set_var(device_id, SIP_HEADER + sipHeaderHoldMusic, "false")
|
|
|
|
|
|
def process_fxo_calling(self, event):
|