[Asterisk-Users] Call forwarding
Adrian A
adrianvoip at gmail.com
Tue Jul 26 13:30:36 MST 2005
Thanks, that actually helps a lot.
One problem I have (kind of unrelated) is with the AGI script
requiring two arguments. You have:
exten => s,1,AGI(forward-get.agi,internal,${MACRO_EXTEN})
On my Asterisk installation that somehow passes the two arguments
internal and ${MACRO_EXTEN} as one argument to the bash script causing
the blank check for ${exten} to exit the script. I have even tried
other suggestions such as:
exten => s,1,AGI(forward-get.agi|internal&${MACRO_EXTEN}) or
exten => s,1,AGI,forward-get.agi,internal ${MACRO_EXTEN}
I'm running a recent version of CVS HEAD.
Asterisk CVS-HEAD built by root at phone.internal.xten.net on a i686
running Linux on 2005-07-07 18:42:16
On 7/25/05, Cullin J. Wible <cwible at algorim.com> wrote:
> 1) You could use asterisk realtime and a mysql database.
>
> 2) You could use an asterisk database and allow users to set call forwarding
> by calling an extension.
>
> 3) You could write some scripts to use an external database (what we did)
> and either allow users to update their forwarding options via a web page or
> telephone.
>
> I have attached some simple shell AGI-scripts and parts of our dial-plan so
> you can see how it all works. We authenticate against the mysql voicemail
> database and then our standard extension macro checks the database, possibly
> adding another channel to the dial command.
>
> I hope this helps.
>
> Cullin
>
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Adrian A
> Sent: Monday, July 25, 2005 4:15 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: [Asterisk-Users] Call forwarding
>
> Is there an easy way to allow the users to go to a webpage or dial an
> extension and enter a phone number that their extension can be
> forwarded to?
> I'm using SER+Asterisk so doing this in sip.conf for example would not
> work since all users are registered to SER. Currently in
> extensions.conf I have:
> exten => s,2,Dial(SIP/${ARG1}@${SERADDRESS},20)
> Is there a way to check that the user at ${ARG1} has setup forwarding
> and retrieve the forwarding destination?
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
More information about the asterisk-users
mailing list