Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property LoadBalancer::$mWriteIndex is deprecated in /home3/draginoo/public_html/wiki/includes/db/LoadBalancer.php on line 83
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Return type of ResultWrapper::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home3/draginoo/public_html/wiki/includes/db/DatabaseUtility.php on line 174
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Return type of ResultWrapper::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home3/draginoo/public_html/wiki/includes/db/DatabaseUtility.php on line 192
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Return type of ResultWrapper::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home3/draginoo/public_html/wiki/includes/db/DatabaseUtility.php on line 185
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Return type of ResultWrapper::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home3/draginoo/public_html/wiki/includes/db/DatabaseUtility.php on line 202
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Return type of ResultWrapper::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home3/draginoo/public_html/wiki/includes/db/DatabaseUtility.php on line 163
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property Revision::$mUnpatrolled is deprecated in /home3/draginoo/public_html/wiki/includes/Revision.php on line 707
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property Revision::$mUnpatrolled is deprecated in /home3/draginoo/public_html/wiki/includes/Revision.php on line 707
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property WikitextContentHandler::$mModelName is deprecated in /home3/draginoo/public_html/wiki/includes/content/ContentHandler.php on line 416
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property Revision::$mUnpatrolled is deprecated in /home3/draginoo/public_html/wiki/includes/Revision.php on line 707
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Warning: Trying to access array offset on value of type bool in /home3/draginoo/public_html/wiki/includes/libs/IPSet.php on line 243
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Warning: Trying to access array offset on value of type bool in /home3/draginoo/public_html/wiki/includes/libs/IPSet.php on line 246
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Warning: Trying to access array offset on value of type bool in /home3/draginoo/public_html/wiki/includes/libs/IPSet.php on line 243
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Warning: Trying to access array offset on value of type bool in /home3/draginoo/public_html/wiki/includes/libs/IPSet.php on line 246
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property WikitextContent::$mText is deprecated in /home3/draginoo/public_html/wiki/includes/content/TextContent.php on line 56
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property Revision::$mUnpatrolled is deprecated in /home3/draginoo/public_html/wiki/includes/Revision.php on line 707
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property Revision::$mUnpatrolled is deprecated in /home3/draginoo/public_html/wiki/includes/Revision.php on line 707
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property RequestContext::$recursion is deprecated in /home3/draginoo/public_html/wiki/includes/context/RequestContext.php on line 332
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property MessageCache::$mMemc is deprecated in /home3/draginoo/public_html/wiki/includes/cache/MessageCache.php on line 136
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property LoadBalancer::$mWriteIndex is deprecated in /home3/draginoo/public_html/wiki/includes/db/LoadBalancer.php on line 83
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property Parser::$mPreprocessorClass is deprecated in /home3/draginoo/public_html/wiki/includes/parser/Parser.php on line 255
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property PPDStack::$accum is deprecated in /home3/draginoo/public_html/wiki/includes/parser/Preprocessor_DOM.php on line 778
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property Revision::$mUnpatrolled is deprecated in /home3/draginoo/public_html/wiki/includes/Revision.php on line 707
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /home3/draginoo/public_html/wiki/languages/Language.php on line 2104
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /home3/draginoo/public_html/wiki/languages/Language.php on line 2104
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /home3/draginoo/public_html/wiki/languages/Language.php on line 2104
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /home3/draginoo/public_html/wiki/languages/Language.php on line 2104
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /home3/draginoo/public_html/wiki/languages/Language.php on line 2104
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /home3/draginoo/public_html/wiki/languages/Language.php on line 2104
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property WikitextContent::$mText is deprecated in /home3/draginoo/public_html/wiki/includes/content/TextContent.php on line 56
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property WikitextContent::$mText is deprecated in /home3/draginoo/public_html/wiki/includes/content/TextContent.php on line 56
|
|
| <br> | | <br> |
| <br> | | <br> |
− | ==Test 1: Install Asterisk in Dragino make internal calls==
| + | =Test 1: Install Asterisk in Dragino make internal calls= |
| <br> | | <br> |
− | ===Purpose===
| + | ==Purpose== |
| Asterisk is a powerful, open source software to build telephony system. Softphone can be runed in either PC or smart phone. The purpose for this test is getting start with Asterisk and soft phone. Below is the set up of this test. | | Asterisk is a powerful, open source software to build telephony system. Softphone can be runed in either PC or smart phone. The purpose for this test is getting start with Asterisk and soft phone. Below is the set up of this test. |
| Image... | | Image... |
| | | |
| <br> | | <br> |
− | ===Install and run Asterisk in Dragino===
| + | ==Install and run Asterisk in Dragino== |
| make sure your Dragino have network connection, Run: | | make sure your Dragino have network connection, Run: |
| root@dragino-bc8622:~# opkg update // Update the valid package list | | root@dragino-bc8622:~# opkg update // Update the valid package list |
|
|
| dragino-bc8622*CLI> | | dragino-bc8622*CLI> |
| <br> | | <br> |
− | ===Register IP phone extensions===
| + | ==Register IP phone extensions== |
| Set up phone extensions, modify the file /etc/asterisk/sip.conf and add below at the end of this file. | | Set up phone extensions, modify the file /etc/asterisk/sip.conf and add below at the end of this file. |
| [dragino-test1] | | [dragino-test1] |
|
|
| | | |
| <br> | | <br> |
− | ===Assign Number to extension and make calls===
| + | ==Assign Number to extension and make calls== |
| Now we have two extensions in this small phone system now, we can do it by modifing the /etc/asterisk/extensions.conf file. open this file and find the context '''''[demo]''''', add: | | Now we have two extensions in this small phone system now, we can do it by modifing the /etc/asterisk/extensions.conf file. open this file and find the context '''''[demo]''''', add: |
| exten => 501,1,Dial(SIP/dragino-test1,20,tr) ; number 501 is call to Account 1. | | exten => 501,1,Dial(SIP/dragino-test1,20,tr) ; number 501 is call to Account 1. |
|
|
| | | |
| <br> | | <br> |
Fatal error: Uncaught TypeError: MWExceptionHandler::handleException(): Argument #1 ($e) must be of type Exception, Error given in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php:153
Stack trace:
#0 [internal function]: MWExceptionHandler::handleException(Object(Error))
#1 {main}
thrown in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 153
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344
Deprecated: Creation of dynamic property ErrorException::$_mwLogId is deprecated in /home3/draginoo/public_html/wiki/includes/exception/MWExceptionHandler.php on line 344