Html |
---|
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = 'https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.11';
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script> |
Html |
---|
<div class="fb-like" data-href="#" data-layout="button_count" data-action="recommend" data-size="large" data-show-faces="true" data-share="true"></div> |
Html |
---|
<div class="lang-box-pdf">
<div>
<div class="google-lang">
<div id="google_translate_element">
</div>
<script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: 'en', includedLanguages: 'de,es,fr,it,nl', autoDisplay: false}, 'google_translate_element');
}
</script>
<script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
</div>
<div class="pdf-button">
<a href="#" alt="Convert to .pdf" title="Convert to .pdf"><img src="https://confluence.wildix.com/download/attachments/14549012/pdf-button-download-wildix-documentation.png"></a>
</div>
</div>
</div> |
Info |
---|
Created: March 2020 Permalink: |
Scroll export button | ||||||||
---|---|---|---|---|---|---|---|---|
|
Info |
---|
The Article explains how to check if a missed call has been called back from CDR-View. Created: March 2020 Permalink: https://wildix.atlassian.net/wiki/x/0QLOAQ |
Table of Contents |
---|
Introduction
Issue:
Someone has called in and the call was missed, but we don’t know if anyone has called them back.
Resolution:
Check CDR-View data on all outgoing calls to see if the called number has called in previously and not been answered, then set a tag to say it’s been called back.
Incoming calls configuration
Edit the Dialplan procedure used for managing incoming calls ("main" in our example) by adding the following applications:
- Set -> Tags Tags - select the tags that you would like to set for this type of calls
- Set -> Caller namename -
- Call group - routes the call to the selected Call Group
Note |
---|
Detailed description of Dialplan applications is in the Guide . |
Outgoing calls configuration
- Create a separate Dialplan procedure ("
...
- users callback" in our example):
Add 0. : 0 followed by any digit (external) as a called number and add the following applications:
- Set -> FOO -> +44${EXTEN:1} -
...
- sets the variable FOO to the called number which the Dialplan
...
- references later on when dialling the trunk
- Custom application -
...
- > NoOp(ToNumber is +44${EXTEN:1}) - describes what number has been dialled in connocial with + format
- Custom application -
...
- > Set(CallCount=${SHELL(value=`sqlite3 /mnt/cdr/cdrdb "select count() from cdr where c_from = '+44${EXTEN:1}' and answer = '' and start > Datetime('now' ,'localtime','-60 minutes');"` && echo $value)}):
...
- - queries CDR to find out if the number called has called in previously within the last 60 minutes and has not been answered
...
- Custom application -> Set(LastTag=${SHELL(value=`sqlite3 /mnt/cdr/cdrdb "select lastdata from cdr where c_from = '+44${EXTEN:1}' and answer = '' and start > Datetime('now' ,'localtime','-60 minutes');"` && echo $value)}):
...
- - checks what the last tag was against the missed call within the last 60
...
- minutes
- Custom application -> NoOp(CallCount is ${CallCount})
...
- - describes the result if the called number had called in within the last 60 minutes and not been answered
- Custom application -> NoOp(LastTag is ${LastTag:5})
...
- - describes what the last tag against that missed call was
- Jump to if -> ${CallCount} > 0 -
...
- checks to see if the outbound called number has called in previously and the call was missed then jumping to set a tag and dial the trunk
- Dial the trunk - if the called number is not being returned from a missed call carry on calling without setting tag
Add callback as a called number and add the following applications:
- Set -
...
- > Tags -> ${LastTag:5},Callback - sets a tag against the outbound leg of the call with the initial tag appended from the original missed call
...
- Dial the trunk -> ${FOO} -
...
- uses the initial variable set which to dial the trunk with the initial called number
...
CDR Report Example
...
Macrosuite divider macro | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Button macro | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|