Dialing Out Using Google Voice (STUCK IN PARK)

miroesq

New Member
Joined
Aug 30, 2010
Messages
20
Reaction score
0
I have a standard install of PIAF 1.7.5.5 Bronze with Incredible PBX installation on top of that.

Initially I was not getting any incoming calls to either my GV # or to my Sipgate #. I then added an inbound route inserting my Sipgate # in the DID and I am now receiving calls to both my Google # as well as my Sipgate #. ****EDIT(I have since deleted this route as it may conflict with the gv-ringback route, but still am not able to dial out. I am also no longer able to receive calls directly to either my GV or Sipgate numbers if I have show Caller's ID in GV set to show caller's, but can receive calls directly to my GV number, but not my Sipgate numbers if I have show Caller's ID in GV set to show mine.)

Problem is I can not make any outgoing calls. I basically get stuck in park and the call is never connected. These are from my extensions.conf file:

[custom-gv]
exten => _X.,1,Wait(1)
exten => _X.,n,Set(ACCTNAME= [FONT=&quot]my_username[/FONT]@gmail.com)
exten => _X.,n,Set(ACCTPASS= [FONT=&quot]my_gmail_email_account_password [/FONT])
exten => _X.,n,Set(RINGBACK= [FONT=&quot]my_sipgate_did_number [/FONT])
exten => _X.,n,Set(CALLPARK=75)
exten => _X.,n,Playback(pls-wait-connect-call)
exten => _X.,n,System(gvoice -e ${ACCTNAME} -p ${ACCTPASS} call ${EXTEN} ${RINGBACK} 3)
exten => _X.,n,Set(GROUP()=gvout)
exten => _X.,n,Set(PARKINGEXTEN=${CALLPARK})
exten => _X.,n,ParkAndAnnounce(pbx-transfer:PARKED,45,Console/dsp)

[custom-park]
exten => s,1,Wait(4)
;exten => s,2,Set(GVNUM= [FONT=&quot]my_gvoice_number[/FONT])
exten => s,n,Set(CALLPARK=75)
exten => s,n,NoOp(**CALLERID: ${CALLERID(all)})
exten => s,n,GotoIf($[ ${GROUP_COUNT(gvout)} = 1 ]?parked:notparked)
exten => s,n(parked),ParkedCall(${CALLPARK})
exten => s,n(notparked),Goto(from-trunk,gv-incoming,1)

Please note that 'exten => s,2,Set(GVNUM= [FONT=&quot]my_gvoice_number[/FONT])' was edited out under [custom-park] by the install. I removed the semicolon and restarted PIAF, but that did not help so I placed it back.

The following is the Asterisk output when trying to call 212-639-2000 (my credentials have been replaced):

== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [2126392000@from-internal:1] Macro("SIP/701-00000000", "user-callerid,SKIPTTL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/701-00000000", "AMPUSER=701") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/701-00000000", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/701-00000000", "1?Set(REALCALLERIDNUM=701)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/701-00000000", "AMPUSER=701") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/701-00000000", "AMPUSERCIDNAME=701") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/701-00000000", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/701-00000000", "AMPUSERCID=701") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/701-00000000", "CALLERID(all)="701" <701>") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/701-00000000", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/701-00000000", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("SIP/701-00000000", "Using CallerID "701" <701>") in new stack
-- Executing [2126392000@from-internal:2] Set("SIP/701-00000000", "_NODEST=") in new stack
-- Executing [2126392000@from-internal:3] Macro("SIP/701-00000000", "record-enable,701,OUT,") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/701-00000000", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/701-00000000", "recordingcheck,20100904-235957,1283637597.0") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck,20100904-235957,1283637597.0: Outbound recording not enabled
-- <SIP/701-00000000>AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] MacroExit("SIP/701-00000000", "") in new stack
-- Executing [2126392000@from-internal:4] Macro("SIP/701-00000000", "dialout-enum,6,2126392000,,") in new stack
-- Executing [s@macro-dialout-enum:1] GosubIf("SIP/701-00000000", "0?sub-pincheck,s,1") in new stack
-- Executing [s@macro-dialout-enum:2] Macro("SIP/701-00000000", "outbound-callerid,6") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/701-00000000", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/701-00000000", "0?Set(REALCALLERIDNUM=701)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/701-00000000", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/701-00000000", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/701-00000000", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/701-00000000", "TRUNKOUTCID=my_gvoice_number") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/701-00000000", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/701-00000000", "1?Set(CALLERID(all)=my_gvoice_number)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/701-00000000", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/701-00000000", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-dialout-enum:3] Set("SIP/701-00000000", "OUTBOUND_GROUP=OUT_6") in new stack
-- Executing [s@macro-dialout-enum:4] GotoIf("SIP/701-00000000", "0?nomax") in new stack
-- Executing [s@macro-dialout-enum:5] GotoIf("SIP/701-00000000", "0?nochans") in new stack
-- Executing [s@macro-dialout-enum:6] Set("SIP/701-00000000", "DIAL_NUMBER=2126392000") in new stack
-- Executing [s@macro-dialout-enum:7] Set("SIP/701-00000000", "DIAL_TRUNK=6") in new stack
-- Executing [s@macro-dialout-enum:8] ExecIf("SIP/701-00000000", "1?AGI(fixlocalprefix)") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
== fixlocalprefix: Dialpattern 1+NXXNXXXXXX matched. 2126392000 -> 12126392000
-- <SIP/701-00000000>AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-enum:9] AGI("SIP/701-00000000", "enumlookup.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/enumlookup.agi
-- enumlookup.agi: Looking up 12126392000 on e164.org via dns_get_record
-- enumlookup.agi: Looking up 12126392000 on e164.arpa via dns_get_record
-- enumlookup.agi: Looking up 12126392000 on e164.info via dns_get_record
-- enumlookup.agi: Setting DIALARR to
-- <SIP/701-00000000>AGI Script enumlookup.agi completed, returning 0
-- Executing [s@macro-dialout-enum:10] GotoIf("SIP/701-00000000", "1?end") in new stack
-- Goto (macro-dialout-enum,s,18)
-- Executing [s@macro-dialout-enum:18] NoOp("SIP/701-00000000", "Exiting macro-dialout-enum") in new stack
-- Executing [2126392000@from-internal:5] Macro("SIP/701-00000000", "dialout-trunk,5,2126392000,,") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/701-00000000", "DIAL_TRUNK=5") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/701-00000000", "0?sub-pincheck,s,1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/701-00000000", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/701-00000000", "DIAL_NUMBER=2126392000") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/701-00000000", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/701-00000000", "OUTBOUND_GROUP=OUT_5") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/701-00000000", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/701-00000000", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/701-00000000", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/701-00000000", "outbound-callerid,5") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/701-00000000", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/701-00000000",
 
Remainder of Log

"0?Set(REALCALLERIDNUM=my_gvoice_number)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/701-00000000", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/701-00000000", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/701-00000000", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/701-00000000", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/701-00000000", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/701-00000000", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/701-00000000", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/701-00000000", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/701-00000000", "0?AGI(fixlocalprefix)") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/701-00000000", "OUTNUM=2126392000") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/701-00000000", "custom=AMP") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/701-00000000", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/701-00000000", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/701-00000000", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/701-00000000", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/701-00000000", "1?customtrunk") in new stack
-- Goto (macro-dialout-trunk,s,21)
-- Executing [s@macro-dialout-trunk:21] Set("SIP/701-00000000", "pre_num=AMP:local/") in new stack
-- Executing [s@macro-dialout-trunk:22] Set("SIP/701-00000000", "the_num=OUTNUM") in new stack
-- Executing [s@macro-dialout-trunk:23] Set("SIP/701-00000000", "post_num=@custom-gv") in new stack
-- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/701-00000000", "1?outnum:skipoutnum") in new stack
-- Goto (macro-dialout-trunk,s,25)
-- Executing [s@macro-dialout-trunk:25] Set("SIP/701-00000000", "the_num=2126392000") in new stack
-- Executing [s@macro-dialout-trunk:26] Dial("SIP/701-00000000", "local/2126392000@custom-gv,300,") in new stack
-- Executing [2126392000@custom-gv:1] Wait("Local/2126392000@custom-gv-d95f;2", "1") in new stack
-- Called 2126392000@custom-gv
-- Executing [2126392000@custom-gv:2] Set("Local/2126392000@custom-gv-d95f;2", "[email protected]") in new stack
-- Executing [2126392000@custom-gv:3] Set("Local/2126392000@custom-gv-d95f;2", "ACCTPASS=my_gmail_email_account_password") in new stack
-- Executing [2126392000@custom-gv:4] Set("Local/2126392000@custom-gv-d95f;2", "RINGBACK=my_sipgate_did_number") in new stack
-- Executing [2126392000@custom-gv:5] Set("Local/2126392000@custom-gv-d95f;2", "CALLPARK=75") in new stack
-- Executing [2126392000@custom-gv:6] Playback("Local/2126392000@custom-gv-d95f;2", "pls-wait-connect-call") in new stack
-- Local/2126392000@custom-gv-d95f;1 answered SIP/701-00000000
-- <Local/2126392000@custom-gv-d95f;2> Playing 'pls-wait-connect-call.gsm' (language 'en')
-- Executing [2126392000@custom-gv:7] System("Local/2126392000@custom-gv-d95f;2", "gvoice -e [email protected] -p my_gmail_email_account_password call 2126392000 my_sipgate_did_number 3") in new stack
-- Executing [2126392000@custom-gv:8] Set("Local/2126392000@custom-gv-d95f;2", "GROUP()=gvout") in new stack
-- Executing [2126392000@custom-gv:9] Set("Local/2126392000@custom-gv-d95f;2", "PARKINGEXTEN=75") in new stack
-- Executing [2126392000@custom-gv:10] ParkAndAnnounce("Local/2126392000@custom-gv-d95f;2", "pbx-transfer:PARKED,45,Console/dsp") in new stack
-- Dial Tech,String: (Console,dsp)
-- Return Context: (custom-gv,2126392000,10) ID: my_gvoice_number
-- Started music on hold, class 'default', on Local/2126392000@custom-gv-d95f;2
== Parked Local/2126392000@custom-gv-d95f;2 on 75 (lot default). Will timeout back to extension [custom-gv] 2126392000, 10 in 45 seconds
-- Added extension '75' priority 1 to parkedcalls (0x8fc3ad8)
-- Call Parking Called, lot: 75, timeout: 45000, context: (null)
== Spawn extension (custom-gv, 2126392000, 10) exited non-zero on 'Parked/Local/2126392000@custom-gv-d95f;2<ZOMBIE>'
-- Stopped music on hold on Local/2126392000@custom-gv-d95f;2
== Timeout for Local/2126392000@custom-gv-d95f;2 parked on 75 (default). Returning to custom-gv,2126392000,10
-- Executing [2126392000@custom-gv:10] ParkAndAnnounce("Local/2126392000@custom-gv-d95f;2", "pbx-transfer:PARKED,45,Console/dsp") in new stack
-- Dial Tech,String: (Console,dsp)
-- Return Context: (custom-gv,2126392000,10) ID: my_gvoice_number
-- Started music on hold, class 'default', on Local/2126392000@custom-gv-d95f;2
== Parked Local/2126392000@custom-gv-d95f;2 on 75 (lot default). Will timeout back to extension [custom-gv] 2126392000, 10 in 45 seconds
-- Added extension '75' priority 1 to parkedcalls (0x8fc3ad8)
-- Call Parking Called, lot: 75, timeout: 45000, context: (null)
== Spawn extension (custom-gv, 2126392000, 10) exited non-zero on 'Parked/Local/2126392000@custom-gv-d95f;2<ZOMBIE>'
-- Executing [h@macro-dialout-trunk:1] Macro("SIP/701-00000000", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/701-00000000", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/701-00000000", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/701-00000000", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("SIP/701-00000000", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/701-00000000' in macro 'hangupcall'
-- Stopped music on hold on Local/2126392000@custom-gv-d95f;2
== Spawn extension (macro-dialout-trunk, s, 26) exited non-zero on 'SIP/701-00000000' in macro 'dialout-trunk'
== Local/2126392000@custom-gv-d95f;2 got tired of being parked
== Spawn extension (from-internal, 2126392000, 5) exited non-zero on 'SIP/701-00000000'
 

Members online

Forum statistics

Threads
26,688
Messages
174,412
Members
20,259
Latest member
Fadeek86
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top