User Tools

Site Tools


onairphone

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
onairphone [24.04.2013 09:30] adminonairphone [24.04.2013 15:05] – [HowTo OnAirPhone] admin
Line 1: Line 1:
-====Howto OnAirPhone====+====HowTo OnAirPhone==== 
 +{{ :bildschirmfoto_2013-04-24_um_16.19.47.png?400|}} 
 + 
 +!!! This software is early alpha and has known [[OnAirPhone Issues|Issues]] !!!
  
 get the source: get the source:
   git clone git://rc5.de/OnAirPhone.git   git clone git://rc5.de/OnAirPhone.git
 +
 +install some packages: (list may be incomplete)
 +  * python
 +  * python-qt4
 +  * pyqt4-dev-tools
 +  * yate
 +  * yateadmin
 +  * tcl8.5 (or similar)
 +  * tcllib (at least the base64 package)
 +  * blink (sip softphone client)
  
 First you have to call "make" so that all the python resource and ui files are built. First you have to call "make" so that all the python resource and ui files are built.
Line 26: Line 39:
 </code> </code>
  
 +{{ :bildschirmfoto_2013-04-24_um_16.18.58.png?300|}}
 Then you have to start the com_server.py on a machine and configure it to connect to the yateconnector's IP. Then you have to start the com_server.py on a machine and configure it to connect to the yateconnector's IP.
 The com_server.py reads it's config directly from the yateconnector.tcl. The com_server.py reads it's config directly from the yateconnector.tcl.
  
 So the basic idea is: So the basic idea is:
-yate <-> yateconnector.tcl <-> com_server.py <-> multiple instances of oapscreener.py on multiple PCs 
  
-I will also add yate regexroute.conf config snippets so you know how to setup the 'incoming' "Handled Numbers" in yate.+[yate] <-> [yateconnector.tcl] <-> [com_server.py] <-> [multiple instances of oapscreener.py on multiple PCs] 
 + 
 +====yate config snippets==== 
 + 
 +yate extmodule.conf: 
 +<code> 
 +[listener tcp] 
 +; For each socket listener there should be a section starting with the 
 +; "listener" keyword 
 +; type: keyword: Type of socket - "unix" or "tcp" 
 +type=tcp 
 +; addr: string: IP address to bind the TCP socket to 
 +addr=127.0.0.1 
 +; port: int: TCP port to bind to, must be positive 
 +port=5039 
 +</code> 
 + 
 + 
 +yate regexroute.conf config snippet to setup the 'incoming' "Handled Numbers" in yate
 +<code> 
 +[default] 
 +; studio internal 
 +^628$=park/any 
 + 
 +; studio hotline 
 +^111$=park/any 
 + 
 +; dialout to fritzbox for every number starting with a 0 
 +^0\(.*\)$=sip/0\1;line=fritzbox628;caller=628 
 +</code> 
 + 
 +modules.list (minimum of needed modules) (maybe incomplete) 
 +<code> 
 +extmodule.yate 
 +msgsniff.yate 
 +tonedetect.yate 
 +rmanager.yate 
 +pbxassist.yate 
 +sipfeatures.yate 
 +register.yate 
 +regfile.yate 
 +park.yate 
 +users.yate 
 +lateroute.yate 
 +regexroute.yate 
 +callgen.yate 
 +moh.yate 
 +callfork.yate 
 +pbx.yate 
 +tonegen.yate 
 +ysipchan.yate 
 +</code> 
 + 
 +regfile.conf 
 +<code> 
 +; some extensions 
 +[100] 
 +password=secret123 
 +[101] 
 +password=secret123 
 +[102] 
 +password=secret123 
 +[105] 
 +password=secret123 
 +</code>
onairphone.txt · Last modified: 09.04.2021 12:07 by admin