<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>So have you had to retrieve the dial status from bridging a call in freeswitch? For the life of me I cannot properly get the answered_time&nbsp; when looking up the channel variables after the bridge call finishes an answered call.<br></span></div><div><br></div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><font face="Arial" size="2"><hr size="1"><b><span style="font-weight:bold;">From:</span></b> Moe Navid &lt;manavid@gmail.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> FreeSWITCH Users Help &lt;freeswitch-users@lists.freeswitch.org&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Wednesday, August 10, 2011 1:44 AM<br><b><span style="font-weight:
 bold;">Subject:</span></b> Re: [Freeswitch-users] Asterisk to FreeSWITCH migration guide<br></font><br><div id="yiv1888357336">There is no way by any means to compare Asterisk's AGI with the different facilities FreeSWITCH offers you in terms of controlling your call flow.<div><br></div><div>For almost 3 years I managed a cluster of Asterisk + AGI + AMI with tones of channel locks and core dumps… Asterisk's dial status might seem compelling when you want to do simple things like calling cards etc… but when it comes to complex accounting and routing sky is limitless with the power of FreeSWITCH.</div><div><br></div><div>I found FreeSWITCH's learning curve to be like vim, initially it may seem a bit difficult but in long run it pays of very well. &nbsp;</div><div><br></div><div>If you know the difference between Dial command in Asterisk and Bridge in FreeSWITCH you would never go back to Asterisk. I give you just 3 simple examples:</div><div>1) Bridge
 command (via the channel variables) gives you the ability to control PDD on calls. Asterisk does not have such facility nonetheless it does not even bother to give you any useful information about your "Dial Status"! To control the PDD I had to tweak my kamailio.</div><div><br></div><div>2) If you want to implement a simple rate engine + fail over routing with asterisk + agi for failover you have to have a loop and watch for CONGESTIONs to select your next route/carrier where as in FreeSWITCH you can just simply define your fail overs in your bridge args.</div><div><br></div><div>3) If you are in a cluster, have multiple gateways acting as proxy and you want to define outbound proxy for your carriers/endpoints you either have to define bunch of sip peers with outbound proxies or do it in dirty way which I did, I used to add a header in my outgoing calls X-Carrier-IP and had my kamailio to take care of the rest. In FreeSWITCH you just simply add ;fspath=
 to your bridge args.</div><div><br></div><div>List can go on and on and on…</div><div><br></div><div>Asterisk's dial status was the most annoying part of asterisk in my opinion&nbsp;:)</div><div><div><br><div><div>On Aug 9, 2011, at 5:54 PM, Sam wrote:</div><br class="yiv1888357336Apple-interchange-newline"><blockquote type="cite"><div><div style="color:rgb(0, 0, 0);background-color:rgb(255, 255, 255);font-family:times, serif;font-size:12pt;"><div><span>I find that Asterisk's AGI is much easier to use, they allow you to retrieve the dial status much easier than freeswitch's api's. Come on freeswitch, if you want to be better than asterisk, you should make it easier to get the dialstatus, etc. At this point asterisk is still defacto.<br></span></div><div><br></div><div style="font-family:times new roman, new york, times, serif;font-size:12pt;"><div style="font-family:times new roman, new york, times, serif;font-size:12pt;"><font face="Arial"
 size="2"><hr size="1"><b><span style="font-weight:bold;">From:</span></b> Nestor A Diaz &lt;<a rel="nofollow" ymailto="mailto:nestor@tiendalinux.com" target="_blank" href="mailto:nestor@tiendalinux.com">nestor@tiendalinux.com</a>&gt;<br><b><span style="font-weight:bold;">To:</span></b> <a rel="nofollow" ymailto="mailto:freeswitch-users@lists.freeswitch.org" target="_blank" href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br><b><span style="font-weight:bold;">Sent:</span></b> Tuesday, August 9, 2011 9:48 AM<br><b><span style="font-weight:bold;">Subject:</span></b> [Freeswitch-users] Asterisk to FreeSWITCH migration guide<br></font><br><div id="yiv1888357336">



  

 
<tt><big><big>Hi Guys.</big><br>
<br>
<big>I am starting to use FreeSWITCH, i am an asterisk user since the
1.0.7
release appears as a package on the debian distribution, at the
beginning i was amazed by the fact i can build a PBX for my own
business
and i did, later i began to install this system for my customers and
sooner i meet the problems, however being the software open source i
always find a way to fix things using patchs from others, sometimes i
felt how my life was at risk when the system stops working and that
usually happens when i have to use queues and dealing with digium
hardware.</big><br>
<br>
<big>Fixing those problems either by applying patches or by changing
the
hardware where the digium cards were supposed to be installed helps me,
but that was to much stress for me and seeking for a balance that will
let me invest more time on services, configuration and hoping to have
better hardware
options brings me to freeswitch.</big><br>
<br>
<big>I agree with freeswitch philosophy that instead of having
thousands of
modules
that don't work fine i prefer just a few that works the way it should
be, a rock solid system for a corporate pbx and a call center is what i
want.</big><br>
<br>
<big>So here i am trying to begin the conversion, and i hope the
information
we can transcript in this list will help others that want to try
another
alternative to asterisk.</big><br>
<br>
<big>First of all i think the saner for a migration is to have the two
systems
running either on the same machine or different and use the stable
features of each one.</big><br>
<br>
<big>So could you please freeswitch users help me with this rosetta
stone migration guide in order to post it to <a rel="nofollow" target="_blank" href="http://voip-info.org">voip-info.org</a> or
freeswitch wiki (i list only the ones i currently use ):<br>
<br>
</big></big></tt><br>
<style>#yiv1888357336  , #yiv1888357336  div, #yiv1888357336  table, #yiv1888357336  thead, #yiv1888357336  tbody, #yiv1888357336  tfoot, #yiv1888357336  tr, #yiv1888357336  th, #yiv1888357336  td, #yiv1888357336  p {font-family:"Arial";font-size:x-small;}</style>
<table border="0" cellspacing="0">
  <colgroup><col width="199"><col width="199"><col width="213"></colgroup>
  <tbody>
    <tr>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT" height="17" width="199"><b><font face="DejaVu Sans Mono">Technology</font></b></td>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT" width="199"><b><font face="DejaVu Sans Mono">Asterisk</font></b></td>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT" width="213"><b><font face="DejaVu Sans Mono">Freeswitch</font></b></td>
    </tr>
    <tr>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT" height="32"><font face="DejaVu Sans Mono">PSTN Connectivity (Digium /
Sangoma)</font></td>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT"><font face="DejaVu Sans Mono">dahdi</font></td>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT"><font face="DejaVu Sans Mono">freetdm</font></td>
    </tr>
    <tr>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT" height="106"><font face="DejaVu Sans Mono">IAX2</font></td>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT"><font face="DejaVu Sans Mono">mod_iax</font></td>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT"><font face="DejaVu Sans Mono">?? none stable yet.<br>
Use Asterisk to forward traffic via SIP.<br>
Enable Hardware HPET for IAX2 trunk if card not available for Asterisk </font></td>
    </tr>
    <tr>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT" height="32"><font face="DejaVu Sans Mono">Bluetooth Channel</font></td>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT"><font face="DejaVu Sans Mono">chan_mobile</font></td>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT"><font face="DejaVu Sans Mono">??<br>
Use asterisk via SIP<br>
      </font></td>
    </tr>
    <tr>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT" height="32"><font face="DejaVu Sans Mono">Skype</font></td>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT"><font face="DejaVu Sans Mono">Skypeforasterisk (no longer for sale)</font></td>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT"><font face="DejaVu Sans Mono">mod_skypeopen</font></td>
    </tr>
    <tr>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT" height="17"><font face="DejaVu Sans Mono">CDR Stadistics</font></td>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT"><font face="DejaVu Sans Mono"> Arternic cdr-stats </font></td>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT"><font face="DejaVu Sans Mono">??</font></td>
    </tr>
    <tr>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT" height="32"><font face="DejaVu Sans Mono">Queue Statistics </font></td>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT"><font face="DejaVu Sans Mono"> Asteriskguru queue-stats</font></td>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT"><font face="DejaVu Sans Mono">??</font></td>
    </tr>
    <tr>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT" height="17"><font face="DejaVu Sans Mono">Web Management</font></td>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT"><font face="DejaVu Sans Mono">Freepbx</font></td>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT"><font face="DejaVu Sans Mono">??</font></td>
    </tr>
    <tr>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT" height="17"><font face="DejaVu Sans Mono">IVR</font></td>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT"><font face="DejaVu Sans Mono">AGI / AMI</font></td>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT"><font face="DejaVu Sans Mono">Event Socket</font></td>
    </tr>
    <tr>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT" height="62"><font face="DejaVu Sans Mono">Codec G.729</font></td>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT"><font face="DejaVu Sans Mono">Transcodind Cards<br>
G.729 licenses<br>
Free G.729 (Intel IPP)</font></td>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT"><font face="DejaVu Sans Mono">Transcodind Cards<br>
G.729 licenses<br>
fsg729 Intel IPP(any experience with it ? )</font></td>
    </tr>
    <tr>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT" height="32"><font face="DejaVu Sans Mono">Fax Handling</font></td>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT"><font face="DejaVu Sans Mono"> Iaxmodem with Hylafax</font></td>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT"><font face="DejaVu Sans Mono">??<br>
Iaxmodem via asterisk to FS via SIP ?<br>
      </font></td>
    </tr>
    <tr>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT" height="17"><font face="DejaVu Sans Mono">SIP</font></td>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT"><font face="DejaVu Sans Mono">chan_sip</font></td>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT"><font face="DejaVu Sans Mono">sofia</font></td>
    </tr>
    <tr>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT" height="17"><font face="DejaVu Sans Mono">ACD</font></td>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT"><font face="DejaVu Sans Mono">app_queue</font></td>
      <td style="border:1px solid rgb(0, 0, 0);" align="LEFT"><font face="DejaVu Sans Mono">mod_callcenter</font></td>
    </tr>
  </tbody>
</table>
<br>
<big><big><tt><br>
<big>Thank you all</big><small><br>
</small><br>
<br>
-- <br>
Nestor A. Diaz<br>
Ingeniero de Sistemas<br>
Tel. +57 1-485-3020 x 211<br>
Cel. +57 316-227-3593<br>
Tel. SIP: <a rel="nofollow" class="yiv1888357336moz-txt-link-freetext">sip:211@tiendalinux.com</a><br>
Email/MSN: <a rel="nofollow" class="yiv1888357336moz-txt-link-abbreviated" ymailto="mailto:nestor@tiendalinux.com" target="_blank" href="mailto:nestor@tiendalinux.com">nestor@tiendalinux.com</a><br>
<a rel="nofollow" class="yiv1888357336moz-txt-link-freetext" target="_blank" href="http://www.tiendalinux.com/">http://www.tiendalinux.com/</a><br>
Bogota, Colombia <br>
</tt></big></big>
<br>
 

</div><br>_______________________________________________<br>Join us at ClueCon 2011, Aug 9-11, Chicago<br><a rel="nofollow" target="_blank" href="http://www.cluecon.com/">http://www.cluecon.com</a> 877-7-4ACLUE<br><br>FreeSWITCH-users mailing list<br><a rel="nofollow" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br><a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a rel="nofollow" target="_blank"
 href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br><br><br></div></div></div></div>_______________________________________________<br>Join us at ClueCon 2011, Aug 9-11, Chicago<br><a rel="nofollow" target="_blank" href="http://www.cluecon.com">http://www.cluecon.com</a> 877-7-4ACLUE<br><br>FreeSWITCH-users mailing list<br><a rel="nofollow" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br></div></div></div><br>_______________________________________________<br>Join us at ClueCon 2011, Aug 9-11, Chicago<br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br><br>FreeSWITCH-users mailing
 list<br><a ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br><br><br></div></div></div></body></html>