On Tuesday 05 August 2008 18:02, Ruddy Gbaguidi wrote:
> I don't think you can do that because, asterisk, in the caller thread
> will only read MACRO_RESULT to know if he has to connect the call or not.
> A workaround will be to :
> 1. before the dial, add a row in a database table and retrieve an  id
> 2. pass the id to test_connect and test_connect will then write his
> variable value into the database
> 3. after the dial,. use the id to retrieve the needed variable.
>

thanks, but Iam using additional redirect though AMI, so it could be that the 
channel is redirected to another context and never see exten after DIAL or h 
extension in that context.

It seemed to be that I have to add additional programming outside the dialplan 
if doing redirect.


best regards
Thomas

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to