Hi Daniel

I can't help specifically with your sounds problem, but ...

You probably want to get the latest development source code, because 
there are lots of bugs fixed since rc3. One of them involves the SIP 
channel going to sleep after a short time of it running, so it's a 
pretty useless release candidate.

Cheers
Jesse

Daniel Melnechuk wrote:
> Dear Openpbx.org... i mean Callweaver Users,
> 
> Sorry to distract you all from the logo talk but I just downloaded  
> right before the name change and got stuff off the openpbx.org site.  
> I used the How To for Mac OS X from here:
> 
>       http://www.voip-info.org/wiki/view/OpenPBX.org+How+to+build+on+OSX% 
> 252FDarwin
> 
> The above did not cover how to install or make the sounds work. So at  
> this point i have a working "openpbx.org" install (v 1.2 rc3) but  
> without sounds working, so not to functional for voicemail, etc. I am  
> really looking forward to getting this all working and moving into  
> the VoIP phone age.
> 
> Here is what i posted at the wiki above on what i did to to try and  
> get sounds working:
> 
> Sounds do not work
> 
> I followed the instructions here (no debug flags) and i could build  
> everything fine on Mac OS X Server 10.4.8. After getting up a simple  
> testing dialplan with two extensions (softphones X-Lite), voicemail  
> and the echo test, i got these errors on the console when i dial the  
> echo test:
> 
>     file.c:519 opbx_openstream_full: File demo-echotest does not  
> exist in any format
>     file.c:817ail*CLI> m opbx_streamfile: Unable to open demo- 
> echotest (format gsm): No such file or directory
>     app_playback.c:126 playback_exec: opbx_streamfile failed on SIP/ 
> myphone-af42 for demo-echotest
>     channel.c:2145 set_format: Unable to find a codec translation  
> path from ulaw to gsm
> 
> After much searching on the net for any reference to any of this, and  
> searching on my hard disk for 'demo-echotest' i realized that the  
> sound files were just not there. Looking closer at both the guide  
> above and the InstallGuide.txt, i saw that i needed to svn the  
> openpbx sounds with:
> 
>     svn co svn://svn.openpbx.org/openpbx-sounds openpbx-sounds
> 
> which i did. The Makefile in this download uses a program called  
> 'sox' (not native on Mac OS X) run this way:
> 
>     sox -q  $$file -t gsm -r 8000 -c 1 -b $$out resample -ql; \
> 
> So i found 'sox' (sox-13.0.0.tar.gz) on the net here:
> 
>     http://sox.sourceforge.net/
> 
> I built it and installed it. Then i ran make for the openpbx-sounds  
> which chugged along making what appears to be gsm files. Upon trying  
> to open one with Quicktime Player, it plays and the "Movie Info" menu  
> command produces info that says it is:
> 
>     GSM 10:1, Mono, 8.000 kHz
> 
> I then ran make install which told me to do this:
> 
>     Please use "./install --prefix=VALUE" to install openpbx-sounds
> 
> BEFORE i ran it with VALUE set to /usr/local/openpbx.org/var/data/, i  
> looked at the script and saw that it could use a small improvement by  
> changing the line:
> 
>     for file in `find * -name *.gsm`; do
> 
> to:
> 
>     for file in `find sounds -name *.gsm`; do
> 
> for cleanliness sake so it doesn't look in folders that don't have  
> sound in it them. So it installed the files in the dir:
> 
>     /usr/local/openpbx.org/var/data/sounds/us_EN/MelanieTaylor
> 
> Well this didn't help since i continued to get the same errors for  
> files not being found. I then made some guesses.
> 
>     1. Move the files out of MelanieTaylor dir up into us_EN -- still  
> no work
>     2. rename us_EN to just 'en' -- NEW error! Getting somewhere?
> 
> So now i get the following a whole lot of times when trying to do the  
> echo test:
> 
>     chan_sip.c:3359 sip_rtp_write: Asked to transmit frame type 2,  
> while native formats is 4 (read/write = 2/2)
> 
> then followed by at the end when i hangup:
> 
>     channel.c:2145 set_format: Unable to find a codec translation  
> path from ulaw to gsm
>     file.c:194 opbx_stopstream: Unable to restore format back to 2
> 
> I tried copying in the wav format files that come in the openpbx- 
> sounds tarball but that doesn't help either.
> 
> And to be clear, no sound is coming out to my softphone. I can't  
> leave a voicemail for the other extension nor does the echo test work.
> 
> I am unix developer from way back and so command lines don't bother  
> me. I appears that people have this working on Mac OS X Tiger but i  
> don't see how with what i have come up against. At this point i would  
> have to start delving into the code a lot more than i have already to  
> try and figure out what is up.
> 
> So i am looking for any help in making the sounds work on Mac OS X.
> 
> Thank you for any help you can give.
> 
> Peace,
> Dan
> 
> 
> 
> 
> _______________________________________________
> Callweaver-users mailing list
> [email protected]
> http://lists.callweaver.org/mailman/listinfo/callweaver-users

-- 

   Jesse Reynolds
   Virtual Artists Pty Ltd - http://www.va.com.au/
   Phone: 08 8223 2288    Mobile: 0414 669 790
_______________________________________________
Callweaver-users mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-users

Reply via email to