[Asterisk-Users] Call forwarding
Cullin J. Wible
cwible at algorim.com
Mon Jul 25 16:42:32 MST 2005
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: extensions-vmauth.conf
Type: application/octet-stream
Size: 1427 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050725/cff37aec/extensions-vmauth.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: forward-get.agi
Type: application/octet-stream
Size: 1276 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050725/cff37aec/forward-get.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: forward-set.agi
Type: application/octet-stream
Size: 2124 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050725/cff37aec/forward-set.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: voicemail-auth.agi
Type: application/octet-stream
Size: 763 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050725/cff37aec/voicemail-auth.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: extensions.conf
Type: application/octet-stream
Size: 1727 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050725/cff37aec/extensions.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: extensions-forward.conf
Type: application/octet-stream
Size: 2245 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050725/cff37aec/extensions-forward.obj
More information about the asterisk-users
mailing list