2011年9月27日 星期二

sip auto-dial

Channel: SIP/001xxxxxxxxxx@SIP-PROVIDER-13622859904dddbdc00cb64
Context: internal
CallerID: Alert SYS Admin<0000>
Extension: 000047
WaitTime: 60
MaxRetries: 1
RetryTime: 60
;Application: AGI
;Data: testphp.php
http://www.voip-info.org/wiki/view/Convert+WAV+audio+files+for+use+in+Asterisk
To convert wav file to sln, use the following command:
sox foo-in.wav -t raw -r 8000 -s -2 -c 1 foo-out.sln
Note that sox v14.3.0 and above (installed in Ubuntu 9.10), the -w option has changed to -2
sox foo-in.wav -t raw -r 8000 -s -2 -c 1 foo-out.sln

沒有留言: