The image you provided didn't open so I'm not sure about the design. If you can send some SIP flow diagram and Asterisk CLI logs maybe it'll help understand the problem.<br><br><div class="gmail_quote">On Fri, Sep 16, 2011 at 1:28 AM, Gilles <span dir="ltr"><<a href="mailto:codecomplete@free.fr">codecomplete@free.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello<br>
<br>
My ISP provides an FXS port to plug a handset, which can be used to<br>
make free calls to (GSM) cellphones, similar to the Billion ADSL<br>
modems:<br>
<br>
<a href="http://au.billion.com/product/voip.php" target="_blank">http://au.billion.com/product/voip.php</a><br>
<br>
My plan is to install an SIP client on a smartphone, so that when I'm<br>
travelling, I can connect to a good wifi hotspot, register with an<br>
Asterisk server at home which has an FXO card, tell Asterisk the<br>
number I wish to dial, and have it dial out through the FXO card and<br>
the FXS port on the ADSL modem.<br>
<br>
Here's the diagram:<br>
<br>
<a href="http://img844.imageshack.us/img844/3308/asterisksippstncallback.png" target="_blank">http://img844.imageshack.us/img844/3308/asterisksippstncallback.png</a><br>
<br>
Problem is, Dahdi/Zaptel doesn't provide call progression, so that 1)<br>
when Asterisk passes the call to Dahdi/Zaptel, Asterisk considers the<br>
call "answered" although there's no actual phone connection yet, and<br>
2) Dahdi/Zaptel doesn't trigger an event so we know if the call was<br>
answered (and if yes, by a live human being rather than an answering<br>
machine) or if the line is still ringing.<br>
<br>
A so-so solution is to simply tell Asterisk to loop through a voice<br>
message ("This is a call from Joe Allen. Please hit any key and you<br>
will be connected"), so we know that a human being has answered the<br>
call, but I was wondering if there were a better solution.<br>
<br>
Is it possible for Asterisk to somehow play on channel #1 what's<br>
happening on channel #2 while Dahdi/Zaptel is actually still dialing,<br>
so that I handle call progression manually from my cellphone and the<br>
callee doesn't end up hearing that odd recorded message?<br>
<br>
Thank you.<br>
<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br>