[asterisk-users] vars in Macros called by DIAL with option M

Ruddy Gbaguidi plugworld at micnes.com
Tue Aug 5 11:21:53 CDT 2008


And if you use DIALSTATUS and ANSWERTIME to check the last dial status, 
you need to take care of the following bug

http://bugs.digium.com/view.php?id=13216

Thomas Winter wrote:
> Hi all,
>
> Iam using an DIAL Command wird Macro if callee is answer the call.
>
> exten => 123,n,DIAL(SIP/123 at provider,180,gM(test_connect))
> exten => 123,n,NoOp( ${var_from_macro})
>
>
> In Macro test_connect Iam generating an new variable var_from_macro and would 
> like to use this var in the original dialplan.
> I tried also __var_from_macro but didnt work. How can I set vars in macros 
> called by DIAL so that I can use these vars in the Dialplan or in the h 
> extention.
>
> 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
>   
> ------------------------------------------------------------------------
>
>
> Internal Virus Database is out of date.
> Checked by AVG. 
> Version: 8.0.100 / Virus Database: 269.23.16/1448 - Release Date: 5/16/2008 7:42 PM
>   




More information about the asterisk-users mailing list