I'm sure there is more than 1 way to do this, but the first thing that
comes to my mind is to set a channel variable with the exten # at the
top of your extensions macro. Then use that channel var instead of CLID.
Josh McAllister
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Jon Farmer
Sent: Wednesday, April 12, 2006 1:32 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] Call Forward and AGI
Hi
i have a agi script that gets called when a user wants to dialout
externally. it gets passed in the exten number and the number dialled
and looks up in a db to see if they are allowed to dial the number. the
problem is if someone forwards their phone to a external number the
CALLERIDNUM is the CLID of the calling party not the extension forwarded
thus the call is denied. Can anyone think of a way around this?
--
Jon Farmer
Telford, Shropshire
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users