Форум программистов, компьютерный форум, киберфорум
Наши страницы
PHP для начинающих
Войти
Регистрация
Восстановить пароль
 
Dmitriy2840
0 / 0 / 0
Регистрация: 17.09.2015
Сообщений: 92
1

Вытянуть данные из лога в Excel

19.08.2016, 10:52. Просмотров 446. Ответов 4
Метки нет (Все метки)

Вот код страницы на которой отображается все люди которые участвуют в конференции разговора по IP-телефонии, подскажите как сделать что бы этих людей добавляло например в таблицу эксел по завершении конференции. Заходить на сервер копировать и отдавать это конечно можно, но это нужно что бы когда идёт конференция было видно кто зашёл,а кто нет. Какой код необходимо написать что бы выводить эту информацию, или отдельную страницу создать на сервере что бы туда все данные поступали в реальном времени. Подскажите пожалуйста.
PHPHTML
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
<!DOCTYPE html><html class="firsttypeofselector"><head><title>FreePBX Administration</title><meta http-equiv="Content-Type" content="text/html;charset=utf-8"><meta name="robots" content="noindex" /><link rel="shortcut icon" href="http://www.cyberforum.ru/images/favicon.ico"><meta name="referrer" content="always"><link href="assets/css/bootstrap-3.3.5.min.css?load_version=13.0.167" rel="stylesheet" type="text/css"><link href="assets/css/font-awesome.min-4.5.0.css?load_version=13.0.167" rel="stylesheet" type="text/css"><link href="assets/css/bootstrap-table-1.9.0.css?load_version=13.0.167" rel="stylesheet" type="text/css"><link href="assets/css/bootstrap-table-reorder-rows.css?load_version=13.0.167" rel="stylesheet" type="text/css"><link href="assets/css/jquery-ui-1.10.3.custom.css?load_version=13.0.167" rel="stylesheet" type="text/css"><link href="assets/css/typehead.js-bootstrap3-0.2.3.css?load_version=13.0.167" rel="stylesheet" type="text/css"><link href="assets/less/cache/lessphp_afe35a1d9aacb00e005027ce8a4e9995b26d119e.css" rel="stylesheet" type="text/css"><link rel="stylesheet" href="assets/css/outdatedbrowser.min.css?load_version=13.0.167"><script type="text/javascript" src="assets/js/outdatedbrowser.min.js?load_version=13.0.167"></script><script>var firsttypeofselector = true</script><script type="text/javascript" src="assets/js/jquery-1.11.3.min.js?load_version=13.0.167"></script><script type="text/javascript" src="assets/js/selector-set-1.0.6.js?load_version=13.0.167"></script><script type="text/javascript" src="assets/js/jquery.selector-set-0.1.8.js?load_version=13.0.167"></script><script type="text/javascript" src="assets/js/jquery-migrate-1.2.1.js?load_version=13.0.167"></script><script type="text/javascript" src="assets/js/class.js?load_version=13.0.167"></script><script type="text/javascript" src="assets/js/jed.js?load_version=13.0.167"></script><script type="text/javascript" src="assets/js/modgettext.js?load_version=13.0.167"></script><script>textdomain("cel")</script><script type='text/javascript'>
    var fpbx = Class.extend({
        params: {},
        init: function() {
            var self = this;
            var path = window.location.pathname.toString().split('/');
 
            path[path.length - 1] = 'ajax.php';
            if (typeof(window.location.origin) == 'undefined') {
                // Oh look, IE. Hur Dur, I'm a bwowsah.
                window.location.origin = window.location.protocol+'//'+window.location.host;
                if (window.location.port.length != 0) {
                    window.location.origin = window.location.origin+':'+window.location.port;
                }
            }
            this.ajaxurl = window.location.origin + path.join('/');
            if (window.location.search.length) {
                var params = window.location.search.split(/\?|&/);
                // NOT using jquery here. This is a bit more annoying, yes, but it means we
                // can move it out of the way later. Note we break compat with IE8 and below
                // here.
                params.forEach(function(v) {
                    if (res = v.match(/(.+)=(.+)/)) {
                        self.params[res[1]] = res[2];
                    }
                });
            }
        }
    });
    window.FreePBX = new fpbx();
</script><meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes" />
<link rel="apple-touch-icon" href="assets/images/badge.png" />
<link rel="apple-touch-icon-precomposed" href="assets/images/badge.png" /></head><body><div id="page"><noscript><div class="attention">WARNING: Javascript is disabled in your browser. The FreePBX administration interface requires Javascript to run properly. Please enable javascript or switch to another  browser that supports it.</div></noscript><link href="assets/cel/css/cel.css" rel="stylesheet" type="text/css" /><link href="assets/cel/css/date-polyfill.css" rel="stylesheet" type="text/css" /><link href="assets/cel/css/jplayer.blue.monday.css" rel="stylesheet" type="text/css" /><div class="freepbx-navbar">
    <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
        <div class="container-fluid">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle navbar-left collapsed" data-toggle="collapse" data-target="#fpbx-menu-collapse">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="#">
                    <img src="http://www.cyberforum.ru/images/tango.png" alt="FreePBX" title="FreePBX" id="MENU_BRAND_IMAGE_TANGO_LEFT" data-BRAND_IMAGE_FREEPBX_LINK_LEFT="http://www.freepbx.org" />
                </a>
            </div>
            <div class="collapse navbar-collapse" id="fpbx-menu-collapse">
                <ul class="nav navbar-nav navbar-left">
                    <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">Admin</a>
                        </ul>
            </div>
            <ul class="stuck-right">
                                    <li><a id="button_reload" class="btn btn-danger nav-button reload-btn">Apply Config</a></li>
                                                                        <button id="search-btn" class="btn nav-button"><i class="fa fa-search"></i></button>
                                            <li class="dropdown admin-btn">
                            <button class="btn dropdown-toggle nav-button" data-toggle="dropdown"><i id="settings-cog" class="fa fa-cog"></i></button>
                            <ul class="dropdown-menu" role="menu">
                                <li role="presentation" ><a>Hello, admin</a></li>
                                <li role="presentation" class="divider"></li>
                                <li><a id="user_logout" href="#">Logout</a>
                            </ul>
                        </li>
                                                </ul>
        </div>
    </nav>
</div>
    <div class="" id='fpbxsearch'>
        <i class="fa fa-search"></i>
        <input type="text" class="form-control typeahead" placeholder="Search" title="Quick Search '/'">
    </div>
<div id="page_body">
<div class="global-message-banner alert signature alert-info alert-dismissable text-center"><h2><strong>This page is currently BETA</strong></h2> <a class='alert-link' href='http://wiki.freepbx.org/display/F2/Beta+Modules' target='_blank'>(What Does this Mean?)</a></div><div class="container-fluid">
    <h1>Call Event Logging</h1>
    <div class="well well-info">
        You may search by any or all of the fields below. The more fields you fill in the more refined the report.  </div>
    <div class = "display full-border">
        <div class="row">
            <div class="col-sm-12">
                <div class="fpbx-container">
                    <div class="display full-border">
                        <h2>Search</h2>
<form class="fpbx-submit" action="" method="post" name='CELSearch' id='CELSearch'>
<input type="hidden" name="action" id="action" value="search">
 
<!--Date Range-->
<div class="element-container">
    <div class="row">
        <div class="col-md-12">
            <div class="row">
                <div class="form-group">
                    <div class="col-md-3">
                        <label class="control-label" for="daterange">Date Range</label>
                        <i class="fa fa-question-circle fpbx-help-icon" data-for="daterange"></i>
                    </div>
                    <div class="col-md-9">
                        <div class="row">
                            <div class="col-md-6">
                                <input type="date" max="2016-08-19" class="form-control" id="datefrom" name="datefrom" value="" placeholder="From">
                            </div>
                            <div class="col-md-6">
                                <input type="date" max="2016-08-19" class="form-control" id="dateto" name="dateto" value="" placeholder="To">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-md-12">
            <span id="daterange-help" class="help-block fpbx-help-block">Date range of calls in the format of mm/dd/yyyy</span>
        </div>
    </div>
</div>
<!--END Date Range-->
<!--Caller ID-->
<div class="element-container">
    <div class="row">
        <div class="col-md-12">
            <div class="row">
                <div class="form-group">
                    <div class="col-md-3">
                        <label class="control-label" for="callerid">Caller ID</label>
                        <i class="fa fa-question-circle fpbx-help-icon" data-for="callerid"></i>
                    </div>
                    <div class="col-md-9">
                        <input type="text" class="form-control" id="callerid" name="callerid" value="">
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-md-12">
            <span id="callerid-help" class="help-block fpbx-help-block">Caller ID of a call participant</span>
        </div>
    </div>
</div>
<!--END Caller ID-->
<!--Dialed Number-->
<div class="element-container">
    <div class="row">
        <div class="col-md-12">
            <div class="row">
                <div class="form-group">
                    <div class="col-md-3">
                        <label class="control-label" for="exten">Dialed Number</label>
                        <i class="fa fa-question-circle fpbx-help-icon" data-for="exten"></i>
                    </div>
                    <div class="col-md-9">
                        <input type="text" class="form-control" id="exten" name="exten" value="">
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-md-12">
            <span id="exten-help" class="help-block fpbx-help-block">Extension or DID dialed</span>
        </div>
    </div>
</div>
<!--END Dialed Number-->
<!--Application-->
<div class="element-container">
    <div class="row">
        <div class="col-md-12">
            <div class="row">
                <div class="form-group">
                    <div class="col-md-3">
                        <label class="control-label" for="application">Application</label>
                        <i class="fa fa-question-circle fpbx-help-icon" data-for="application"></i>
                    </div>
                    <div class="col-md-9">
                        <select class="form-control" id="application" name="application">
                            <option value="" SELECTED></option><option value="conference" >Conference</option><option value="queue" >Queue</option><option value="voicemail" >Voicemail</option><option value="voicemailmain" >Voicemail Main</option>                      </select>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-md-12">
            <span id="application-help" class="help-block fpbx-help-block">Application executed by a call participant</span>
        </div>
    </div>
</div>
<!--END Application-->
</form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</div></div><div id="footer"><hr /><div id="action-bar"><div id="action-buttons"><button id="action-bar-hide" class="btn"><i class="fa fa-angle-double-right"></i></button><input  name="submit" type="submit" value="Search" id="submit" ><input  name="reset" type="submit" value="Reset" id="reset" ></div></div><div id="footer_content" class="row"><div class="col-md-4">
    <a target="_blank" href="http://www.freepbx.org" ><img id="footer_logo1" src="http://www.cyberforum.ru/images/freepbx_small.png?load_version=13.0.167" alt="FreePBX&reg;"/>
    </a>
    </div><div class="col-md-4" id="footer_text"><a href="http://www.freepbx.org" target="_blank">FreePBX</a> is a registered trademark of<br /><a href="http://www.freepbx.org/copyright.html" target="_blank"> Sangoma Technologies Inc.</a><br />FreePBX 13.0.167 is licensed under the <a href="http://www.gnu.org/copyleft/gpl.html" target="_blank"> GPL</a><br /><a href="http://www.freepbx.org/copyright.html" target="_blank">Copyright&copy; 2007-2016</a></div><div class="col-md-4">
    <a target="_blank" href="http://www.sangoma.com" ><img id="footer_logo" src="http://www.cyberforum.ru/images/sangoma-horizontal_thumb.png" alt="www.sangoma.com"/>
    </a>
    </div></div></div>
 
<script type="text/javascript">
function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func;
  } else {
    window.onload = function() {
      if (oldonload) {
        oldonload();
      }
      func();
    }
  }
}
//call plugin function after DOM ready
addLoadEvent(function(){
  outdatedBrowser({
    bgColor: '#f25648',
    color: '#ffffff',
    lowerThan: 'IE9',
    languagePath: ''
  })
});
</script>
<div id="outdated">
  <h6>Your browser is out-of-date!</h6>
  <p>FreePBX requires a new browser to function correctly. You can still use FreePBX with the browser you currently have but your experience may be diminished and is not supported<a id="btnUpdateBrowser" href="http://outdatedbrowser.com/">Update my browser now</a></p>
  <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="Close">&times;</a></p>
</div>
  
  <script>
  $(window.console).ready(function(){
    console.log(("%c%s"), "color: green; font-size: large","FreePBX");
    console.log(("Thankyou for using %s"),"FreePBX");
    
    console.log("If you find bugs you may file a report at http://issues.freepbx.org");
    console.log("For developer resources visit: http://wiki.freepbx.org/x/BAAQ");
    
    console.log(("Framework: %s"),"13.0.167");
    console.log(("Module Name: %s"),"cel");
    console.log(("Module Version: %s"),"13.0.23");
    
  });
  </script></body>
</html>
0
Надоела реклама? Зарегистрируйтесь и она исчезнет полностью.
Similar
Эксперт
41792 / 34177 / 6122
Регистрация: 12.04.2006
Сообщений: 57,940
19.08.2016, 10:52
Ответы с готовыми решениями:

Как с помощью PHP вытянуть данные из Excel?
ПРивет! Может кто сталкивался с такой проблемой: Есть обычный excel'файл. При...

Вытянуть данные из строки
Добрый день. Есть информация, $str = &quot;АКПП/МКПП: MANUAL TRANSMISSION;...

Как вытянуть нужные данные?!
Всем привет помогите! как вытянуть данные из вот этого: а именно из вот этого...

Перенести данные из xls (Excel) в mysql
Здравствуйте. В общем говоря вопрос в названии темы, но достаточно хотя бы...

Нужно отправлять данные с радиокнопок в Excel
Здравствуйте очень прошу срочной помощи, мне надо добавить кнопку сабмит и...

4
Dmitriy2840
0 / 0 / 0
Регистрация: 17.09.2015
Сообщений: 92
19.08.2016, 10:53  [ТС] 2
Ещё вот не влезло
HTML5
1
2
3
4
5
6
7
8
9
<ul class="dropdown-menu" role="menu"><li><a href="config.php?display=ampusers" class=" ">Administrators</a></li><li><a href="config.php?display=cli" class=" ">Asterisk CLI</a></li><li><a href="config.php?display=astmodules" class=" ">Asterisk Modules</a></li><li><a href="config.php?display=phonebook" class=" ">Asterisk Phonebook</a></li><li><a href="config.php?display=backup" class=" ">Backup &amp; Restore</a></li><li><a href="config.php?display=blacklist" class=" ">Blacklist</a></li><li><a href="config.php?display=bria" class=" ">Bria Cloud Solutions</a></li><li><a href="config.php?display=bulkhandler" class=" ">Bulk Handler</a></li><li><a href="config.php?display=superfecta" class=" ">CID Superfecta</a></li><li><a href="config.php?display=cidlookup" class=" ">CallerID Lookup Sources</a></li><li><a href="config.php?display=certman" class=" ">Certificate Management</a></li><li><a href="config.php?display=cos" class=" ">Class of Service</a></li><li><a href="config.php?display=configedit" class=" ">Config Edit</a></li><li><a href="config.php?display=contactmanager" class=" ">Contact Manager</a></li><li><a href="config.php?display=customdests" class=" ">Custom Destinations</a></li><li><a href="config.php?display=customextens" class=" ">Custom Extensions</a></li><li><a href="config.php?display=digiumaddons" class=" ">Digium Addons</a></li><li><a href="config.php?display=featurecodeadmin" class=" ">Feature Codes</a></li><li><a href="http://www.freepbx.org/support-and-professional-services" target="_blank"  class=" ">FreePBX Support</a></li><li><a href="config.php?display=modules" class=" ">Module Admin</a></li><li><a href="config.php?display=irc" class=" ">Online Support</a></li><li><a href="config.php?display=restapps" class=" ">Phone Apps</a></li><li><a href="config.php?display=presencestate" class=" ">Presence State</a></li><li><a href="config.php?display=qrules" class=" ">Queue Penalty Rules</a></li><li><a href="config.php?display=restapi" class=" ">REST API</a></li><li><a href="config.php?display=sng_mcu" class=" ">Sangoma MCU</a></li><li><a href="config.php?display=soundlang" class=" ">Sound Languages</a></li><li><a href="config.php?display=sysadmin" class=" ">System Admin</a></li><li><a href="config.php?display=recordings" class=" ">System Recordings</a></li><li><a href="config.php?display=userman" class=" ">User Management</a></li><li><a href="config.php?display=xmpp" class=" ">XMPP</a></li><li><a href="config.php?display=zulu" class=" ">Zulu</a></li><li><a href="config.php?display=cxpanel" class=" ">iSymphonyV3</a></li></ul><li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">Applications</a>
            <ul class="dropdown-menu" role="menu"><li><a href="config.php?display=announcement" class=" ">Announcements</a></li><li><a href="config.php?display=areminder" class=" ">Appointment Reminder</a></li><li><a href="config.php?display=broadcast" class=" ">Broadcast</a></li><li><a href="config.php?display=bulkdids" class=" ">Bulk DIDs</a></li><li><a href="config.php?display=bulkextensions" class=" ">Bulk Extensions</a></li><li><a href="config.php?display=daynight" class=" ">Call Flow Control</a></li><li><a href="config.php?display=callrecording" class=" ">Call Recording</a></li><li><a href="config.php?display=callback" class=" ">Callback</a></li><li><a href="config.php?display=callerid" class=" ">CallerID Management</a></li><li><a href="config.php?display=conferences" class=" ">Conferences</a></li><li><a href="config.php?display=conferencespro" class=" ">Conferences Pro</a></li><li><a href="config.php?display=disa" class=" ">DISA</a></li><li><a href="config.php?display=directory" class=" ">Directory</a></li><li><a href="config.php?display=extensions" class=" ">Extensions</a></li><li><a href="config.php?display=findmefollow" class=" ">Follow Me</a></li><li><a href="config.php?display=ivr" class=" ">IVR</a></li><li><a href="config.php?display=languages" class=" ">Languages</a></li><li><a href="config.php?display=miscapps" class=" ">Misc Applications</a></li><li><a href="config.php?display=miscdests" class=" ">Misc Destinations</a></li><li><a href="config.php?display=paging" class=" ">Paging and Intercom</a></li><li><a href="config.php?display=pannounce" class=" ">Park and Announce</a></li><li><a href="config.php?display=parking" class=" ">Parking</a></li><li><a href="config.php?display=queuecallback" class=" ">Queue Callback</a></li><li><a href="config.php?display=queueprio" class=" ">Queue Priorities</a></li><li><a href="config.php?display=queues" class=" ">Queues</a></li><li><a href="config.php?display=ringgroups" class=" ">Ring Groups</a></li><li><a href="config.php?display=setcid" class=" ">Set CallerID</a></li><li><a href="config.php?display=tts" class=" ">Text To Speech</a></li><li><a href="config.php?display=timeconditions" class=" ">Time Conditions</a></li><li><a href="config.php?display=timegroups" class=" ">Time Groups</a></li><li><a href="config.php?display=vqueue" class=" ">Virtual Queues</a></li><li><a href="config.php?display=vmblast" class=" ">Voicemail Blasting</a></li><li><a href="config.php?display=vmnotify" class=" ">Voicemail Notifications</a></li><li><a href="config.php?display=hotelwakeup" class=" ">Wake Up Calls</a></li><li><a href="config.php?display=webcallback" class=" ">Web Callback</a></li></ul><li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">Connectivity</a>
            <ul class="dropdown-menu" role="menu"><li><a href="config.php?display=dahdichandids" class=" ">DAHDI Channel DIDs</a></li><li><a href="config.php?display=dahdi" class=" ">DAHDi Config</a></li><li><a href="config.php?display=digium_phones" class=" ">Digium Phones</a></li><li><a href="config.php?display=firewall" class=" ">Firewall</a></li><li><a href="config.php?display=did" class=" ">Inbound Routes</a></li><li><a href="config.php?display=calllimit" class=" ">Outbound Call Limit</a></li><li><a href="config.php?display=routing" class=" ">Outbound Routes</a></li><li><a href="config.php?display=sipstation" class=" ">SIPSTATION</a></li><li><a href="config.php?display=trunks" class=" ">Trunks</a></li></ul><li><a href="config.php?display=index" >Dashboard</a></li><li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">Reports</a>
            <ul class="dropdown-menu" role="menu"><li><a href="config.php?display=asteriskinfo" class=" ">Asterisk Info</a></li><li><a href="config.php?display=logfiles" class=" ">Asterisk Logfiles</a></li><li><a href="config.php?display=cdr" class=" ">CDR Reports</a></li><li><a href="config.php?display=cel" class=" active">Call Event Logging</a></li><li><a href="config.php?display=recording_report" class=" ">Call Recordings</a></li><li><a href="config.php?display=phpinfo" class=" ">PHP Info</a></li><li><a href="config.php?display=pinset_report" class=" ">Pinsets Code Reports</a></li><li><a href="config.php?display=printextensions" class=" ">Print Extensions</a></li><li><a href="config.php?display=queuecallbackreport" class=" ">Queue Callback Report</a></li><li><a href="config.php?display=qxact_admin" class=" ">Queue Report Templates</a></li><li><a href="config.php?display=qxact_reports" class=" ">Queue Reports</a></li><li><a href="config.php?display=restapi_logs" class=" ">REST API Report</a></li><li><a href="config.php?display=voicemail_report" class=" ">Voicemail Reports</a></li><li><a href="config.php?display=weakpasswords" class=" ">Weak Password Detection</a></li><li><a href="config.php?display=cxpanel_menu" target="_blank"  class=" ">iSymphonyV3 Panel</a></li></ul><li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">Settings</a>
            <ul class="dropdown-menu" role="menu"><li><a href="config.php?display=advancedsettings" class=" ">Advanced Settings</a></li><li><a href="config.php?display=iaxsettings" class=" ">Asterisk IAX Settings</a></li><li><a href="config.php?display=logfiles_settings" class=" ">Asterisk Logfile Settings</a></li><li><a href="config.php?display=manager" class=" ">Asterisk Manager Users</a></li><li><a href="config.php?display=arimanager" class=" ">Asterisk REST Interface Users</a></li><li><a href="config.php?display=sipsettings" class=" ">Asterisk SIP Settings</a></li><li><a href="config.php?display=endpoint" class=" ">EndPoint Manager </a></li><li><a href="config.php?display=fax" class=" ">Fax Configuration</a></li><li><a href="config.php?display=freepbx_ha" class=" ">High Availability</a></li><li><a href="config.php?display=music" class=" ">Music on Hold</a></li><li><a href="config.php?display=pinsets" class=" ">PIN Sets</a></li><li><a href="config.php?display=outroutemsg" class=" ">Route Congestion Messages</a></li><li><a href="config.php?display=ttsengines" class=" ">Text To Speech Engines</a></li><li><a href="config.php?display=voicemail" class=" ">Voicemail Admin</a></li></ul><li><a href="/ucp"  target="ucp">UCP</a></li>
0
Dmitriy2840
0 / 0 / 0
Регистрация: 17.09.2015
Сообщений: 92
19.08.2016, 10:53  [ТС] 3
И отсюда берётся данные:
Javascript
1
2
3
NODEJSBINDPORT":8001,"NODEJSHTTPSBINDADDRESS":"::","NODEJSHTTPSBINDPORT":8003,"NODEJSTLSCERTFILE":"","NODEJSTLSPRIVATEKEY":"","UCPCHANGEPASSWORD":1,"UCPCHANGEUSERNAME":1,"UCPRSSFEEDS":"","UCPSESSIONTIMEOUT":"30","AMPUSERMANEMAILFROM":"","VMX_CONTEXT":"from-internal","VMX_LOOPDEST_CONTEXT":"","VMX_LOOPDEST_EXT":"dovm","VMX_LOOPDEST_PRI":1,"VMX_PRI":1,"VMX_TIMEDEST_CONTEXT":"","VMX_TIMEDEST_EXT":"dovm","VMX_TIMEDEST_PRI":1,"USERESMWIBLF":1,"VM_SHOW_IMAP":0,"UCP_MESSAGE_LIMIT":3000,"ZULUENABLED":1,"ZULUBINDADDRESS":"0.0.0.0","ZULUBINDPORT":8002,"USEDEVSTATE":1,"USEQUEUESTATE":1,"ALWAYS_SHOW_DEVICE_DETAILS":1,"datasource":"","AMPENABLEDEVELDEBUG":0,"AMPMPG123":1,"text_dir":"ltr","uniqueid":"e6d973bf4910894261c84876b1f3cb47","dist":{"pbx_type":"freepbxdistro","pbx_version":"10.13.66-12"},"ver":"13.0.167","reload_needed":false,"brandid":"freepbxdistro","modules":{"sysadmin":{"deployment_id":"47195762","zendid":"M:CFMT9-YQ477-LS2DD-TYBZV"}}},"msg":{"framework":{"reload_unidentified_error":" error(s) occurred, you should view the notification log on the dashboard or main screen to check for more details.","close":"Close","continuemsg":"Continue","cancel":"Cancel","retry":"Retry","update":"Update","save":"Save","bademail":"Invalid email address","updatenotifications":"Update Notifications","securityissue":"Security Issue","validation":{"duplicate":" extension number already in use by: ","delete":"Are you sure you want to delete this?"},"noupdates":"Are you sure you want to disable automatic update notifications? This could leave your system at risk to serious security vulnerabilities. Enabling update notifications will NOT automatically install them but will make sure you are informed as soon as they are available.","noupemail":"Are you sure you don't want to provide an email address where update notifications will be sent. This email will never be transmitted off the PBX. It is used to send update and security notifications when they are detected.","invalid_responce":"Error: Did not receive valid response from server","invalid_response":"Error: Did not receive valid response from server","validateSingleDestination":{"required":"Please select a "Destination"","error":"Custom Goto contexts must contain the string "custom-".  ie: custom-app,s,1"},"weakSecret":{"length":"The secret must be at minimum six characters in length.","types":"The secret must contain at least two numbers and two letters."}}}};
var extmap={"111":"Conference: Selector","81111":"Conference: 1111's conference room","87151":"Conference: 7151's conference room","87160":"Conference: 7160's conference room","87207":"Conference: 7207's conference room","87212":"Conference: 7212's conference room","87241":"Conference: 7241's conference room","87252":"Conference: 7252's conference room","87255":"Conference: 7255's conference room","87261":"Conference: 7261's conference room","87262":"Conference: 7262's conference room","87280":"Conference: 7280's conference room","87283":"Conference: 7283's conference room","87301":"Conference: 7301's conference room","87303":"Conference: 7303's conference room","87304":"Conference: 7304's conference room","87305":"Conference: 7305's conference room","87306":"Conference: 7306's conference room","87330":"Conference: 7330's conference room","87335":"Conference: 7335's conference room","87338":"Conference: 7338's conference room","87350":"Conference: 7350's conference room","87351":"Conference: 7351's conference room","87352":"Conference: 7352's conference room","87353":"Conference: 7353's conference room","87354":"Conference: 7354's conference room","87358":"Conference: 7358's conference room","87359":"Conference: 7359's conference room","87360":"Conference: 7360's conference room","87362":"Conference: 7362's conference room","87365":"Conference: 7365's conference room","87367":"Conference: 7367's conference room","87373":"Conference: 7373's conference room","87380":"Conference: 7380's conference room","87385":"Conference: 7385's conference room","87388":"Conference: 7388's conference room","87390":"Conference: 7390's conference room","87391":"Conference: 7391's conference room","87393":"Conference: 7393's conference room","87406":"Conference: 7406's conference room","87874":"Conference: 7874's conference room","87875":"Conference: 7875's conference room","87988":"Conference: 7988's conference room","*30":"Featurecode: blacklist_add (blacklist:Blacklist a number)","*32":"Featurecode: blacklist_last (blacklist:Blacklist the last caller)","*31":"Featurecode: blacklist_remove (blacklist:Remove a number from the blacklist)","*72":"Featurecode: cfon (callforward:Call Forward All Activate)","*73":"Featurecode: cfoff (callforward:Call Forward All Deactivate)","*93":"Featurecode: cfpon (callforward:Call Forward All Prompting Activate)","*74":"Featurecode: cfoff_any (callforward:Call Forward All Prompting Deactivate)","*90":"Featurecode: cfbon (callforward:Call Forward Busy Activate)","*91":"Featurecode: cfboff (callforward:Call Forward Busy Deactivate)","*94":"Featurecode: cfbpon (callforward:Call Forward Busy Prompting Activate)","*92":"Featurecode: cfboff_any (callforward:Call Forward Busy Prompting Deactivate)","*52":"Featurecode: cfuon (callforward:Call Forward No Answer\/Unavailable Activate)","*53":"Featurecode: cfuoff (callforward:Call Forward No Answer\/Unavailable Deactivate)","*95":"Featurecode: cfupon (callforward:Call Forward No Answer\/Unavailable Prompting Activate)","*96":"Featurecode: cf_toggle (callforward:Call Forward Toggle)","*70":"Featurecode: cwon (callwaiting:Call Waiting - Activate)","*71":"Featurecode: cwoff (callwaiting:Call Waiting - Deactivate)","*83":"Featurecode: cancel (campon:Camp-On Cancel)","*82":"Featurecode: request (campon:Camp-On Request)","*84":"Featurecode: toggle (campon:Camp-On Toggle)","*87":"Featurecode: conf_status (conferences:Conference Status)","*8":"Featurecode: pickupexten (core:Asterisk General Call Pickup)","555":"Featurecode: chanspy (core:ChanSpy)","**":"Featurecode: disconnect (core:In-Call Asterisk Disconnect Code)","*2":"Featurecode: atxfer (core:In-Call Asterisk Attended Transfer)","##":"Featurecode: blindxfer (core:In-Call Asterisk Blind Transfer)","*1":"Featurecode: automon (core:In-Call Asterisk Toggle Call Recording)","7777":"Featurecode: simu_pstn (core:Simulate Incoming Call)","*12":"Featurecode: userlogoff (core:User Logoff)","*11":"Featurecode: userlogon (core:User Logon)","888":"Featurecode: zapbarge (core:ZapBarge)","*28":"Featurecode: toggle-mode-all (daynight:All: Call Flow Toggle)","*35":"Featurecode: senddictate (dictate:Email completed dictation)","*34":"Featurecode: dodictate (dictate:Perform dictation)","*78":"Featurecode: dnd_on (donotdisturb:DND Activate)","*79":"Featurecode: dnd_off (donotdisturb:DND Deactivate)","*76":"Featurecode: dnd_toggle (donotdisturb:DND Toggle)","666":"Featurecode: simu_fax (fax:Dial System FAX)","*21":"Featurecode: fmf_toggle (findmefollow:Findme Follow Toggle)","*68":"Featurecode: hotelwakeup (hotelwakeup:Wake Up Calls)","*69":"Featurecode: calltrace (infoservices:Call Trace)","*43":"Featurecode: echotest (infoservices:Echo Test)","*65":"Featurecode: speakextennum (infoservices:Speak Your Exten Number)","*60":"Featurecode: speakingclock (infoservices:Speaking Clock)","*80":"Featurecode: intercom-prefix (paging:Intercom prefix)","*54":"Featurecode: intercom-on (paging:User Intercom Allow)","*55":"Featurecode: intercom-off (paging:User Intercom Disallow)","*88":"Featurecode: parkto (parking:Park to your Assigned Lot)","*85":"Featurecode: parkedcall (parking:Pickup ParkedCall Prefix)","*86":"Featurecode: park (parkpro:Park Prefix)","411":"Featurecode: app-pbdirectory (pbdirectory:Phonebook dial-by-name directory)","*45":"Featurecode: que_toggle (queues:Allow Dynamic Members of a Queue to login or logout. See the Queues Module for how to assign a Dynamic Member to a Queue.)","*47":"Featurecode: que_callers (queues:Playback Queue Caller Count)","*46":"Featurecode: que_pause_toggle (queues:Queue Pause Toggle)","*992":"Featurecode: restapphint (restapps:Phone App Hints)","*75":"Featurecode: setspeeddial (speeddial:Set user speed dial)","*0":"Featurecode: callspeeddial (speeddial:Speeddial prefix)","*27":"Featurecode: toggle-mode-all (timeconditions:All: Time Condition Override)","*98":"Featurecode: dialvoicemail (voicemail:Dial Voicemail)","*":"Featurecode: directdialvoicemail (voicemail:Direct Dial Prefix)","*97":"Featurecode: myvoicemail (voicemail:My Voicemail)","70":"ParkPlus: ParkCall Default Lot","71":"ParkPlus: PickupSlot Default Lot","72":"ParkPlus: PickupSlot Default Lot","73":"ParkPlus: PickupSlot Default Lot","74":"ParkPlus: PickupSlot Default Lot","75":"ParkPlus: PickupSlot Default Lot","76":"ParkPlus: PickupSlot Default Lot","77":"ParkPlus: PickupSlot Default Lot","78":"ParkPlus: PickupSlot Default Lot","11111":"Ring Group: Selector","1111":"User Extension: Selektor","7151":"User Extension: I.Golovatyuk","7160":"User Extension: S.Onyshchuk","7207":"User Extension: V.Tsivkovskiy","7212":"User Extension: Y.Belenets","7241":"User Extension: T.Zhigunova","7252":"User Extension: V.Penkov","7255":"User Extension: G.Berdnikov","7261":"User Extension: A.Bezdolnyy","7262":"User Extension: A.Yankovets","7280":"User Extension: A.Kolodiy","7283":"User Extension: S.Gribanov","7301":"User Extension: NSS-SlavTES-sel","7303":"User Extension: R.Ralitnyy","7304":"User Extension: V.Antonyuk","7305":"User Extension: P.Ovsyannikov","7306":"User Extension: A.Reznikov","7330":"User Extension: S.Pavlenko","7335":"User Extension: O.Zhidkikh","7338":"User Extension: BSHU-SlavTES","7350":"User Extension: V.Cherepiy","7351":"User Extension: I.Bass","7352":"User Extension: NSS-SlavTES","7353":"User Extension: O.Revenko","7354":"User Extension: O.Sergienko","7358":"User Extension: V.Kitchak","7359":"User Extension: Sekretar","7360":"User Extension: A.Bondarenko","7362":"User Extension: R.Pryadchenko","7365":"User Extension: V.Goncharov","7367":"User Extension: N.Yakub","7373":"User Extension: A.Korbut","7380":"User Extension: A.Aleksandrov","7385":"User Extension: Y.Galata","7388":"User Extension: V.Karpenko","7390":"User Extension: V.Lepekhin","7391":"User Extension: R.Bondarenko","7393":"User Extension: D.Grunskiy","7406":"User Extension: Y.Buturlimov","7874":"User Extension: SlTESOIT","7875":"User Extension: OIT2","7926":"User Extension: S.Vasilenko","7988":"User Extension: S.Kalin"};$(document).click();</script><script type="text/javascript" src="assets/js/modernizr.js?load_version=13.0.167"></script><script src="assets/js/bootstrap-3.3.4.custom.min.js?load_version=13.0.167"></script><script src="assets/js/tableExport.min.js?load_version=13.0.167"></script><script src="assets/js/jquery.tablednd.min.js?load_version=13.0.167"></script><script src="assets/js/bootstrap-table-1.9.0.js?load_version=13.0.167"></script><script src="assets/js/bootstrap-table-locale/bootstrap-table-en-US.js?load_version=13.0.167"></script><script src="assets/js/bootstrap-table-cookie.js?load_version=13.0.167"></script><script src="assets/js/bootstrap-table-mobile.js?load_version=13.0.167"></script><script src="assets/js/bootstrap-table-export.js?load_version=13.0.167"></script><script src="assets/js/bootstrap-table-toolbar.js?load_version=13.0.167"></script><script src="assets/js/bootstrap-table-reorder-rows.js?load_version=13.0.167"></script><script src="assets/js/bootstrap-multiselect.js?load_version=13.0.167"></script><script src="assets/js/chosen.jquery.min.js?load_version=13.0.167"></script><script type="text/javascript" src="assets/js/jquery.smartWizard.js?load_version=13.0.167"></script><script type="text/javascript" src="assets/js/jquery-ui-1.11.4.custom.min.js?load_version=13.0.167"></script><script type="text/javascript" src="assets/js/jquery.iframe-transport.js?load_version=13.0.167"></script><script type="text/javascript" src="assets/js/jquery.fileupload.js?load_version=13.0.167"></script><script type="text/javascript" src="assets/js/jquery.fileupload-process.js?load_version=13.0.167"></script><script type="text/javascript" src="assets/js/jquery.jplayer.min.js?load_version=13.0.167"></script><script type="text/javascript" src="assets/js/Sortable.min.js?load_version=13.0.167"></script><script type="text/javascript" src="assets/js/toastr-2.1.2.js?load_version=13.0.167"></script><script type="text/javascript" src="assets/js/jquery.form.min.js?load_version=13.0.167"></script><script type="text/javascript" src="assets/js/recorder.js?load_version=13.0.167"></script><script type="text/javascript" src="assets/js/pbxlib.js?load_version=13.0.167.1470893415"></script><script type="text/javascript" src="assets/js/typeahead.bundle.min.js?load_version=13.0.167"></script><script type="text/javascript" src="assets/js/search.js?load_version=13.0.167"></script><script type="text/javascript" src="assets/cel/js/cel.js?load_version=13.0.167"></script><script type="text/javascript" src="assets/cel/js/date-polyfill.min.js?load_version=13.0.167"></script><script type="text/javascript" src="assets/cel/js/jquery.jplayer.min.js?load_version=13.0.167"></script><script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');ga('create', 'UA-25724109-1', 'auto');  // Replace with your property ID.ga('set', 'type', fpbx.conf.dist.pbx_type);ga('set', 'typever', fpbx.conf.dist.pbx_version);ga('set', 'astver', fpbx.conf.ASTVERSION);ga('set', 'fpbxver', fpbx.conf.ver);ga('set', 'display', $.urlParam('display'));ga('set', 'uniqueid', fpbx.conf.uniqueid);ga('send', 'pageview');</script><script type='text/javascript' src='modules/sysadmin/assets/js/activation.js'></script>
<script src='//cdn.schmoozecom.com/freepbx/sysadmin-mod
0
insideone
Модератор
Автор FAQ
3659 / 939 / 112
Регистрация: 10.01.2010
Сообщений: 2,524
19.08.2016, 21:04 4
Ищите документацию сервиса, возможно у него есть API
Если нет, то все сложно. Как вариант написать userscript для браузера который будет собирать эти данные.
Дальше он может сделать запрос к вашему сайту который эти данные примет, запишет в базу
А отдельный скрипт сможет эти данные отображать, хоть в реальном времени (сокеты), хоть чуть в менее реальном (ajax)
0
Max - 2
25 / 25 / 0
Регистрация: 07.02.2011
Сообщений: 206
26.10.2016, 11:08 5
Позволю себе задать вопрос про лог-файл отчёта CDR в этой теме. Вот открываю этот отчёт, там куча записей, нужно некоторые удалить. В веб интерфейсе я так понял нельзя. Где находится этот файл по умолчанию?
0
26.10.2016, 11:08
MoreAnswers
Эксперт
37091 / 29110 / 5898
Регистрация: 17.06.2006
Сообщений: 43,301
26.10.2016, 11:08

Как перенести данные формы в excel?
Нужно сделать так, что б данные формы падали в заготовленные места в шаблонной...

из Excel файла заполнить данные в полях сайта
Здравствуйте! Подскажите пожалуйста. Пути решения задача. Есть файл Excel с...

Вывод лога в файл
Здравствуйте! Вот есть скрипт логирования\разлогирования без sql Может...


Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:
5
Ответ Создать тему
Опции темы

КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Рейтинг@Mail.ru