<div dir="ltr">Dear All,<br><br>I tried to put + before the x like _+X but when making a call i got the following error:<br><br><------------><br>[Oct 17 15:08:58] WARNING[17532]: ast_expr2.fl:407 ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected '+', expecting $end; Input:<br>
+9613089187 = 111<br><br>Regards<br><br><div class="gmail_quote">On Fri, Oct 17, 2008 at 6:15 PM, Eric ManxPower Wieling <span dir="ltr"><<a href="mailto:eric@fnords.org">eric@fnords.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
exten => _+X.,1,Goto(${EXTEN:1},1)<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
michel freiha wrote:<br>
> Dear All,<br>
><br>
> i have the following context defines in etensions.conf:<br>
><br>
><br>
> [a2billing]<br>
> exten => _X.,1,Gotoif($[${EXTEN} = 111] ? 21)<br>
> exten => _X.,2,DeadAGI,a2billing.php<br>
> exten => _X.,3,Wait,2<br>
> exten => _X.,4,Hangup<br>
> exten => _X.,21,Playback(AR_GetGiveToID)<br>
> exten => _X.,22,Wait(2)<br>
> exten => _X.,23,Record(/tmp/asterisk-recording:ulaw,,5)<br>
> exten => _X.,24,Wait(2)<br>
> exten => _X.,25,Playback(/tmp/asterisk-recording)<br>
> exten => _X.,26,Wait(2)<br>
> exten => _X.,27,Hangup<br>
><br>
> I just need to remove the '+' sign from the dialed number just in case any<br>
> user put the '+' as Internationa prefix...Is that possible?How to do that?<br>
<br>
</div></div>--<br>
Consulting and design services for LAN, WAN, voice and data. Based near<br>
Birmingham, AL. Now accepting clients worldwide. Contact me for Tellabs<br>
echo canceling systems. Also see <a href="http://www.fnords.org/skillslist.html" target="_blank">http://www.fnords.org/skillslist.html</a><br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</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></div>