Google Voice after XMPP is gone

I have inbound working well using a third party DID. The problem is getting a outbound call to work. I have a php script working so that I can from a CLI run gvoice.php 1231231234 and it will connect ring my extension then call the number given. I want to setup so that I can pickup dial a number and then it dials the number for me. Any suggestions? I setup a context setup in the extensions_custom.conf file.

[gvout]
exten => s,1,system(echo “${DATETIME} - ${CALLERID} - ${CHANNEL} - ${DNID}” >> $
exten => s,2,system(/usr/bin/php /usr/bin/gvoice ${EXTEN})

I setup a outbound extension that uses a custom dial string:

Local/$OUTNUM$@gvout

I get channel unavailable.

Is this how I should setup? —its not working
If not how? Basically for outbound calls I need to execute a script with a argument.

Asterisk Log: I replaced my dialed number with 42338XXXXX

[2014-11-10 19:17:52] DEBUG[6020][C-00000003] pbx.c: Launching ‘Dial’
[2014-11-10 19:17:52] VERBOSE[6020][C-00000003] pbx.c: – Executing [s@macro-dialout-trunk:30] Dial(“SIP/201-00000004”, “Local/42338XXXXX@gvout,300,Tt”) in new stack
[2014-11-10 19:17:52] DEBUG[6020][C-00000003] channel_internal_api.c: Channel Call ID changing from [C-00000003] to [C-00000003]
[2014-11-10 19:17:52] DEBUG[6020][C-00000003] rtp_engine.c: Can’t find native functions for channel ‘Local/4233889402@gvout-00000002;1’
[2014-11-10 19:17:52] DEBUG[6020][C-00000003] channel.c: Inheriting variable REC_POLICY_MODE from SIP/201-00000004 to Local/4233889402@gvout-00000002;1.
[2014-11-10 19:17:52] DEBUG[6020][C-00000003] channel.c: Inheriting variable CALLFILENAME from SIP/201-00000004 to Local/4233889402@gvout-00000002;1.
[2014-11-10 19:17:52] DEBUG[6020][C-00000003] channel.c: Inheriting variable FROMEXTEN from SIP/201-00000004 to Local/4233889402@gvout-00000002;1.
[2014-11-10 19:17:52] DEBUG[6020][C-00000003] channel.c: Inheriting variable TIMESTR from SIP/201-00000004 to Local/4233889402@gvout-00000002;1.
[2014-11-10 19:17:52] DEBUG[6020][C-00000003] channel.c: Inheriting variable YEAR from SIP/201-00000004 to Local/4233889402@gvout-00000002;1.
[2014-11-10 19:17:52] DEBUG[6020][C-00000003] channel.c: Inheriting variable MONTH from SIP/201-00000004 to Local/4233889402@gvout-00000002;1.
[2014-11-10 19:17:52] DEBUG[6020][C-00000003] channel.c: Inheriting variable DAY from SIP/201-00000004 to Local/4233889402@gvout-00000002;1.
[2014-11-10 19:17:52] DEBUG[6020][C-00000003] channel.c: Inheriting variable REC_STATUS from SIP/201-00000004 to Local/4233889402@gvout-00000002;1.
[2014-11-10 19:17:52] DEBUG[6020][C-00000003] channel.c: Inheriting variable MON_FMT from SIP/201-00000004 to Local/4233889402@gvout-00000002;1.
[2014-11-10 19:17:52] DEBUG[6020][C-00000003] channel.c: Inheriting variable NODEST from SIP/201-00000004 to Local/42338XXXXX@gvout-00000002;1.
[2014-11-10 19:17:52] DEBUG[6020][C-00000003] channel.c: Inheriting variable DIAL_OPTIONS from SIP/201-00000004 to Local/42338XXXXX@gvout-00000002;1.
[2014-11-10 19:17:52] NOTICE[6020][C-00000003] chan_local.c: No such extension/context 42338XXXXX@gvout while calling Local channel
[2014-11-10 19:17:52] DEBUG[6020][C-00000003] app_dial.c: ast call on peer returned -1
[2014-11-10 19:17:52] VERBOSE[6020][C-00000003] app_dial.c: – Couldn’t call Local/42338XXXXX@gvout
[2014-11-10 19:17:52] DEBUG[6020][C-00000003] channel.c: Hanging up channel ‘Local/42338XXXXX@gvout-00000002;1’
[2014-11-10 19:17:52] DEBUG[6020][C-00000003] channel.c: Hanging up channel ‘Local/42338XXXXX@gvout-00000002;2’

Nevermind. Got it working.

Had a copy/past error on line:
exten => s,1,system(echo “${DATETIME} - ${CALLERID} - ${CHANNEL} - ${DNID}” >> $

should have been
exten => s,1,system(echo “${DATETIME} - ${CALLERID} - ${CHANNEL} - ${DNID}”)