Commit ae7f19e8 authored by Kulya's avatar Kulya 😊

CRM_CERATE on in calls

parent 200fc324
...@@ -1687,6 +1687,9 @@ URL='.$addr; ...@@ -1687,6 +1687,9 @@ URL='.$addr;
} }
public function make_sipperini($addr,$port='5060',$addr_out,$port_out='5060',$num,$pass){ public function make_sipperini($addr,$port='5060',$addr_out,$port_out='5060',$num,$pass){
if($port!='5060'){
$addr_out = $addr_out.':'.$port;
}
$iniText = '[Profile] $iniText = '[Profile]
Profile=Alovoice_'.$num.' Profile=Alovoice_'.$num.'
......
...@@ -311,7 +311,7 @@ class AloVoiceHandle implements \PAMI\Listener\IEventListener ...@@ -311,7 +311,7 @@ class AloVoiceHandle implements \PAMI\Listener\IEventListener
$callRegisterParams = array( $callRegisterParams = array(
// 'CALL_START_DATE' => date("Y-m-d H:i",$bxchannels[$eventKeys["linkedid"]]["BX24_begincall"] ), //'2016-16-11 10:10', // 'CALL_START_DATE' => date("Y-m-d H:i",$bxchannels[$eventKeys["linkedid"]]["BX24_begincall"] ), //'2016-16-11 10:10',
'CALL_START_DATE' => date("c",$bxchannels[$eventKeys["linkedid"]]["BX24_begincall"] ), //'2016-16-11 10:10', 'CALL_START_DATE' => date("c",$bxchannels[$eventKeys["linkedid"]]["BX24_begincall"] ), //'2016-16-11 10:10',
'CRM_CREATE' => 0, //(!empty($this->config["autocreatelead"]) && !empty($this->config["autocreatelead"]=="false")) ? 0 : 1, 'CRM_CREATE' => 1, //(!empty($this->config["autocreatelead"]) && !empty($this->config["autocreatelead"]=="false")) ? 0 : 1,
'SHOW' => (!empty($this->config["showcallcard"]) && !empty($this->config["showcallcard"]=="false")) ? 0 : 1, 'SHOW' => (!empty($this->config["showcallcard"]) && !empty($this->config["showcallcard"]=="false")) ? 0 : 1,
'DESC' => "AloVoiceCall" 'DESC' => "AloVoiceCall"
); );
......
2021-12-13T15:07:08+05:00
\ No newline at end of file
File mode changed from 100755 to 100644
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment