[Amportal-devel] Amportal-devel Digest, Vol 10, Issue 3

Jeff Doozan,

I don’t quite understand your issues that you had to patch the dialparties.agi and what you want to do with events. Why don’t you hop on the IRC developers channel (#freepbx-dev) one of these days and we can discuss it.

I have always been aware of the potential ‘issues’ using M() but the reality is that there are more and more complex issues that just plane require that. So if we talk and I better understand your scenarios - we can try to figure out how to accomodate the requirements if we feel it is really needed.

philippe

[email protected] wrote:[quote] Send Amportal-devel mailing list submissions to
[email protected]

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/amportal-devel
or, via email, send a message with subject or body ‘help’ to
[email protected]

You can reach the person managing the list at
[email protected]

When replying, please edit your Subject line so it is more specific
than “Re: Contents of Amportal-devel digest…”

Today’s Topics:

  1. Re: info 579 (Asher Eagle)
  2. Re: Intercom Auto-Answer capability with Aastra 480i IP
    Phones… (mustardman)
  3. Re: news aroun (Yvonne Sinnott)
  4. Re: Intercom Auto-Answer capability with Aastra 480i IP
    Phones… (KMorley)
  5. to lume (Hippolytos Borrelli)
  6. Re: [new feature] assistance with incorporating new feature
    (Greg MacLellan)
  7. freePBX and openPBX? (rcfa)
  8. Re: freePBX and openPBX? (rcfa)
  9. [PATCH] Allow dialparties.agi to play nice when custom
    M(macro) used in DIAL_OPTIONS (Jeff Doozan)
  10. [PATCH] Expose dial and dialout events to
    extensions_custom.conf (Jeff Doozan)

Message: 1
Date: Thu, 8 Feb 2007 12:59:44 +0200
From: "Asher Eagle"
Subject: Re: [Amportal-devel] info 579
To: "Josefina Vasquez"
Message-ID: 01c74b70$3d6889b0$34cc9958@crow2004
Content-Type: text/plain; charset=“us-ascii”

Hi,

Vizagra 1,80
Cizalis 3,00
Lezvitra 3,35

http://www.printerym*l.com

Warning: Remove “*” in the above link


Message: 2
Date: Fri, 09 Feb 2007 14:10:48 -0600
From: mustardman
Subject: Re: [Amportal-devel] Intercom Auto-Answer capability with
Aastra 480i IP Phones…
To: [email protected]
Message-ID: [email protected]

Can’t you put the functionality and special line into extensions_custom.conf which FreePBX does not generate or modify and not even use the FreePBX intercom feature?

-------------------- m2f --------------------

Sent using Mail2Forum (http://www.mail2forum.com).

Read this topic online here:
http://www.freepbx.org/forums/viewtopic.php?p=3494#3494

-------------------- m2f --------------------


Message: 3
Date: Mon, 12 Feb 2007 01:28:42 -0800
From: "Yvonne Sinnott"
Subject: Re: [Amportal-devel] news aroun
To: "Cosmina Lawson"
Message-ID: 01c74e88$2f982f50$807a687c@acer
Content-Type: text/plain; charset=“us-ascii”

Hi,

V / A G R A
V A L / U M
C / A L / S

http://www.tedrx .com

Remove space in the above link.

Blast-Ended Skrewts, Hagrid said eagerly. Er yeah, why not?
Harry had a very bad feeling about this, but there was no way of
communicating it to Hagrid without Rita Skeeter seeing, so he had to


Message: 4
Date: Sun, 11 Feb 2007 09:36:51 -0600
From: KMorley
Subject: Re: [Amportal-devel] Intercom Auto-Answer capability with
Aastra 480i IP Phones…
To: [email protected]
Message-ID: [email protected]

Thanks for the response.

I hadn’t thought of that and so I gave it a try this afternoon. Unfortunately, your suggestion doesn’t work. I can copy the ext-intercom context to extensions_custom.conf (which is included), but as soon as I disable the Intercom feature, ICOM calls fail.

Enabling Intercom changes more than just extensions_additional.conf and the other changes won’t work in the extensions_custom.conf file. Nice try though :slight_smile:

So, I would like to just find out what code generates the ext-intercom context in extensions_additional.conf. With that, I might be able to easily fix the syntax.

Thanks again!

-------------------- m2f --------------------

Sent using Mail2Forum (http://www.mail2forum.com).

Read this topic online here:
http://www.freepbx.org/forums/viewtopic.php?p=3498#3498

-------------------- m2f --------------------


Message: 5
Date: Tue, 13 Feb 2007 19:50:14 +0100
From: "Hippolytos Borrelli"
Subject: [Amportal-devel] to lume
To: "Darya Lamoureaux"
Message-ID: 01c74f9f$cbbf8870$0200a8c0@privat2ba1cbce
Content-Type: text/plain; charset=“us-ascii”

Hi,

Save over 50% on your medication

http://www.ledrx .com

Remove space in the above link

bottles as Professor Sprout had indicated, and by the end of the lesson
had collected several pints.
Thisll keep Madam Pomfrey happy, said Professor Sprout, stoppering


Message: 6
Date: Fri, 16 Feb 2007 19:07:31 -0500
From: Greg MacLellan
Subject: Re: [Amportal-devel] [new feature] assistance with
incorporating new feature
To: [email protected]
Message-ID: [email protected]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Have you looked at the announcement module?

Also, as a heads-up, in 2.3 we’re going to fairly drastically change the
API for GUI code, see http://freepbx.org/trac/wiki/ApiModules2

ip-rob wrote:

[quote] I was hoping to add a feature which would allow you to play a system recording before going to a destination. I’ve looked over the drawselects function in admin/functions.inc.php. I’ve added the code necessary to get the display using the valid list of recordings and only if the recordings module is installed.

I was going to see how to integrate this into the section where the extensions_additional.conf is written out since the playback will need to be inserted before the goto statement.

Can somone tell me where this file is generated and written out?

-------------------- m2f --------------------

Sent using Mail2Forum (http://www.mail2forum.com).

Read this topic online here:
http://www.freepbx.org/forums/viewtopic.php?p=3441#3441

-------------------- m2f --------------------


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


Amportal-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amportal-devel

[/quote]


Message: 7
Date: Tue, 20 Feb 2007 11:51:10 -0600
From: rcfa
Subject: [Amportal-devel] freePBX and openPBX?
To: [email protected]
Message-ID: [email protected]

Sorry for the duplicate post, but after some deliberation, I thought this might be more of a developer issue than a user issue…

I was just wondering:

openPBX is a fork off the Asterisk 1.2 code base, but in some ways relevant more capable, particularly, cross-platform, STUN, fax, etc.

Asterisk 1.4++ is going to sport its own web GUI along the lines of AsteriskNOW’s GUI.

So, wouldn’t it be a good idea to consider basing FreePBX on OpenPBX?
What are the pros and cons, besides the obvious?

Ronald

-------------------- m2f --------------------

Sent using Mail2Forum (http://www.mail2forum.com).

Read this topic online here:
http://www.freepbx.org/forums/viewtopic.php?p=3529#3529

-------------------- m2f --------------------


Message: 8
Date: Thu, 22 Feb 2007 06:05:58 -0600
From: rcfa
Subject: Re: [Amportal-devel] freePBX and openPBX?
To: [email protected]
Message-ID: [email protected]

Just in case, information on openPBX can be found here:

-------------------- m2f --------------------

Sent using Mail2Forum (http://www.mail2forum.com).

Read this topic online here:
http://www.freepbx.org/forums/viewtopic.php?p=3536#3536

-------------------- m2f --------------------


Message: 9
Date: Fri, 23 Feb 2007 12:46:27 -0500
From: Jeff Doozan
Subject: [Amportal-devel] [PATCH] Allow dialparties.agi to play nice
when custom M(macro) used in DIAL_OPTIONS
To: [email protected]
Message-ID: [email protected]
Content-Type: text/plain; charset=“iso-8859-1”

Problem: Dialparties adds M(whatever) macros to the dial string. Since
asterisk only supports one M(macro) command on a dialstring, this makes
it impossible for users to define their own M(custom) macro using
DIAL_OPTIONS.

Solution: Create a generic macro that will accept a list of other macros
to call. Modify dialparties to use this new macro.

The two attached patches will add a new [macro-dial-answered] macro to
extensions.conf and modify dialparties.agi to call this new macro.

Use scenario:

DIAL_OPTIONS is defined as "trM(custom-macro)"
A ring group is dialed, so dialparties needs to call M(auto-blkvm) after
the call is answered

Previous Behavior: the dialstring would be
|trM(custom-macro)M(auto-blkvm). custom-macro will never be
called

New Behavior: the dialstring would be
|trM(dial-answered|custom-macro|auto-blkvm). dial-answered
will call auto-blkvm and then custom-macro

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed…
Name: dialparties.agi.patch
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed…
Name: extensions.conf.patch


Message: 10
Date: Fri, 23 Feb 2007 14:48:22 -0500
From: Jeff Doozan
Subject: [Amportal-devel] [PATCH] Expose dial and dialout events to
extensions_custom.conf
To: [email protected]
Message-ID: [email protected]
Content-Type: text/plain; charset=“iso-8859-1”

It would be convenient for some users to be able to react to dialing
events without having to hack extensions.conf.

NOTE: This patch depends on the the dialparties patches I submitted
earlier today.

Right now, this patch exposes the following events to
extensions_custom.conf:

custom-dial-starting (before Dial() is executed)
custom-dial-answered (call has been answered)
custom-dial-ended (call has been ended)

custom-dialout-starting (before Dial() is executed)
custom-dialout-answered (call has been answered)
custom-dialout-ended (call has ended)

The events can be captured by defining macros in extensions_custom.conf
with the event names listed above:

[macro-custom-dial-ended]
exten => s,1,NoOp(“Incoming or Internal call has completed”)

[macro-custom-dialout-starting]
exten => s,1,NoOp(“About to dial out”)

I think it would be nice to see other events exposed, such as “Voicemail
Left”, “Fax Sent”, and “Fax Received”, but I’d like some input before
devoting anymore energy to this. What events would everyone else like
to see, and at what point in the dialplan should they be exposed?

I’m aware that there are other dialout and dial events that are not
exposed by this patch. I’ve tested this with the dialplan we use, which
is admittedly pretty simple. I’d like feedback from others about using
this with more complex dialing plans (follow-me, hunt groups, etc). Is
this generating events appropriately?

Is this idea even something that should be included in freepbx? I think
so, because the more power we expose to extensions_custom.conf, the
fewer reasons anyone has for messing with extensions.conf and the
smoother future upgrades will be.

Let me know what you think,

Jeff Doozan

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed…
Name: expose_events.patch



Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net’s Techsay panel and you’ll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV



Amportal-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amportal-devel

End of Amportal-devel Digest, Vol 10, Issue 3


[/quote]

Finding fabulous fares is fun.
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains.

Post generated using Mail2Forum (http://www.mail2forum.com)