<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
First of all I have an Asterisk setup of Asterisk 1.6.0.9 + DAHDI 2.0 +
E1 card with ISDN-15 line (KPN Netherlands).<br>
<br>
I have two questions/situations:<br>
A. I would like to be able to interrupt the dial command when I try to
call to a mobile phone and this phone is never answered by a person but
after a certain time switches to the voicemail of the mobile phone.<br>
<br>
B. I have a setup where someone calls one extension in my
asterisk which in turn will call about 6 mobile phones at the same time
and the first person that picks up his mobile phone will get the
caller. The 6 mobile phones need to get called until a real person
answers one of the phones. We run into the problem when one of the
called mobile phones switches to voicemail before any one of the 6
persons answers his phone. Is there a way that the call to the group
ignores the mobile phones which switch to voicemail but keeps calling
the others.<br>
<br>
When I turn on logging for dahdi or sip I can see that when the
connection is switched to the voicemail a " progress" message is
created (twice). This only happens when a switch to voicemail is made.
Following is an extraction of the dahdi log when voicemail kicks in,
see bold lines:<br>
<p class="MsoNormal"><tt><span
 style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;"
 lang="EN-US">&gt;
Message type: SETUP (5)<br>
&lt;
Message type: STATUS (125)<br>
&lt;
Message type: CALL PROCEEDING (2)<br>
&lt;
Message type: ALERTING (1)<br>
<b>&lt;
Message type: PROGRESS (3)<br>
&lt;
Message type: PROGRESS (3)</b><br>
&lt;
Message type: CONNECT (7)<br>
&gt;
Message type: CONNECT ACKNOWLEDGE (15)<br>
&gt;
Message type: DISCONNECT (69)<br>
&lt;
Message type: RELEASE (77)</span><span
 style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;"><br>
&gt;
Message type: RELEASE COMPLETE (90)</span></tt><br>
</p>
<p class="MsoNormal">Next is an extraction of the dahdi log when the
mobile phone is answered by a person:<br>
</p>
<p><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;"
 lang="EN-US">&gt;
Message type: SETUP (5)<br>
&lt;
Message type: STATUS (125)<br>
&lt;
Message type: CALL PROCEEDING (2)<br>
&lt;
Message type: ALERTING (1)<br>
&lt;
Message type: CONNECT (7)<br>
&gt;
Message type: CONNECT ACKNOWLEDGE (15)<br>
&lt;
Message type: DISCONNECT (69)<br>
&gt;
Message type: RELEASE (77)</span><br>
&lt;
Message type: RELEASE COMPLETE (90)<span
 style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;"
 lang="EN-US"></span></p>
<p class="MsoNormal">Is there an option for the dial command to stop
the call when the
switch is detected and tell the caller that voicemail is active and if
he would like to leave a message or not? Can I create/detect this with
an AGI script and act on it? (what to look for). <br>
</p>
<p class="MsoNormal">Any help is appreciated.<br>
</p>
<p class="MsoNormal">Regards,<br>
</p>
<p class="MsoNormal">Michel.<br>
</p>
</body>
</html>