<div>Domenico,</div>  <div>&nbsp;</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>&nbsp;</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>&nbsp;</div>  <div>p<BR><BR></div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"><BR>From: "Mimmus" &lt;dviggiani@tiscali.it&gt;<BR>To: "'Asterisk Users Mailing List - Non-Commercial Discussion'"<BR>&lt;asterisk-users@lists.digium.com&gt;<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.