Skip to content

Commit

Permalink
Merge pull request mitogen-hq#324 from spearlineltd/11089_remove_extr…
Browse files Browse the repository at this point in the history
…a_silence

google requested to remove the extra silence
  • Loading branch information
ra-patel committed Apr 11, 2022
2 parents 4f0b03a + bb34e6a commit e2a2ee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/callserver/files/general/extensions_new_devel.conf
Expand Up @@ -1924,7 +1924,7 @@ same => n,Set(inCountryProvider=${TT75_GET_CALLERID_INFO(${CALLERID(num):-7})})
;same => n,ExecIf($[ $["${inCountryProvider}" != ""] | $["${CALLERID(num):-10}" == "2033270189"] | $["${CALLERID(num):-7}" == "2836860"] ]?Gosub(testType75LineConnected,${PROVIDER_DID_ID},1):)
same => n,ExecIf($[ $["${inCountryProvider}" != ""] | $["${CALLERID(num):-10}" == "2033270189"] | $["${CALLERID(num):-7}" == "2836860"] ]?Set(ignoreCall=1):Set(ignoreCall=0))
same => n,Set(ARRAY(p1Audio,ecAudio,scAudio,audioFileInfo)=${TT75_FILE_INFO(${PROVIDER_DID_ID})})
same => n,MSet(CALL_CONNECT_TIME=${EPOCH},AGENT_CONNECT_TIME=0,RECORDING=${UNIQUEID}.wav,apt=20,ect=26,cst=15,sct=15,endedBy=1,cAudio=${CUT(audioFileInfo,#,1)},afn=${CUT(audioFileInfo,#,2)})
same => n,MSet(CALL_CONNECT_TIME=${EPOCH},AGENT_CONNECT_TIME=0,RECORDING=${UNIQUEID}.wav,apt=20,ect=1,cst=15,sct=15,endedBy=1,cAudio=${CUT(audioFileInfo,#,1)},afn=${CUT(audioFileInfo,#,2)})
same => n,ExecIf($["${ignoreCall}" == "0"]?MixMonitor(/home/new_recordings/${RECORDING}):Log(NOTICE,Call from ${inCountryProvider} so recording will be ignored))
same => n,Read(sessionCode,silence/1,19,,,${sct})
same => n,Set(TIMEOUT(absolute)=120)
Expand Down

0 comments on commit e2a2ee4

Please sign in to comment.