Honer08 / pygooglevoice

Automatically exported from code.google.com/p/pygooglevoice
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

phoneType property in conf.py is not defaulting to 2. #47

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.  Install ddwrt v24 preSP2 on router asus 500gp v2
2.  Install optware packages with asterisk
3.  In dialplan system call to gvoice with all the correct parameters runs with 
no erros, but the call() functions is never called.

What is the expected output? What do you see instead?
calling via a dialplan
exten => _1XXXX.,n,System(/opt/local/bin/gvoice -e ${ACCTNAME} -p ${ACCTPASS} 
call ${EXTEN:1} ${RINGBACK} &) 

The call is never made from google, in fact from tracing the pygooglevoice 
code, the call function is never called.  Running gvoice from command line 
works fine, but running it as part of dialplan does not make a call.
execution stops on line in voice.py phonetype=config.phoneType
To fix this, I changed line in conf.py from phoneType = property(phoneType) to 
phoneType = 2

What version of the product are you using? On what operating system?
lastest version 0.5 running on ddwrt linux on asus router 500gp v2

Please provide any additional information below.

Original issue reported on code.google.com by shuttlef...@gmail.com on 21 Oct 2010 at 6:27