<div dir="ltr"><div dir="ltr"><div class="gmail-m_-454014356774517603gmail-cooked"><p>Hi. i am running asterisk 11 and i would like to
have features access codes in my system such as call waiting(all types)
(enable/disable), call forward (enable/disable) and DND. my dialplan is
pretty simple and it is the following</p>
<pre><code class="gmail-m_-454014356774517603gmail-hljs gmail-m_-454014356774517603gmail-ini"><span class="gmail-m_-454014356774517603gmail-hljs-section">[DefaultPlan]</span>
<span class="gmail-m_-454014356774517603gmail-hljs-attr">exten</span> => _XXXXXXXXXX,<span class="gmail-m_-454014356774517603gmail-hljs-number">1</span>,Dial(SIP/<wbr>VoipGate/<span class="gmail-m_-454014356774517603gmail-hljs-variable">${EXTEN}</span>,<span class="gmail-m_-454014356774517603gmail-hljs-number">120</span>,Tt)
<span class="gmail-m_-454014356774517603gmail-hljs-attr">exten</span> => _XXXXXXXXXX,<span class="gmail-m_-454014356774517603gmail-hljs-number">1</span>,Busy()
<span class="gmail-m_-454014356774517603gmail-hljs-attr">exten</span> => _4XX,<span class="gmail-m_-454014356774517603gmail-hljs-number">2</span>,Answer()
<span class="gmail-m_-454014356774517603gmail-hljs-attr">exten</span> => _4XX,<span class="gmail-m_-454014356774517603gmail-hljs-number">3</span>,VoiceMail(<span class="gmail-m_-454014356774517603gmail-hljs-variable">${EXTEN}</span>@<span class="gmail-m_-454014356774517603gmail-hljs-literal">Off</span>i<wbr>ce,su)
<span class="gmail-m_-454014356774517603gmail-hljs-attr">exten</span> => _4XX,<span class="gmail-m_-454014356774517603gmail-hljs-number">4</span>,HangUp()
<span class="gmail-m_-454014356774517603gmail-hljs-attr">exten</span> => _4XX,<span class="gmail-m_-454014356774517603gmail-hljs-number">102</span>,Answer()
<span class="gmail-m_-454014356774517603gmail-hljs-attr">exten</span> => _4XX,<span class="gmail-m_-454014356774517603gmail-hljs-number">103</span>,VoiceMail(<span class="gmail-m_-454014356774517603gmail-hljs-variable">${EXTEN}</span>@<span class="gmail-m_-454014356774517603gmail-hljs-literal">Of<wbr>f</span>ice,sb)
<span class="gmail-m_-454014356774517603gmail-hljs-attr">exten</span> => _4XX,<span class="gmail-m_-454014356774517603gmail-hljs-number">104</span>,HangUp()
</code></pre>
<p>i would like to enable/disable call waiting by typing eg. *70/*71<br>
DND for the extension *72 enable, *73 to disable.</p>
<p>Regarding call waiting, at the moment it is disabled (default value).
Now if an extension is busy, a busy message is send back to the caller.
I would like have the following behavior:<br>
-in the event were the extension is busy, then send a message indication
to the extension and the caller to hear from the SIP provider the
default early media for call waiting due to busy. Then after some period
of time eg 30 secs send busy.<br>
-in the event where the extension is busy, send the early media to the
caller and waiting indication to the extension. If the extension decides
to get the call then get the 2nd call and send the 1st to hear moh.</p>
<p>My phones are mainly softphones (zoiper), a few IP phones and 2 SPA3000 for analog devices.</p>
<p>could someone help me please with this task, please?</p></div></div></div>