[Asterisk-Users] macro-dial
Philippe Lindheimer
p_lindheimer at yahoo.com
Thu May 25 07:44:12 MST 2006
Domenico,
as I mentioned: "...and extensions are not necessarily what you think they are
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.
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.
p
From: "Mimmus" <dviggiani at tiscali.it>
To: "'Asterisk Users Mailing List - Non-Commercial Discussion'"
<asterisk-users at lists.digium.com>
Date: Thu, 25 May 2006 10:21:46 +0200
Subject: RE: [Asterisk-Users] macro-dial
Hi,
I digged in dialparties.agi and found that apart from DND, hunt-group,
status, etc its main function is looking up real device(s) for any user from
AstDB. In fact, AMP/FreePBX keep a long list of entries in AstDB for any
device/user.
I'm interested in knowing how people on this list manage link between an
extension and the real device (SIP, Zap, etc).
Thanks
________________________________
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Philippe
Lindheimer
Sent: Wednesday, May 24, 2006 7:42 PM
To: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] macro-dial
It's not that simple. dialparties is fundamental to the whole
dialplan in AMP/freepbx and accomplishes a lot of the features such as hunt
groups, DND, etc. And extensions are not necessarily what you think they are
either. If you don't like it, you'd probably be better off writing your own
dialplan or alternatively, rewrite it's entire functionality outside of an
agi and then submit the mod to freepbx to streamline freepbx more.
p
From: "Mimmus"
To: "'Asterisk Users Mailing List - Non-Commercial Discussion'"
Date: Wed, 24 May 2006 18:00:36 +0200
Subject: [Asterisk-Users] macro-dial
Hi,
I'm trying to edit an AMP-derived dialplan: the macro "dial" uses
the AGI
script "dialparties.agi" to find the extension to call.
I'd like to drop this script: does anyone can explain me what is its
main
job?
Thanks
--
Domenico Viggiani
---------------------------------
Blab-away for as little as 1¢/min. Make PC-to-Phone Calls using Yahoo! Messenger with Voice.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060525/514dabae/attachment.htm
More information about the asterisk-users
mailing list