Hi Guys,<br>i spent some time to figure this out (since i love how dialplan is written) but i decided to ask for your help guys.<br><br>i have two asterisk servers one is 1.2 the other is 1.4, from 1.4 (pbx1) to 1.2 (pbx2) i can leave a voice mail without any pb, but from pbx2 to pbx1 it just hang up.<br>
<br>in pbx2 extensions.conf:<br>i am using: exten =&gt; 8029,1,Dial(IAX2/pbx1/${EXTEN},20,tTWwr)<br><br>in pbx1, i have:<br>exten =&gt; 8029,1,Macro(stdexten,8029)<br>and in stdexten macro:<br><br>exten =&gt; s,n,Goto(s-${DIALSTATUS},1)<br>
exten =&gt; s-NOANSWER,1,Voicemail(u${ARG1})<br>exten =&gt; s-NOANSWER,2,Goto(default,s,1)<br><br>exten =&gt; s-BUSY,1,Voicemail(b${ARG1})<br>exten =&gt; s-BUSY,2,Goto(default,s,1)<br><br>exten =&gt; _s-.,1,Goto(s-NOANSWER,1)<br>
exten =&gt; a,1,VoicemailMain(${ARG1})<br><br>when calling from 8021(pbx2) to 8029(pbx1) i get on CLI pbx1:<br><br>-- Executing [s@macro-stdexten:6] Goto(&quot;IAX2/pbx2-15464&quot;, &quot;s-NOANSWER|1&quot;) in new stack<br>
    -- Goto (macro-stdexten,s-NOANSWER,1)<br>    -- Executing [s-NOANSWER@macro-stdexten:1] VoiceMail(&quot;IAX2/pbx2-15464&quot;, &quot;u8029&quot;) in new stack<br><b>[Apr 29 14:36:35] WARNING[7307]: file.c:738 ast_readaudio_callback: Failed to write frame</b><br>
    -- &lt;IAX2/pbx2-15464&gt; Playing &#39;/var/spool/asterisk/voicemail/default/8029/unavail&#39; (language &#39;en&#39;)<br>  == Spawn extension (macro-stdexten, s-NOANSWER, 1) exited non-zero on &#39;IAX2/pbx2-15464&#39; in macro &#39;stdexten&#39;<br>
  == Spawn extension (default, 8029, 1) exited non-zero on &#39;IAX2/pbx2-15464&#39;<br>    -- Hungup &#39;IAX2/pbx2-15464&#39;<br><br>any other ideas how to be able to leave a voice mail from 1.2 to 1.4 or fix the issue I&#39;m having, thanks a lot! <br clear="all">
<br>-- <br>Abdullah<br>