<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Could it be that the ${EXTEN} does not always
return the proper value.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have the following in me
extensions.conf:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>exten => s,1,BackGround(demo-congrats)<BR>exten
=> 0,1,Dial(SIP/2001,20,tr)<BR>exten => _X#,1,Wait(1)<BR>exten =>
_X#,2,GetWave(${EXTEN})<BR>exten => _X#,3,Dial(ZAP/2,20,tr)<BR>exten =>
_X#,4,Hangup<BR>exten => _XX#,1,Wait(1)<BR>exten =>
_XX#,2,GetWave(${EXTEN})<BR>exten => _XX#,3,Dial(ZAP/2,20,tr)<BR>exten =>
_XX#,4,Hangup<BR>exten => _XXX#,1,Wait(1)<BR>exten =>
_XXX#,2,GetWave(${EXTEN})<BR>exten => _XXX#,3,Dial(ZAP/2,20,tr)<BR>exten
=> _XXX#,4,Hangup<BR>exten => _XXXX#,1,Wait(1)<BR>exten =>
_XXXX#,2,GetWave(${EXTEN})<BR>exten => _XXXX#,3,Dial(ZAP/2,20,tr)<BR>exten
=> _XXXX#,4,Hangup<BR>exten => _XXXXX#,1,Wait(1)<BR>exten =>
_XXXXX#,2,GetWave(${EXTEN})<BR>exten => _XXXXX#,3,Dial(ZAP/2,20,tr)<BR>exten
=> _XXXXX#,4,Hangup<BR>exten => _XXXXXX#,1,Wait(1)<BR>exten =>
_XXXXXX#,2,GetWave(${EXTEN})<BR>exten =>
_XXXXXX#,3,Dial(ZAP/2,20,tr)<BR>exten => _XXXXXX#,4,Hangup<BR>exten =>
_XXXXXXX#,1,Wait(1)<BR>exten => _XXXXXXX#,2,GetWave(${EXTEN})<BR>exten =>
_XXXXXXX#,3,Dial(ZAP/2,20,tr)<BR>exten => _XXXXXXX#,4,Hangup</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>GetWave simple takes the data present and prints it
to a file.</FONT></DIV>
<DIV><FONT face=Arial size=2>My problem is that 8# sometimes gives me 8 or
8#.</FONT></DIV>
<DIV><FONT face=Arial size=2>Same thing with all the possible extensions
listed.</FONT></DIV>
<DIV><FONT face=Arial size=2>I added a wait hoping it would help but no
change.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Is there anything else that I can do?? I absolutely
need to pass the correct and complet extension to my application.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>THanks in advance.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Christian</FONT></DIV></BODY></HTML>