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
onairphone [24.04.2013 13:02] adminonairphone [09.04.2021 12:07] (current) admin
Line 1: Line 1:
-====Howto OnAirPhone====+====HowTo OnAirPhone==== 
 + 
 +<WRAP center round todo 100%> 
 +This software is early alpha and has known [[OnAirPhone Issues|Issues]] \\ 
 +Moreover, it is currently not being actively developed due to lack of time. 
 +</WRAP> 
 + 
 +{{ :bildschirmfoto_2013-04-24_um_16.19.47.png?400|}}
  
 get the source: get the source:
Line 10: Line 17:
   * yate   * yate
   * yateadmin   * yateadmin
 +  * tcl8.5 (or similar)
 +  * tcllib
   * blink (sip softphone client)   * 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.
-In the git tree there is a subdir called "yate" which has a sample config "studio1.conf" and the yateconnector.tcl.+In the git tree there is a subdir called "yate" which has a sample config "example.conf" and the yateconnector.tcl.
  
-IMHO you can just run the yateconnector.tcl on the machine where yate is running. The yateconnector should connect to the yate port 5039 which may be enabled in the yate configfile (extmodule.conf).+You may run the yateconnector.tcl on the machine where yate is running. The yateconnector should connect to the yate port 5039 which may be enabled in the yate configfile (extmodule.conf).
 If you have a connection to yate it should give you some output like this: If you have a connection to yate it should give you some output like this:
  
 <code> <code>
-debian:~/OnAirPhone/yate$ ./yateconnector.tcl +debian:~/OnAirPhone/yate$ ./yateconnector.tcl -c example.conf
 Yate OAP Server 0.1 Yate OAP Server 0.1
 * reading config * reading config
Line 26: Line 35:
 - Handled Number:  111 "Local Call" - Handled Number:  111 "Local Call"
 - Handled Number:  628 "Studio Hotline" - Handled Number:  628 "Studio Hotline"
-- Line Mode:       numeric 
 - Device:          100 OnAir Console - Device:          100 OnAir Console
 - Device:          101 Studio 1 - Device:          101 Studio 1
Line 34: Line 42:
 </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] [yate] <-> [yateconnector.tcl] <-> [com_server.py] <-> [multiple instances of oapscreener.py on multiple PCs]
 +
 +====yate config snippets====
  
 yate extmodule.conf: yate extmodule.conf:
Line 51: Line 63:
 ; port: int: TCP port to bind to, must be positive ; port: int: TCP port to bind to, must be positive
 port=5039 port=5039
-; role: keyword: Role of incoming connections - "global", "channel" or don't set 
 </code> </code>
  
Line 66: Line 77:
 ; dialout to fritzbox for every number starting with a 0 ; dialout to fritzbox for every number starting with a 0
 ^0\(.*\)$=sip/0\1;line=fritzbox628;caller=628 ^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> </code>
onairphone.1366808558.txt.gz · Last modified: 24.04.2013 13:02 by admin