From: horse69 Date: Tue, 11 Sep 2012 22:45:09 +0000 (+0000) Subject: git-svn-id: https://svn.code.sf.net/p/freetel/code@677 01035d8c-6547-0410-b346-abe4f9... X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=efb6d5e9f6e00a66ee8feb9a455591db7c7d897b;p=freetel-svn-tracking.git git-svn-id: https://svn.code.sf.net/p/freetel/code@677 01035d8c-6547-0410-b346-abe4f91aad63 --- diff --git a/mini-asterisk-gui2/devel notes.txt b/mini-asterisk-gui2/devel notes.txt index 936be455..0baca8f2 100644 --- a/mini-asterisk-gui2/devel notes.txt +++ b/mini-asterisk-gui2/devel notes.txt @@ -6,10 +6,11 @@ Sept 2012 IP04 Environment ssh root@192.168.1.30 - ipkg install dropbear (for scp access to ip04) - + ipkg install dropbear (for ssh access to ip04) + ipkg install fping url: 192.168.1.30 + PC Environment Packages @@ -140,9 +141,122 @@ Outgoing calls Selectable FXO. exten => _0.,1,Dial(Zap/g1/${EXTEN:1}) +Bad line/Bad HW detection + http://blackfin.uclinux.org/gf/project/asterisk/forum/?_forum_action=ForumMessageBrowse&thread_id=36325&action=ForumBrowse&forum_id=121 + port the Oslec echo sampling code to the Blackfin + + When I was developing the Oslec echo canceller I patched Zaptel to allow sampling of echo signals: + http://www.rowetel.com/ucasterisk/oslec.html#sample + With these samples I can usally diagnose echo problems, for example an obvious hardware problem, large or variable delays, a bad PSTN line or (rarely these days) Oslec falling over. + However I only ever ran the sampling code on x86 platforms, it was never ported to the Blackfin as there have been very few echo problems with the IP0X. + I don't have the time for this myself, but if some one would like to port the Oslec echo sampling code to the Blackfin I would be happy to take a look at the samples and help diagnose the echo problems. The link above explains what is involved (some patches to Zaptel and a user mode program). + - David + + ntp page + look at compiling ntp into an installable package. setting times. + +Simple autoattendant + + http://blackfin.uclinux.org/gf/project/asterisk/forum/?_forum_action=ForumMessageBrowse&thread_id=35285&action=ForumBrowse&forum_id=121 + + [default] + + exten => s,1,Ringing + + exten => s,n,Wait(1) + + exten => s,n,Answer + + exten => s,n,Wait(1) + + exten => s,n,Background(thank-you-for-calling) + + exten => s,n,Background(if-u-know-ext-dial) + + exten => s,n,Background(otherwise) + + exten => s,n,Background(to-reach-operator) + + exten => s,n,Background(pls-hold-while-try) + + exten => s,n,WaitExten(6) + + exten => 6000,1,Goto(s,1) + + exten => 6050,1,VoiceMailMain + + exten => 6060,1,MeetMe(${EXTEN},dM,,) + + exten => 6090,1,Queue(${EXTEN}) + + time-based autoattendant. - After hours leave a message + + http://astbook.asteriskdocs.org/en/3rd_Edition/asterisk-book-html-chunk/Autoattendant_id287976.html + (for asterisk 1.8) + + [main_menu] + + exten => s,1,Verbose(1, Caller ${CALLERID(all)} has entered the auto attendant) + same => n,Answer() + + ; this sets the inter-digit timer + same => n,Set(TIMEOUT(digit)=2) + + ; wait one second to establish audio + same => n,Wait(1) + + ; If Mon-Fri 9-5 goto label daygreeting + same => n,GotoIfTime(9:00-17:00,mon-fri,*,*?daygreeting:afterhoursgreeting) + + same => n(afterhoursgreeting),Background(after-hours) ; AFTER HOURS GREETING + same => n,Goto(menuprompt) + + same => n(daygreeting),Background(daytime) ; DAY GREETING + same => n,Goto(menuprompt) + + same => n(menuprompt),Background(main-menu) ; MAIN MENU PROMPT + same => n,WaitExten(4) ; more than 4 seconds is probably + ; too much + same => n,Goto(0,1) ; Treat as if caller has pressed '0' + + exten => 1,1,Verbose(1, Caller ${CALLERID(all)} has entered the sales queue) + same => n,Goto(Queues,7002,1) ; Sales Queue - see Chapter 13 for details + + exten => 2,1,Verbose(1, Caller ${CALLERID(all)} has entered the service queue) + same => n,Goto(Queues,7001,1) ; Service Queue - see Chapter 13 for details + + exten => 3,1,Verbose(1, Caller ${CALLERID(all)} has requested address and fax info) + same => n,Background() ; Address and fax info + same => n,Goto(s,menuprompt) ; Take caller back to main menu prompt + + exten => #,1,Verbose(1, Caller ${CALLERID(all)} is entering the directory) + same => n,Directory(default) ; Send the caller to the directory. + ; Use InternalSets as the dialing context + + exten => 0,1,Verbose(1, Caller ${CALLERID(all)} is calling the operator) + same => n,Dial(SIP/operator) ; Operator extension/queue + + exten => i,1,Verbose(1, Caller ${CALLERID(all)} has entered an invalid selection) + same => n,Playback(invalid) + same => n,Goto(s,menuprompt) + + exten => t,1,Verbose(1, Caller ${CALLERID(all)} has timed out) + same => n,Goto(0,1) + + + ; You will want to have a pattern match for the various extensions + ; that you'll allow external callers to dial + ; BUT DON'T JUST INCLUDE THE LocalSets CONTEXT + ; OR EXTERNAL CALLERS WILL BE ABLE TO MAKE CALLS OUT OF YOUR SYSTEM + + ; WHATEVER YOU DO HERE, TEST IT CAREFULLY TO ENSURE EXTERNAL CALLERS + ; WILL NOT BE ABLE TO DO ANYTHING BUT DIAL INTERNAL EXTENSIONS + + exten => _1XX,1,Verbose(1,Call to an extension starting with '1' + same => n,Goto(InternalSets,${EXTEN},1) + diff --git a/mini-asterisk-gui2/install notes.txt b/mini-asterisk-gui2/install notes.txt index f4ffe892..b8f73cb7 100644 --- a/mini-asterisk-gui2/install notes.txt +++ b/mini-asterisk-gui2/install notes.txt @@ -3,6 +3,7 @@ Ian Roberts Sept 2012 0. ipkg install fping + ipkg install dropbear 1. Uncomment cgi support in /etc/lighttpd.conf