Author Topic: Asterisk + Google Voice  (Read 5794 times)

foogee

  • Regular Poster
  • **
  • Posts: 17
    • View Profile
    • vps
Asterisk + Google Voice
« on: August 23, 2012, 03:59:33 am »
i  am not very familiar with asterisk. please help.

i see a connection to my account

core1*CLI> jabber show connections
Jabber Users and their status:
       [asterisk] myusername@gmail.com/Talk     - Connected
----
   Number of users: 1


when i try to place a call i see this output in asterisk -rvvvvvvvv


also advanced > configuraiton > phones setup comes back with 404 not found /admin/




core1*CLI>
core1*CLI>
[Aug 22 21:57:05] WARNING[26903]: pbx_impl/ast/ast108.c:1159 sccp_wrapper_asterisk18_request: remote audio caps: (nothing)
[Aug 22 21:57:05] WARNING[26903]: pbx_impl/ast/ast108.c:1162 sccp_wrapper_asterisk18_request: remote video caps: (nothing)
    -- SCCP/ does not exist!
[Aug 22 21:57:05] WARNING[26903]: pbx_impl/ast/ast108.c:1172 sccp_wrapper_asterisk18_request: SCCP: sccp_requestChannel Status not Successfull
[Aug 22 21:57:05] NOTICE[26903]: channel.c:5325 __ast_request_and_dial: Unable to request channel SCCP/
    -- Executing [failed@trusted:1] Macro("OutgoingSpoolFailed", "dialout-trunk,GTALK/myusername@gmail.com,ailed@voice.google.com,,")
    -- Executing [s@macro-dialout-trunk:1] Set("OutgoingSpoolFailed", "DIAL_TRUNK=GTALK/myusername@gmail.com") in new stack
    -- Executing [s@macro-dialout-trunk:2] Set("OutgoingSpoolFailed", "DIAL_NUMBER=ailed@voice.google.com") in new stack
    -- Executing [s@macro-dialout-trunk:3] Set("OutgoingSpoolFailed", "ROUTE_PASSWD=") in new stack
    -- Executing [s@macro-dialout-trunk:4] GotoIf("OutgoingSpoolFailed", "1?noauth") in new stack
    -- Goto (macro-dialout-trunk,s,6)
    -- Executing [s@macro-dialout-trunk:6] GotoIf("OutgoingSpoolFailed", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:7] Set("OutgoingSpoolFailed", "_NODEST=") in new stack
    -- Executing [s@macro-dialout-trunk:8] Set("OutgoingSpoolFailed", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:9] Set("OutgoingSpoolFailed", "GROUP()=DIAL_TRUNK") in new stack
    -- Executing [s@macro-dialout-trunk:10] Macro("OutgoingSpoolFailed", "user-callerid,SKIPTTL") in new stack
    -- Executing [s@macro-user-callerid:1] NoOp("OutgoingSpoolFailed", "user-callerid:  ") in new stack
    -- Executing [s@macro-user-callerid:2] Set("OutgoingSpoolFailed", "AMPUSER=") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("OutgoingSpoolFailed", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] GotoIf("OutgoingSpoolFailed", "0?start") in new stack
    -- Executing [s@macro-user-callerid:5] Set("OutgoingSpoolFailed", "REALCALLERIDNUM=") in new stack
    -- Executing [s@macro-user-callerid:6] NoOp("OutgoingSpoolFailed", "REALCALLERIDNUM is ") in new stack
    -- Executing [s@macro-user-callerid:7] Set("OutgoingSpoolFailed", "AMPUSER=") in new stack
    -- Executing [s@macro-user-callerid:8] Set("OutgoingSpoolFailed", "AMPUSERCIDNAME=") in new stack
    -- Executing [s@macro-user-callerid:9] GotoIf("OutgoingSpoolFailed", "1?report") in new stack
    -- Goto (macro-user-callerid,s,13)
    -- Executing [s@macro-user-callerid:13] NoOp("OutgoingSpoolFailed", "TTL:  ARG1: SKIPTTL") in new stack
    -- Executing [s@macro-user-callerid:14] GotoIf("OutgoingSpoolFailed", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,23)
    -- Executing [s@macro-user-callerid:23] NoOp("OutgoingSpoolFailed", "Using CallerID "" <>") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("OutgoingSpoolFailed", "record-enable,,OUT") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("OutgoingSpoolFailed", "0?2:4") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("OutgoingSpoolFailed", "recordingcheck,20120822-215705,1345687025.32") in new stack
    -- Launched AGI Script /usr/share/asterisk/agi-bin/recordingcheck
 recordingcheck,20120822-215705,1345687025.32: No AMPUSER db entry for . Not recording
    -- <OutgoingSpoolFailed>AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] NoOp("OutgoingSpoolFailed", "No recording needed") in new stack
    -- Executing [s@macro-dialout-trunk:12] GotoIf("OutgoingSpoolFailed", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("OutgoingSpoolFailed", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:14] Macro("OutgoingSpoolFailed", "outbound-callerid,GTALK/myusername@gmail.com") in new stack
    -- Executing [s@macro-outbound-callerid:1] GotoIf("OutgoingSpoolFailed", "0?start") in new stack
    -- Executing [s@macro-outbound-callerid:2] Set("OutgoingSpoolFailed", "REALCALLERIDNUM=") in new stack
    -- Executing [s@macro-outbound-callerid:3] NoOp("OutgoingSpoolFailed", "REALCALLERIDNUM is ") in new stack
    -- Executing [s@macro-outbound-callerid:4] GotoIf("OutgoingSpoolFailed", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,9)
    -- Executing [s@macro-outbound-callerid:9] Set("OutgoingSpoolFailed", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:10] Set("OutgoingSpoolFailed", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:11] Set("OutgoingSpoolFailed", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:12] GotoIf("OutgoingSpoolFailed", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,16)
    -- Executing [s@macro-outbound-callerid:16] GotoIf("OutgoingSpoolFailed", "1?usercid") in new stack
    -- Goto (macro-outbound-callerid,s,18)
    -- Executing [s@macro-outbound-callerid:18] GotoIf("OutgoingSpoolFailed", "1?report") in new stack
    -- Goto (macro-outbound-callerid,s,22)
    -- Executing [s@macro-outbound-callerid:22] NoOp("OutgoingSpoolFailed", "CallerID set to "" <>") in new stack
    -- Executing [s@macro-dialout-trunk:15] GotoIf("OutgoingSpoolFailed", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,17)
    -- Executing [s@macro-dialout-trunk:17] Set("OutgoingSpoolFailed", "OUTNUM=ailed@voice.google.com") in new stack
    -- Executing [s@macro-dialout-trunk:18] Set("OutgoingSpoolFailed", "custom=GTALK/myusername@gmail.com") in new stack
    -- Executing [s@macro-dialout-trunk:19] GotoIf("OutgoingSpoolFailed", "1?gocall") in new stack
    -- Goto (macro-dialout-trunk,s,22)
    -- Executing [s@macro-dialout-trunk:22] GotoIf("OutgoingSpoolFailed", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:23] Dial("OutgoingSpoolFailed", "GTALK/myusername@gmail.com/ailed@voice.google.com,300,") in new stack
OOOOH domain = myusername
    -- Called GTALK/myusername@gmail.com/ailed@voice.google.com
    -- Gtalk/ailed@voice.google.com-ebd1 is ringing
[Aug 22 21:57:05] WARNING[26903]: channel.c:4650 ast_prod: Prodding channel 'OutgoingSpoolFailed' failed
[Aug 22 21:57:05] WARNING[26903]: channel.c:1094 ast_best_codec: Don't know any of 0x0 (nothing) formats
  == Spawn extension (macro-dialout-trunk, s, 23) exited non-zero on 'OutgoingSpoolFailed' in macro 'dialout-trunk'
  == Spawn extension (trusted, failed, 1) exited non-zero on 'OutgoingSpoolFailed'
    -- Executing [h@trusted:1] Macro("OutgoingSpoolFailed", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] ResetCDR("OutgoingSpoolFailed", "w") in new stack
    -- Executing [s@macro-hangupcall:2] NoCDR("OutgoingSpoolFailed", "") in new stack
    -- Executing [s@macro-hangupcall:3] GotoIf("OutgoingSpoolFailed", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,6)
    -- Executing [s@macro-hangupcall:6] GotoIf("OutgoingSpoolFailed", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] GotoIf("OutgoingSpoolFailed", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,11)
    -- Executing [s@macro-hangupcall:11] Hangup("OutgoingSpoolFailed", "") in new stack
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'OutgoingSpoolFailed' in macro 'hangupcall'
  == Spawn extension (trusted, h, 1) exited non-zero on 'OutgoingSpoolFailed'
core1*CLI>

huh

  • Guru
  • ****
  • Posts: 245
    • View Profile
Re: Asterisk + Google Voice
« Reply #1 on: August 23, 2012, 05:23:02 am »
I too am interested in getting this working.  There is an open trac ticket
« Last Edit: August 23, 2012, 05:25:09 am by huh »

cfernandes

  • Guru
  • ****
  • Posts: 359
    • View Profile
    • my company web site
Re: Asterisk + Google Voice
« Reply #2 on: August 23, 2012, 12:30:06 pm »
you are using linuxmce   810  or 10.04

foogee

  • Regular Poster
  • **
  • Posts: 17
    • View Profile
    • vps
Re: Asterisk + Google Voice
« Reply #3 on: August 23, 2012, 03:28:49 pm »
this is 10.04

foogee

  • Regular Poster
  • **
  • Posts: 17
    • View Profile
    • vps
Re: Asterisk + Google Voice
« Reply #4 on: August 27, 2012, 11:05:51 pm »
i tried to configure iax2 and have a similar result.



[Aug 27 17:04:33] WARNING[10993]: pbx_impl/ast/ast108.c:1159 sccp_wrapper_asterisk18_request: remote audio caps: (nothing)
[Aug 27 17:04:33] WARNING[10993]: pbx_impl/ast/ast108.c:1162 sccp_wrapper_asterisk18_request: remote video caps: (nothing)
    -- SCCP/ does not exist!
[Aug 27 17:04:33] WARNING[10993]: pbx_impl/ast/ast108.c:1172 sccp_wrapper_asterisk18_request: SCCP: sccp_requestChannel Status not Successfull
[Aug 27 17:04:33] NOTICE[10993]: channel.c:5325 __ast_request_and_dial: Unable to request channel SCCP/
    -- Executing [failed@trusted:1] Macro("OutgoingSpoolFailed", "dialout-trunk,IAX2/2016051440,ailed,,")
    -- Executing [s@macro-dialout-trunk:1] Set("OutgoingSpoolFailed", "DIAL_TRUNK=IAX2/2016051440") in new stack
    -- Executing [s@macro-dialout-trunk:2] Set("OutgoingSpoolFailed", "DIAL_NUMBER=ailed") in new stack
    -- Executing [s@macro-dialout-trunk:3] Set("OutgoingSpoolFailed", "ROUTE_PASSWD=") in new stack
    -- Executing [s@macro-dialout-trunk:4] GotoIf("OutgoingSpoolFailed", "1?noauth") in new stack
    -- Goto (macro-dialout-trunk,s,6)
    -- Executing [s@macro-dialout-trunk:6] GotoIf("OutgoingSpoolFailed", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:7] Set("OutgoingSpoolFailed", "_NODEST=") in new stack
    -- Executing [s@macro-dialout-trunk:8] Set("OutgoingSpoolFailed", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:9] Set("OutgoingSpoolFailed", "GROUP()=DIAL_TRUNK") in new stack
    -- Executing [s@macro-dialout-trunk:10] Macro("OutgoingSpoolFailed", "user-callerid,SKIPTTL") in new stack
    -- Executing [s@macro-user-callerid:1] NoOp("OutgoingSpoolFailed", "user-callerid:  ") in new stack
    -- Executing [s@macro-user-callerid:2] Set("OutgoingSpoolFailed", "AMPUSER=") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("OutgoingSpoolFailed", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] GotoIf("OutgoingSpoolFailed", "0?start") in new stack
    -- Executing [s@macro-user-callerid:5] Set("OutgoingSpoolFailed", "REALCALLERIDNUM=") in new stack
    -- Executing [s@macro-user-callerid:6] NoOp("OutgoingSpoolFailed", "REALCALLERIDNUM is ") in new stack
    -- Executing [s@macro-user-callerid:7] Set("OutgoingSpoolFailed", "AMPUSER=") in new stack
    -- Executing [s@macro-user-callerid:8] Set("OutgoingSpoolFailed", "AMPUSERCIDNAME=") in new stack
    -- Executing [s@macro-user-callerid:9] GotoIf("OutgoingSpoolFailed", "1?report") in new stack
    -- Goto (macro-user-callerid,s,13)
    -- Executing [s@macro-user-callerid:13] NoOp("OutgoingSpoolFailed", "TTL:  ARG1: SKIPTTL") in new stack
    -- Executing [s@macro-user-callerid:14] GotoIf("OutgoingSpoolFailed", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,23)
    -- Executing [s@macro-user-callerid:23] NoOp("OutgoingSpoolFailed", "Using CallerID "" <>") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("OutgoingSpoolFailed", "record-enable,,OUT") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("OutgoingSpoolFailed", "0?2:4") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("OutgoingSpoolFailed", "recordingcheck,20120827-170433,1346101473.464") in new stack
    -- Launched AGI Script /usr/share/asterisk/agi-bin/recordingcheck
 recordingcheck,20120827-170433,1346101473.464: No AMPUSER db entry for . Not recording
    -- <OutgoingSpoolFailed>AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] NoOp("OutgoingSpoolFailed", "No recording needed") in new stack
    -- Executing [s@macro-dialout-trunk:12] GotoIf("OutgoingSpoolFailed", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("OutgoingSpoolFailed", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:14] Macro("OutgoingSpoolFailed", "outbound-callerid,IAX2/2016051440") in new stack
    -- Executing [s@macro-outbound-callerid:1] GotoIf("OutgoingSpoolFailed", "0?start") in new stack
    -- Executing [s@macro-outbound-callerid:2] Set("OutgoingSpoolFailed", "REALCALLERIDNUM=") in new stack
    -- Executing [s@macro-outbound-callerid:3] NoOp("OutgoingSpoolFailed", "REALCALLERIDNUM is ") in new stack
    -- Executing [s@macro-outbound-callerid:4] GotoIf("OutgoingSpoolFailed", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,9)
    -- Executing [s@macro-outbound-callerid:9] Set("OutgoingSpoolFailed", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:10] Set("OutgoingSpoolFailed", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:11] Set("OutgoingSpoolFailed", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:12] GotoIf("OutgoingSpoolFailed", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,16)
    -- Executing [s@macro-outbound-callerid:16] GotoIf("OutgoingSpoolFailed", "1?usercid") in new stack
    -- Goto (macro-outbound-callerid,s,18)
    -- Executing [s@macro-outbound-callerid:18] GotoIf("OutgoingSpoolFailed", "1?report") in new stack
    -- Goto (macro-outbound-callerid,s,22)
    -- Executing [s@macro-outbound-callerid:22] NoOp("OutgoingSpoolFailed", "CallerID set to "" <>") in new stack
    -- Executing [s@macro-dialout-trunk:15] GotoIf("OutgoingSpoolFailed", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,17)
    -- Executing [s@macro-dialout-trunk:17] Set("OutgoingSpoolFailed", "OUTNUM=ailed") in new stack
    -- Executing [s@macro-dialout-trunk:18] Set("OutgoingSpoolFailed", "custom=IAX2/2016051440") in new stack
    -- Executing [s@macro-dialout-trunk:19] GotoIf("OutgoingSpoolFailed", "1?gocall") in new stack
    -- Goto (macro-dialout-trunk,s,22)
    -- Executing [s@macro-dialout-trunk:22] GotoIf("OutgoingSpoolFailed", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:23] Dial("OutgoingSpoolFailed", "IAX2/2016051440/ailed,300,") in new stack
    -- Called IAX2/2016051440/ailed

cfernandes

  • Guru
  • ****
  • Posts: 359
    • View Profile
    • my company web site
Re: Asterisk + Google Voice
« Reply #5 on: August 28, 2012, 04:02:19 pm »
i do some test in my installation  and now   trunk google voice is created  correct  and i able  to call .

i make some  modifications on  db_phone_config.sh   

i have create a  Ticket #1551

http://svn.linuxmce.org/trac.cgi/ticket/1551