Configuring Callcentric cohabitation with GV

My GV dialplan works as follows:

[quote]GV1 (extension1): 1NXXNXXXXXX
GV2 (extension2): 91NXXNXXXXXX[/quote]

I would like to configure (VOIP) dialing as follows:

In other words, I would like to have numbers pre-fixed with 8 routed through the channel.

Test observations:

[quote]Calls to the callcentric: No dialing ring straight to: “Welcome to Callcentric, the person you are trying to reach is currently unavailable. Please try your call again later. Message 1004”.

3 Observations: Verify Callcentric Configuration per

root@athomehost:~# asterisk -rx "sip show registry"
Host dnsmgr Username Refresh State Reg.Time N 17771231234 45 Registered Thu, 23 Jun 2011 23:30:39
1 SIP registrations.

root@athomehost:~# asterisk -rx "sip show peers"
Name/username Host Dyn Forcerport ACL Port Status
101/101 D N 5060 OK (5 ms)
NokiaE71x/NokiaE71x (Unspecified) D N 0 UNKNOWN
callcentric/17771231234 5080 Unmonitored
3 sip peers [Monitored: 1 online, 1 offline Unmonitored: 1 online, 0 offline] ‘Dashboard’

  • shows that “your phone is registered”[/quote]

QUESTION 1) Is Asterisk 1.8 completely \ correctly logged in to

Excerpts from configuration files:

[quote]SIP.CONF: Configure SIP (Callcentric Configuration)

dtmfmode = rfc2833
register =>
; … voice.html
context=to-callcentric TEST ONLY, uncomment next line
callerid=“SPA2102 L2” <101>

EXTENSIONS.CONF: Configure Dialplan

include => to-callcentric
include => local-devices
include => tollfree
include => gv-outbound

; exten => _X.,1,Dial(SIP/${EXTEN}@callcentric)
; User Dials 8 then number
; Map Extension 911 local police through GV
exten => _8911,1,Dial(Gtalk/myGVaccount/ ;UNTESTED
; Append area code 555 if necessary
exten => _8NXXXXXX,1,Set(CALLERID(dnid)=1555${CALLERID(dnid)})
; {EXTEN:1} is NXXXXXX (everything after the first dialed number, in this case 8)
exten => _8NXXXXXX,n,Goto(81555${EXTEN:1},1)
;append a 1 if necessary
exten => _8NXXNXXXXXX,1,Set(CALLERID(dnid)=1${CALLERID(dnid)})
; {EXTEN:1} is NXXNXXXXXX(everything after the first dialed number, in this case 8)
exten => _8NXXNXXXXXX,n,Goto(81${EXTEN:1},1)
;do our real dialing: Dial everything after the 8 of 81NXXNXXXXXX via ${EXTEN:1}
exten => _81NXXNXXXXXX,1,Dial(SIP/${EXTEN:1}
exten => _1777NXXXXXX,1,Dial(SIP/${EXTEN} ;TEST ONLY[/quote]

Outbound attempts to dial result in a tone that indicates invalid dialing sequence. My gut says that calls are not routed to the callcentric outbound extension of the dialplan. It would be nice if had visibility into the system when it tries to match the dialed number against the logic in the extension above or had some kind of printf() instead of dial(). Any constructive actionable suggestions \ observations regarding SIP.CONF \ dialplan and their integration is appreciated.

UPDATE: I added this line the [to-callcentric] dialplan extension:

[quote]exten => _811,1,Dial(SIP/,60) ;Test point "# out of Service"
Dialing 811 played the “out of service message” as expected. Therefore, I take it back: [to-callcentric] logic is being executed. There must be something wrong in the dialplan. Next step: hard code 811 to dial known good callcentric #.

exten => _811,1,Dial(SIP/,60)

Received busy dial tone. I SIP dialed this number from Fring and the number rings the phone. I take it back (again!): it’s not necessarily the dial plan. This means the connection to callcentric VOIP must be goobered up. [/quote]

Is this the problem? I am hoping that I am wrong and that someone out there has setup 1.8.4 (preferably Optware) with Callcentric successfully.