Hi:<br><br>Same problem here (asterisk doesn't wait all the digits be typed when making a call transfer). Does anybody knows something about this? Thanks in advance.<br><br>Greetings,<br><br clear="all"><b style="color: rgb(51, 0, 51);">Ramiro PAZ<br>
MASTERLINE LOGISTICS<br></b><span style="color: rgb(51, 0, 51);"></span><b><span style="color: rgb(255, 102, 0);"></span></b><br><br><div class="gmail_quote">2011/11/1 Antonio Modesto <span dir="ltr"><<a href="mailto:modesto@isimples.com.br">modesto@isimples.com.br</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><u></u>
<div>
Good morning,<br>
<br>
I have not solved this problem yet, but, I found that the source of the problem are my macros. For example, I have this context:<br>
<br>
context ramais {<br>
        101 => &dial_sip(exten1);<br>
        102 => &dial_sip(exten2);<br>
        103 => &dial_sip(exten3);<br>
};<br>
<br>
All these extensions use the dial_sip macro, I have changed this context to use the Dial application instead of dial_sip macro, it worked fine. The problem is that when i use the macro, the current context is changed to the dial_sip context, the dial_sip context is automatically created by asterisk when i use any macro and of fact this context doesn't have the ramais context included. Is there some way to specify on which context the macro will run?<div>
<div class="h5"><br>
<br>
On Mon, 2011-10-31 at 09:09 -0200, Antonio Modesto wrote:<br>
</div></div><blockquote type="CITE"><div><div class="h5">
Good Morning,<br>
<br>
I have an asterisk18-1.8.7.1 running on a FreeBSD 8.2-STABLE, and it is working well so far, i'm just having some problems with atxfer.<br>
<br>
I have written this macro to dial sip extensions:<br>
<br>
macro dial_sip(exten) {<br>
Verbose(2,"==> Chamando a MACRO dial_sip - ponto 1 macros.ael <==");<br>
Verbose(4,"====> Macro dial_sip iniciada.");<br>
ChanIsAvail(SIP/${exten});<br>
Verbose(2,"==> ${AVAILORIGCHAN}");<br>
<br>
if ("${AVAILORIGCHAN}" != "")<br>
{<br>
Verbose(4,"====> SIP/${exten} parece estar disponivel, vou disca-lo agora.");<br>
Set(FromExt=${CALLERID(num)});<br>
System(/bin/sh /var/spool/asterisk/calllog/log.sh SIP/${FromExt} SIP/${exten} SIP-TO-SIP);<br>
Verbose(4,"====> System status: ${SYSTEMSTATUS}");<br>
Dial(SIP/${exten},${SIP_DIAL_TIMEOUT},Ttr);<br>
Hangup();<br>
}<br>
else<br>
{<br>
Verbose(2,"====> SIP/${exten} nao esta disponivel.");<br>
Hangup();<br>
};<br>
<br>
<br>
NoOp("From ${MACRO_EXTEN} to ${exten});<br>
System(${CALLLOGDIR}/log.sh ${exten});<br>
<br>
return;<br>
};<br>
<br>
It is working, but the calling party is not able to transfer the calls because asterisk doesn't wait all the digits be typed, it tries to transfer the call when the first digit is pressed (We use 3 digits extensions):<br>
<br>
[Oct 31 09:04:01] WARNING[2926]: features.c:2315 builtin_atxfer: Extension '1' does not exist in context 'dial_sip'<br>
== Spawn extension (dial_sip, ~~s~~, 11) exited non-zero on 'SIP/modesto-0000000d'<br>
[Oct 31 09:04:03] WARNING[2926]: features.c:2319 builtin_atxfer: No digits dialed for atxfer.<br>
<br>
Does anyone have suggestions?<br>
<br>
Regards.
</div></div><span class="HOEnZb"><font color="#888888"><pre>--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --
New to Asterisk? Join us for a live introductory webinar every Thurs:
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a>
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
</pre>
</font></span></blockquote>
<br>
</div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>