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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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/[EMAIL PROTECTED],20)
Is there a way to check that the user at ${ARG1} has setup forwarding
and retrieve the forwarding destination?
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Attachment: extensions-vmauth.conf
Description: Binary data

Attachment: forward-get.agi
Description: Binary data

Attachment: forward-set.agi
Description: Binary data

Attachment: voicemail-auth.agi
Description: Binary data

Attachment: extensions.conf
Description: Binary data

Attachment: extensions-forward.conf
Description: Binary data

_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to