<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Nevermind. I'm a dummy. That method does work, but I didn't have a
${email}.... blah. Long week...<br>
<br>
Thanks again for the help,<br>
Rob<br>
<br>
<br>
Rob Schall wrote:
<blockquote cite="mid:47F68F45.8090300@callone.net" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
Doug Lytle wrote:
<blockquote cite="mid:47F68A95.2010907@drdos.info" type="cite">
<pre wrap="">Rob Schall wrote:
</pre>
<blockquote type="cite">
<pre wrap="">exten => h,1,System(/usr/bin/mailfax "${ARG1}" "${CALLERID(num)}"
"${CALLERID(name)}" "${FAXFILE}"
</pre>
</blockquote>
<pre wrap=""><!---->
Take the h extension out of the macro.
Doug
</pre>
</blockquote>
The problem is that I need the macro so I can make it mobile. I reuse
the macro about 20 times, and it accepts parameters such as an email
address. If I try to set a variable then do like a Goto, the variable
doesn't get passed to the new context. Is it possible to pass those
parameters to a context somehow?<br>
<br>
For example...<br>
[macro-faxreceieve]<br>
exten => s,1,Set(somevar=${ARG1})<br>
exten => Goto(faxing,s,1)<br>
<br>
[faxing]<br>
exten => s,1,rxfax(.....)<br>
exten => h,1,System(.....${somevar})<br>
exten => h,2,Hangup<br>
<br>
Rob<br>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
-- Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></pre>
</blockquote>
<br>
</body>
</html>