the audio is in format wav i save in Format PCM attributte 8,000 KHz; 8bit; Mono 7kb/s<br><br>my extension.conf is the next:<br><br>exten => 8888651085,1,Playback(procall3)<br>exten => 8888651085,n,Playback(procall3)<br>
exten => 8888651085,n,Queue(procall|n|||)<br>exten => 8888651085,n,Playback(voicemail-invitation)<br>exten => 8888651085,n,VoiceMail,111<br>exten => 8888651085,n,Hangup<br><br>[procall]<br>exten => s,1,Set(TIMEOUT(digit)=7) ;<br>
exten => s,2,Set(TIMEOUT(response)=10)<br>exten => s,3,Set(CHANNEL(language)=en) ; define como idioma predefinido el ingles y usas las voces en este idioma<br>exten => s,4,BackGround(custom/procall3) ; presenta en menu en ingles<br>
exten => s,5,WaitExten() ; Espera que el llamante presione una tecla<br>exten => 100,1,Dial(SIP/100,45,r)<br>exten => 101,2,Dial(SIP/101,45,r)<br>exten => 101,3,Dial(SIP/103,45,r)<br>exten => i,1,Playback(invalid)<br>
exten => i,2,Playback(goodbye)<br>exten => i,3,hangup<br>exten => t,1,goto(procall,s,1)<br>exten => h,1,Hangup<br><br><br>and my queues.conf is:<br><br>[procall]<br>music=default<br>strategy=ringall<br>timeout=15<br>
retry = 5<br>monitor-format = wav<br>monitor-join = yes<br>joinempty = yes<br>member => SIP/100<br>member => SIP/101<br>member => SIP/103<br><br><br>tnx for u help<br><br><div class="gmail_quote">On Fri, Aug 14, 2009 at 9:06 AM, Danny Nicholas <span dir="ltr"><<a href="mailto:danny@debsinc.com">danny@debsinc.com</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;">
<div link="blue" vlink="blue" lang="EN-US">
<div>
<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">Playback is expecting a frequency of
8000. use sox to correct. As for 101/103, that is how the dialplan is
written, not an error per se.</span></font></p>
<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<div>
<div style="text-align: center;" align="center"><font size="3" face="Times New Roman"><span style="font-size: 12pt;">
<hr align="center" size="2" width="100%">
</span></font></div>
<p><b><font size="2" face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma;">
<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>
[mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] <b><span style="font-weight: bold;">On Behalf Of </span></b>Bayardo Sanchez<br>
<b><span style="font-weight: bold;">Sent:</span></b> Friday, August 14, 2009 9:59
AM<br>
<b><span style="font-weight: bold;">To:</span></b> Asterisk
Users Mailing List - Non-Commercial Discussion<br>
<b><span style="font-weight: bold;">Subject:</span></b> [asterisk-users] i have a
error in ivr</span></font></p>
</div><div><div></div><div class="h5">
<p><font size="3" face="Times New Roman"><span style="font-size: 12pt;"> </span></font></p>
<p><font size="3" face="Times New Roman"><span style="font-size: 12pt;">i call to my tollfree number buy my CLI send the next error: <br>
<br>
Aug 14 08:15:22 WARNING[25931]: format_wav.c:169 check_header: Unexpected
freqency 22050<br>
Aug 14 08:15:22 WARNING[25931]: file.c:441 ast_filehelper: Unable to open file
on /var/lib/asterisk/sounds/procall3.wav<br>
Aug 14 08:15:22 WARNING[25931]: file.c:828 ast_streamfile: Unable to open
procall3 (format ulaw): No such file or directory<br>
Aug 14 08:15:22 WARNING[25931]: app_playback.c:133 playback_exec:
ast_streamfile failed on SIP/74.63.41.218-b6036ae0 for procall3<br>
-- Executing Playback("SIP/74.63.41.218-b6036ae0",
"procall3") in new stack<br>
Aug 14 08:15:22 WARNING[25931]: format_wav.c:169 check_header: Unexpected
freqency 22050<br>
Aug 14 08:15:22 WARNING[25931]: file.c:441 ast_filehelper: Unable to open file
on /var/lib/asterisk/sounds/procall3.wav<br>
Aug 14 08:15:22 WARNING[25931]: file.c:828 ast_streamfile: Unable to open
procall3 (format ulaw): No such file or directory<br>
Aug 14 08:15:22 WARNING[25931]: app_playback.c:133 playback_exec: ast_streamfile
failed on SIP/74.63.41.218-b6036ae0 for procall3<br>
-- Executing Queue("SIP/74.63.41.218-b6036ae0",
"procall|n|||") in new stack<br>
-- Started music on hold, class 'default', on
SIP/74.63.41.218-b6036ae0<br>
-- Called SIP/101<br>
-- Called SIP/103<br>
-- SIP/103-09142868 is ringing<br>
-- SIP/101-090fb6a0 is ringing<br>
-- Stopped music on hold on SIP/74.63.41.218-b6036ae0<br>
== Spawn extension (trunkinbound, 8888651085, 3) exited non-zero on
'SIP/74.63.41.218-b6036ae0'<br>
<br>
other erro is when i call to my tollfree number is rining 2 extencion the 101
and 103<br clear="all">
<br>
-- <br>
Bayardo Sánchez García<br>
Web Developer - Internet Portals - Asterisk Support - Windows Server Support -
Proxy Support - Linux Server<br>
E-mail: <a href="mailto:bayardo.sanchez@gmail.com" target="_blank">bayardo.sanchez@gmail.com</a><br>
Linux User: #418392<br>
America Central - Managua, NI (505)
2249-2853 - 84886876 <br>
IM msn messenger: <a href="mailto:bjsanchezg@hotmail.com" target="_blank">bjsanchezg@hotmail.com</a><br>
Skype: bayardo.sanchez<br>
This email is intended solely for the person or organization to which it is
addressed. It may contain privileged and confidential information. If you are
not the intended recipient, you are prohibited from copying, disclosing or
distributing this email or its contents (as it may be unlawful for you to do
so) or taking any action in reliance on it. If you have received this email by
mistake, please delete it. All e-mail sent to this address will be received by
B.S. Solution e-mail system and is subject to archiving and review by someone
other than the recipient.</span></font></p>
</div></div></div>
</div>
<br>_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
AstriCon 2009 - October 13 - 15 Phoenix, Arizona<br>
Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</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><br clear="all"><br>-- <br>Bayardo Sánchez García<br>
Web Developer - Internet Portals - Asterisk Support - Windows Server Support - Proxy Support - Linux Server<br>E-mail: <a href="mailto:bayardo.sanchez@gmail.com">bayardo.sanchez@gmail.com</a><br>Linux User: #418392<br>America Central - Managua, NI (505) 2249-2853 - 84886876 <br>
IM msn messenger: <a href="mailto:bjsanchezg@hotmail.com">bjsanchezg@hotmail.com</a><br>Skype: bayardo.sanchez<br>This email is intended solely for the person or organization to which it is addressed. It may contain privileged and confidential information. If you are not the intended recipient, you are prohibited from copying, disclosing or distributing this email or its contents (as it may be unlawful for you to do so) or taking any action in reliance on it. If you have received this email by mistake, please delete it. All e-mail sent to this address will be received by B.S. Solution e-mail system and is subject to archiving and review by someone other than the recipient.<br>