<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=413201916-25052006><FONT face="Courier New"
color=#0000ff size=2>Philippe,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=413201916-25052006><FONT face="Courier New"
color=#0000ff size=2>I understand what you say...</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=413201916-25052006><FONT face="Courier New"
color=#0000ff size=2>I'd like to free myself from AMP/Freepbx because I feel
better if I have only 'vi-made' configuration files I can
tweak.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=413201916-25052006><FONT face="Courier New"
color=#0000ff size=2>I'd like also to have macro-dial entirely in the dialplan
without AGI script but without losing call-forwarding, do-not-disturb, etc.
functionalities.</FONT></SPAN><SPAN class=413201916-25052006><FONT
face="Courier New" color=#0000ff size=2> At this moment, I cleaned up a lot
of things but still have dialparties.agi. </FONT></SPAN><SPAN
class=413201916-25052006><FONT face="Courier New" color=#0000ff size=2>I hope to
thrash it in some future, when I will be able to rewrite all logic in the
diaplan.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=413201916-25052006><FONT face="Courier New"
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=413201916-25052006><FONT face="Courier New"
color=#0000ff size=2>Thanks</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=413201916-25052006><FONT face="Courier New"
color=#0000ff size=2>Domenico</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=413201916-25052006><FONT face="Courier New"
color=#0000ff size=2></FONT></SPAN> </DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=it dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <B>On Behalf Of </B>Philippe
Lindheimer<BR><B>Sent:</B> Thursday, May 25, 2006 4:44 PM<BR><B>To:</B>
asterisk-users@lists.digium.com<BR><B>Subject:</B> RE: [Asterisk-Users]
macro-dial<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Domenico,</DIV>
<DIV> </DIV>
<DIV>as I mentioned: "...and extensions are not necessarily what you think
they are<BR>either." AMP/Freepbx 'virtualizes' extensions. The basic concept
is that there are users and then there are devices. A user can have multiple
devices. The default shipping mode provides the 'extensions' tab which ends up
creating a user with the sam extension number as the device that you assign
them. However, if you flip to 'deviceanduser' mode (see /etc/amportal.conf -
AMPEXTENSIONS=) you will see that you now can control users separate from
devices and you can assign multiple devices to a single user or you can make a
device adhoc allowing any user to login to the device and it becomes their
phone until they logout.</DIV>
<DIV> </DIV>
<DIV>So as I mentioned, it isn't that simple, it is the reason for all the
various callerid macros, dialparties.agi, etc. that is there. If you want more
detail, in addition to digging in as you have, you may want to move over to
the freepbx.org site and/or the IRC. If you want to get rid of dialparties,
maybe you can get the entire functionality into a dialplan format (and
probably improve performance) and then submit it back. But as you've probably
seen, dialparties itself is inegrally interwoven with macro-dial and the
various other interdependencies throughout the dial plan, astdb, etc.</DIV>
<DIV> </DIV>
<DIV>p<BR><BR></DIV>
<BLOCKQUOTE class=replbq
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"><BR>From:
"Mimmus" <dviggiani@tiscali.it><BR>To: "'Asterisk Users Mailing List -
Non-Commercial
Discussion'"<BR><asterisk-users@lists.digium.com><BR>Date: Thu, 25 May
2006 10:21:46 +0200<BR>Subject: RE: [Asterisk-Users]
macro-dial<BR><BR>Hi,<BR>I digged in dialparties.agi and found that apart
from DND, hunt-group,<BR>status, etc its main function is looking up real
device(s) for any user from<BR>AstDB. In fact, AMP/FreePBX keep a long list
of entries in AstDB for any<BR>device/user.<BR><BR>I'm interested in knowing
how people on this list manage link between an<BR>extension and the real
device (SIP, Zap,
etc).<BR><BR>Thanks<BR><BR><BR><BR>________________________________<BR><BR>From:
asterisk-users-bounces@lists.digium.com<BR>[mailto:asterisk-users-bounces@lists.digium.com]
On Behalf Of Philippe<BR>Lindheimer<BR>Sent: Wednesday, May 24, 2006 7:42
PM<BR>To: asterisk-users@lists.digium.com<BR>Subject: Re: [Asterisk-Users]
macro-dial<BR><BR><BR>It's not that simple. dialparties is fundamental to
the whole<BR>dialplan in AMP/freepbx and accomplishes a lot of the features
such as hunt<BR>groups, DND, etc. And extensions are not necessarily what
you think they are<BR>either. If you don't like it, you'd probably be better
off writing your own<BR>dialplan or alternatively, rewrite it's entire
functionality outside of an<BR>agi and then submit the mod to freepbx to
streamline freepbx more.<BR><BR>p<BR><BR>From: "Mimmus"
<DVIGGIANI@TISCALI.IT><BR>To: "'Asterisk Users Mailing List - Non-Commercial
Discussion'"<BR><ASTERISK-USERS@LISTS.DIGIUM.COM><BR>Date: Wed, 24 May 2006
18:00:36 +0200<BR>Subject: [Asterisk-Users] macro-dial<BR><BR>Hi,<BR>I'm
trying to edit an AMP-derived dialplan: the macro "dial" uses<BR>the
AGI<BR>script "dialparties.agi" to find the extension to call.<BR>I'd like
to drop this script: does anyone can explain me what is
its<BR>main<BR>job?<BR><BR>Thanks<BR>-- <BR>Domenico
Viggiani<BR><BR><BR></BLOCKQUOTE>
<P>
<HR SIZE=1>
Blab-away for as little as 1¢/min. Make <A
href="http://us.rd.yahoo.com/mail_us/taglines/postman2/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com">PC-to-Phone
Calls</A> using Yahoo! Messenger with Voice.</BLOCKQUOTE></BODY></HTML>