asifiqbal / pygooglevoice

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

PBX Announces Parking Lot Magic Number - Any way to get rid of it? #28

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I installed the newest version of pygooglevoice on my PBX in a Flash 
system, and ran the asterisk-gvoice-setup script.
I made sure that there was nothing in the extensions_custom.conf file.
However, now when I call out, after the "Please wait while I connect your 
call" announcement, the system announces the Parking Lot Magic Number (in 
my case, 75).
Is there any way to get rid of it?
The section of my extensions_custom.conf file looks like this (with the 
values replaced):

[custom-gv]
exten => _X.,1,Wait(1)
exten => _X.,n,Set(ACCTNAME=myacct@gmail.com)
exten => _X.,n,Set(ACCTPASS=mypass)
exten => _X.,n,Set(RINGBACK=xxxxxxxxxxx)
exten => _X.,n,Set(CALLPARK=75)
exten => _X.,n,Playback(pls-wait-connect-call)
exten => _X.,n,System(gvoice -b -e \${ACCTNAME} -p \${ACCTPASS} call 
\${EXTEN} \${RINGBACK})
exten => _X.,n,Set(PARKINGEXTEN=\${CALLPARK})
exten => _X.,n,Park()

[custom-park]
exten => s,1,Wait(4)
exten => s,2,Set(GVNUM=xxxxxxxxxx)
exten => s,3,Set(CALLPARK=75)
exten => s,4,NoOp(**CALLERID: \${CALLERID(number)})
exten => s,5,GotoIf($["${CALLERID(number)}"="${GVNUM}"]?6:7)
exten => s,6,ParkedCall(\${CALLPARK})
exten => s,7,Goto(from-trunk,gv-incoming,1)

Thanks a lot!

Original issue reported on code.google.com by ytlev...@gmail.com on 13 Dec 2009 at 5:30

GoogleCodeExporter commented 8 years ago
I have absolutely no idea. This really does not pertain to pygooglevoice so i 
sugest you 
checkout the docs on the asterisk setup. I would look here for some guidance

http://nerdvittles.com/?p=635

Original comment by justquick on 13 Dec 2009 at 3:22

GoogleCodeExporter commented 8 years ago
Actually, it only started happening after I installed the latest version of
pygooglevoice (using the hg method) and ran the asterisk-gvoice-setup script.
So it must have something to do with it...

Original comment by ytlev...@gmail.com on 13 Dec 2009 at 3:28

GoogleCodeExporter commented 8 years ago
Someone on the PBX in a Flash forum helped me - I need to replace this line:
exten => _X.,n,Park()

with this:
exten => _X.,n,ParkAndAnnounce(pbx-transfer:PARKED|45|Console/dsp)

And you probably should have the asterisk-gvoice-setup script write it like 
that...
Thanks!

Original comment by ytlev...@gmail.com on 14 Dec 2009 at 2:06

GoogleCodeExporter commented 8 years ago
workin on patchin up the setup script. do you know what the 45 in the line 
above 
signifies?

Original comment by justquick on 14 Dec 2009 at 5:24

GoogleCodeExporter commented 8 years ago
WardMundy, one of the PBX in a Flash head people, helped me out on this thread:
http://pbxinaflash.com/forum/showthread.php?t=6233
Try emailing him, or replying to the thread over there...

Original comment by ytlev...@gmail.com on 14 Dec 2009 at 5:27

GoogleCodeExporter commented 8 years ago
ill take ur word for it. its in the repo now

Original comment by justquick on 14 Dec 2009 at 5:38

GoogleCodeExporter commented 8 years ago
Seems like you added the line instead of replaced it...

Original comment by ytlev...@gmail.com on 30 Dec 2009 at 4:07

GoogleCodeExporter commented 8 years ago
i honestly have no idea what im doing w/ this pbx stuff; never tried to set one 
up 
myself. please paste the complete code in as you would expect it.

Original comment by justquick on 30 Dec 2009 at 2:18