YAYPM Installation on windows

From Yate Documentation
(Difference between revisions)
Jump to: navigation, search
(External dependencies)
(Testing)
Line 31: Line 31:
 
execute pbx.y - you should see appear something like
 
execute pbx.y - you should see appear something like
 
   
 
   
←[37m←[1mpbx←[0;0m ←[22;32mDEBUG←[0;0m Watching for calls to: 1001
+
  ←[37m←[1mpbx←[0;0m ←[22;32mDEBUG←[0;0m Watching for calls to: 1001
 
   
 
   
 
placing a call to 1001 you should also see some more debug messages from pbx.py.
 
placing a call to 1001 you should also see some more debug messages from pbx.py.

Revision as of 17:12, 1 November 2012

Contents

External dependencies

From readme.txt found in share/scripts/yaypm
Python 2.4(Python 2.5 is better as it allows to use inlineCallbacks - I used 2.5)
Twisted 2.x ([1])
Zope 3.x (http://www.zope.org/Products/ZopeInterface)
additional requirements not mentioned in readme.txt
pywin32 ([2])

Installation

Install external dependencies then execute

python setup.py install

Configuring in Yate

Add the following section to extmodule.conf (the word after "listener" will become the module name)

extmodule.conf

[listener test]
type=tcp
addr=0.0.0.0
port=5039
role=global

Testing

Open <yaypmhome>\examples\pbx.py and replace the string "maciejka" with a configured extension (example: 1001) Save the file
run yate
execute pbx.y - you should see appear something like

 ←[37m←[1mpbx←[0;0m ←[22;32mDEBUG←[0;0m Watching for calls to: 1001

placing a call to 1001 you should also see some more debug messages from pbx.py.

Personal tools
Namespaces

Variants
Actions
Preface
Configuration
Administrators
Developers