Configuring Callcentric cohabitation with GV

My GV dialplan works as follows:

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

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

In other words, I would like to have numbers pre-fixed with 8 routed through the callcentric.com 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”.

callcentric.com/faq/6/240

3 Observations: Verify Callcentric Configuration per callcentric.com/support/device/asterisk/1_6

root@athomehost:~# asterisk -rx "sip show registry"
Host dnsmgr Username Refresh State Reg.Time
callcentric.com:5060 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 192.168.8.110 D N 5060 OK (5 ms)
NokiaE71x/NokiaE71x (Unspecified) D N 0 UNKNOWN
callcentric/17771231234 204.11.192.31 5080 Unmonitored
3 sip peers [Monitored: 1 online, 1 offline Unmonitored: 1 online, 0 offline]

callcentric.com ‘Dashboard’

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

QUESTION 1) Is Asterisk 1.8 completely \ correctly logged in to callcentric.com?

Excerpts from configuration files:

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

; callcentric.com/support/device/asterisk/1_6
[general]
dtmfmode = rfc2833
context=from-callcentric
srvlookup=yes
register => 17771231234:MySuperSeceret@callcentric.com/17771231234
session-timers=refuse
session-expires=180
session-minse=90
session-refresher=uas
; callcentric.com/support/device/asterisk/1_6
[callcentric]
type=peer
context=from-callcentric
host=callcentric.com
defaultuser=17771231234
secret=MySuperSeceret
fromuser=17771231234
fromdomain=callcentric.com
insecure=port,invite
;
;
; supermario-world.blogspot.com/20 … voice.html
[101]
type=friend
host=dynamic
nat=yes
qualify=yes
context=to-callcentric TEST ONLY, uncomment next line
;context=mario-default
defaultuser=101
secret=MySuperSeceret
callerid=“SPA2102 L2” <101>
mailbox=101

EXTENSIONS.CONF: Configure Dialplan

[mario-default]
include => to-callcentric
include => local-devices
include => tollfree
include => gv-outbound

[to-callcentric]
; 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/5558251070@voice.google.com) ;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}@callcentric.com)
exten => _1777NXXXXXX,1,Dial(SIP/${EXTEN}@callcentric.com) ;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/18004664411@proxy.ideasip.com,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/1777202XXXX@callcentric.com,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? https://issues.asterisk.org/view.php?id=18932 I am hoping that I am wrong and that someone out there has setup 1.8.4 (preferably Optware) with Callcentric successfully.