https://secure.limesco.nl/w/index.php?title=Asterisk/Quickstart&feed=atom&action=history
Asterisk/Quickstart - Bewerkingsoverzicht
2024-03-29T07:27:20Z
Bewerkingsoverzicht voor deze pagina op de wiki
MediaWiki 1.29.2
https://secure.limesco.nl/w/index.php?title=Asterisk/Quickstart&diff=1457&oldid=prev
Xopr: categorie vergeten toe te voegen
2015-10-16T10:03:54Z
<p>categorie vergeten toe te voegen</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='nl'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Oudere versie</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Versie van 16 okt 2015 om 10:03</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l106" >Regel 106:</td>
<td colspan="2" class="diff-lineno">Regel 106:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Meer weten? ==</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Meer weten? ==</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Op [[Asterisk/Instellen]] staat dezelfde informatie met veel meer uitleg. Kom je er niet uit of heb je vragen, stel ze via onze [http://limesco.nl/contact/index.html contactmogelijkheden] zoals IRC of support@limesco.nl.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Op [[Asterisk/Instellen]] staat dezelfde informatie met veel meer uitleg. Kom je er niet uit of heb je vragen, stel ze via onze [http://limesco.nl/contact/index.html contactmogelijkheden] zoals IRC of support@limesco.nl.</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[Category:Asterisk]]</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[Category:Howto]]</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>[[Category:DIY]]</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>[[Category:DIY]]</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">[[Category:Asterisk]]</del></div></td><td colspan="2"> </td></tr>
</table>
Xopr
https://secure.limesco.nl/w/index.php?title=Asterisk/Quickstart&diff=1456&oldid=prev
Xopr: categorieën toegevoegd
2015-10-16T10:01:03Z
<p>categorieën toegevoegd</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='nl'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Oudere versie</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Versie van 16 okt 2015 om 10:01</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l106" >Regel 106:</td>
<td colspan="2" class="diff-lineno">Regel 106:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Meer weten? ==</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Meer weten? ==</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Op [[Asterisk/Instellen]] staat dezelfde informatie met veel meer uitleg. Kom je er niet uit of heb je vragen, stel ze via onze [http://limesco.nl/contact/index.html contactmogelijkheden] zoals IRC of support@limesco.nl.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Op [[Asterisk/Instellen]] staat dezelfde informatie met veel meer uitleg. Kom je er niet uit of heb je vragen, stel ze via onze [http://limesco.nl/contact/index.html contactmogelijkheden] zoals IRC of support@limesco.nl.</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[Category:DIY]]</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[Category:Asterisk]]</ins></div></td></tr>
</table>
Xopr
https://secure.limesco.nl/w/index.php?title=Asterisk/Quickstart&diff=1424&oldid=prev
Mrngm: /* Alles ingesteld? */ typo
2015-07-29T14:57:28Z
<p><span dir="auto"><span class="autocomment">Alles ingesteld?: </span> typo</span></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='nl'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Oudere versie</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Versie van 29 jul 2015 om 14:57</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l100" >Regel 100:</td>
<td colspan="2" class="diff-lineno">Regel 100:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Alles ingesteld? ==</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Alles ingesteld? ==</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Als je van ons hebt gehoord dat de aansluiting is geregeld, herstart dan Asterisk, of voer in de Asterisk console <del class="diffchange diffchange-inline">(<tt># asterisk -R</tt>) </del>de volgende commando's uit:</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Als je van ons hebt gehoord dat de aansluiting is geregeld, herstart dan Asterisk, of voer in de Asterisk<ins class="diffchange diffchange-inline">-</ins>console de volgende commando's uit:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* <tt>sip reload</tt></div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* <tt>sip reload</tt></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* <tt>sip dialplan reload</tt></div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* <tt>sip dialplan reload</tt></div></td></tr>
</table>
Mrngm
https://secure.limesco.nl/w/index.php?title=Asterisk/Quickstart&diff=1423&oldid=prev
Mrngm: Asterisk quickstart
2015-07-29T14:55:58Z
<p>Asterisk quickstart</p>
<p><b>Nieuwe pagina</b></p><div>= Quickstart, Limesco Do-It-Yourself =<br />
De configuratiebestanden staan vaak in <tt>/etc/asterisk/</tt>. Als iets <tt>configuratie.conf</tt> wordt genoemd mag je lezen: <tt>/etc/asterisk/configuratie.conf</tt><br />
<br />
De Asterisk-console kan je uitvoeren via <tt>sudo asterisk -R</tt> of, als root, <tt>asterisk -R</tt><br />
<br />
Als je aanpassingen hebt gedaan aan algemene configuratiebestanden kan je, naar gelang je voorkeur, Asterisk herstarten of in de Asterisk-console <tt>reload</tt> uitvoeren. Specifieke configuratiebestanden zoals <tt>sip.conf</tt> en <tt>extensions.conf</tt> kan je herladen met <tt>sip reload</tt> respectievelijk <tt>sip dialplan reload</tt>.<br />
<br />
== Logging ==<br />
Uitgebreide logging aanzetten kan in <tt>logger.conf</tt>:<br />
<br />
<code><br />
console => debug,notice,warning,error,verbose,dtmf,fax<br />
</code><br />
<br />
== Firewall ==<br />
Sta de volgende reeksen toe in je firewall zodat onze leverancier verbinding kan maken met je PBX:<br />
* 193.169.138.0/23<br />
* 91.232.130.0/24<br />
<br />
== SIM laten registreren op Asterisk ==<br />
Onze leverancier SpeakUp registreert als softphone op je PBX. Hiervoor zet je het volgende in <tt>sip.conf</tt><br />
<br />
<pre><br />
[%NUMMER%]<br />
type=friend ; toegang op basis van authenticatie ipv. IP-adres, voor terugbellen wordt SIP-registratie gebruikt<br />
callerid="Mijn mobiele telefoon" <%NUMMER%> ; caller-ID als je uitbelt, voor in het From-veld<br />
host=dynamic ; softphone verbindt naar ons toe<br />
username=%GEBRUIKER%<br />
secret=%WACHTWOORD%<br />
context=from-sim ; context in het dialplan waarin het gesprek binnenkomt<br />
mailbox=%NUMMER%@default<br />
insecure=invite,port<br />
canreinvite=yes<br />
</pre><br />
<br />
Verander hierbij het volgende:<br />
* '''%NUMMER%''' in het 06-nummer wat je van ons hebt gekregen<br />
** Tip: een vaak gebruikte notatie is: 316xxxxxxxx<br />
* '''%GEBRUIKER%''' in de gebruikersnaam die je ons hebt gegeven<br />
* '''%WACHTWOORD%''' in het wachtwoord die je ons hebt gegeven<br />
<br />
== Verbinding met het telefoonnetwerk ==<br />
Met het volgende template zorg je ervoor dat je naar het reguliere telefoonnetwerk kan bellen.<br />
<br />
In <tt>sip.conf</tt>, bovenaan onder '''[general]''':<br />
<br />
<pre><br />
[general]<br />
; ...<br />
realm => %REALM%<br />
register => %TRUNKUSER%:%TRUNKPASS%@sip.speakup.nl<br />
; ...<br />
</pre><br />
<br />
Ook in <tt>sip.conf</tt>:<br />
<br />
<pre><br />
[to-speakup](!) ; een template voor een verbinding naar speakup toe<br />
type=friend<br />
insecure=invite<br />
pedantic=no<br />
canreinvite=no<br />
nat=no<br />
port=5060<br />
context=from-speakup<br />
qualify=4000<br />
username=%TRUNKUSER%<br />
secret=%TRUNKPASS%<br />
disallow=all<br />
allow=alaw<br />
allow=ulaw<br />
allow=gsm<br />
allow=g726<br />
<br />
[speakup01](to-speakup) ; instantie van de template, voor server #1<br />
host=proxy1.sip.speakup.nl<br />
<br />
[speakup02](to-speakup) ; instantie van de template, voor server #2<br />
host=proxy2.sip.speakup.nl<br />
</pre><br />
<br />
Verander hierbij:<br />
* '''%REALM%''' in de domein/realm die je hebt aangeleverd<br />
* '''%TRUNKUSER%''' in de gebruikersnaam voor de ''trunk'' die je van ons hebt gekregen<br />
* '''%TRUNKPASS%''' in het wachtwoord voor de ''trunk'' die je van ons hebt gekregen<br />
<br />
== Basis dial-plan ==<br />
In <tt>extensions.conf</tt> voeg je regels to voor '''from-sim''' en '''from-speakup''':<br />
<br />
<pre><br />
[from-sim]<br />
exten => _X.,1,Verbose(Call from Limesco SIM [${CALLERID(num)}] to [${EXTEN}])<br />
same => n,Dial(SIP/speakup01/${EXTEN})<br />
<br />
[from-speakup]<br />
; Vervang ... door de rest van je DIY-nummer:<br />
exten => 316...,1,Verbose(Call from SpeakUp [${CALLERID(num)}] to [${EXTEN}])<br />
same => n,Dial(SIP/316.../${EXTEN})<br />
</pre><br />
<br />
== Alles ingesteld? ==<br />
Als je van ons hebt gehoord dat de aansluiting is geregeld, herstart dan Asterisk, of voer in de Asterisk console (<tt># asterisk -R</tt>) de volgende commando's uit:<br />
* <tt>sip reload</tt><br />
* <tt>sip dialplan reload</tt><br />
<br />
== Meer weten? ==<br />
Op [[Asterisk/Instellen]] staat dezelfde informatie met veel meer uitleg. Kom je er niet uit of heb je vragen, stel ze via onze [http://limesco.nl/contact/index.html contactmogelijkheden] zoals IRC of support@limesco.nl.</div>
Mrngm