Configure the callweaver.conf so that cwsoundsdir points to

/usr/share/callweaver/sounds/en 

and it should all work

Dan Quirk


Jānis Rukšāns wrote:
> Hi,
>
> I'm giving Callweaver a try and have set up some SIP extensions and an
> echotest number:
>
> [internal]
> exten => 500,1,Answer()
> exten => 500,n,Playback(demo-echotest)
> exten => 500,n,NoOp(${PLAYBACKSTATUS})
> exten => 500,n,Echo()
> exten => 500,n,Playback(demo-echodone)
> exten => 500,n,Hangup()
>
> [phones]
> exten => 31,1,Dial(SIP/31,30)
> exten => 31,n,Hangup()
> exten => 27,1,Dial(SIP/27,30)
> exten => 27,n,Hangup()
>
> include => internal
>
> However when I'm calling the echotest number I get the following in the CLI:
>     -- Executing Answer("SIP/192.168.0.23-092cc338", )
> Aug 26 21:33:13 WARNING[3085695888]: channel.c:886
> channel_find_locked: Avoided initial deadlock for '0x92c09e8', 10
> retries!
>     -- Executing Playback("SIP/192.168.0.23-092cc338", demo-echotest)
> Aug 26 21:33:13 WARNING[3080682384]: file.c:542 opbx_openstream_full:
> File demo-echotest does not exist in any format
> Aug 26 21:33:13 WARNING[3080682384]: file.c:841 opbx_streamfile:
> Unable to open demo-echotest (format alaw): No such file or directory
> Aug 26 21:33:13 WARNING[3080682384]: app_playback.c:115 playback_exec:
> opbx_streamfile failed on SIP/192.168.0.23-092cc338 for demo-echotest
>     -- Executing NoOp("SIP/192.168.0.23-092cc338", FAILED)
>     -- Executing Echo("SIP/192.168.0.23-092cc338", )
>
> The cwsoundsdir is configured to /usr/share/callweaver/sounds, where
> I've downloaded the sounds from Callweaver SVN (by running svn co
> http://svn.callweaver.org/callweaver-sounds/trunk/sounds/en_US/MelanieTaylor/8k
> en in sounds dir). The files are there and permissions seem to be
> fine:
>
> [EMAIL PROTECTED]:~$ ls -l /usr/share/callweaver/sounds/en/demo-echotest.wav
> -rw-r--r-- 1 root root 139020 2008-06-05 21:19
> /usr/share/callweaver/sounds/en/demo-echotest.wav
>
> Also, the Echo app produces no output. Any ideas on what's wrong?
>
> Thanks
>
>   


-- 
Kind regards,

Dan Quirk
Director
QMTech
Greenheys
Manchester Science Park
M15 6JJ

www.qmtech.net
Office: 0161 660 2690
Direct: 0161 660 2694
Mobile: 07870 651 726

_______________________________________________
Callweaver-users mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-users

Reply via email to