GV outbound stop work suddenly

We have few servers, The Google Voice is working fine since day one. but all stop working last night. But inbound call are still working fine. The outbound keep ringing but never reach DEST phone.

I am having the same issue. Calls appear to be ringing out but the number called never actually rings. Anyone have a work around?

Jabber Debugging Enabled.

JABBER: asterisk OUTGOING:
== Spawn extension (from-internal, 12125551212, 1) exited non-zero on ‘SIP/2203-00005130’
== Using SIP RTP CoS mark 5
– Executing [12125551212@from-internal:1] Dial(“SIP/2203-00005131”, “gtalk/asterisk/12125551212@voice.google.com”) in new stack

JABBER: asterisk OUTGOING:
– Called asterisk/12125551212@voice.google.com

JABBER: asterisk INCOMING: <ses:session type=“initiate” initiator="somebody@gmail.com/asterisk7D78119E" id=“4174a287428ee969” xmlns:ses=“http://www.google.com/session”><pho:description xml:lang=“en” xmlns:pho=“http://www.google.com/session/phone”><pho:payload-type id=“0” name=“PCMU” clockrate=“8000” bitrate=“64000”/><pho:payload-type id=“100” name=“EG711U” clockrate=“8000” bitrate=“64000”/><pho:payload-type id=“101” name=“telephone-event” clockrate=“8000”/></pho:description></ses:session><sta:redirect xmlns:sta=“urn:ietf:params:xml:ns:xmpp-stanzas”>xmpp:12125551212@voice.google.com/srvres-MTAuMTM4LjEzNC4zMTo5ODIx</sta:redirect><ses:redirect xmlns:ses=“http://www.google.com/session”>

JABBER: asterisk INCOMING: xmpp:12125551212@voice.google.com/srvres-MTAuMTM4LjEzNC4zMTo5ODIx</ses:redirect>

JABBER: asterisk OUTGOING:
– Gtalk/12125551212@voice.google.com-68bb is ringin

Same account (GV) is working fine with Gmail call out from Desktop computer. Help Please!

I have the same outbound issue running 1.8.5.0.

Small change required in chan_gtalk

issues.asterisk.org/jira/browse/ASTERISK-18301

Anyone able to get the posted fix to work? I am not able to locate the item that needs to be changed in the chan_gtalk.c on line 499. Any clarification that can be provided would be appreciated.

I have one server version is 1.8.3.3

nano /usr/src/asterisk-1.8.3.3/channels/chan_gtalk.c

find line by “iks_find_cdata”

redirect node name is changed from “redirect” to “sta:redirect”.

cd /usr/src/asterisk-1.8.3.3
./configure
make clean
make
make install

I fixed some box at version 1.8.2 as well.

Hopefully Digium updates their packages for those of us using them (Debian Squeeze hint, hint).

Thanks guys that seemed to do the trick on my test server. I appreciate the help with my ignorance :smiley:

Are there any temporary workarounds? Not all of us have a toolchain set up ready to go :stuck_out_tongue:

I have one server version is 1.8.3.3

[b]nano /usr/src/asterisk-1.8.3.3/channels/chan_gtalk.c

find line by “iks_find_cdata”

redirect node name is changed from “redirect” to “sta:redirect”.[/b]

cd /usr/src/asterisk-1.8.3.3
./configure
make clean
make
make install

I fixed some box at version 1.8.2 as well.[/quote]

This fix worked for me … the one posted on the issues page labeled ‘patch’ didn’t work for me either as others have stated. Thank you for sharing this info!

I was running 1.8.3.2 prior to today … went ahead and downloaded 1.8.5.0, edited the /channels/chan_gtalk.c file, and changed the “redirect” to “sta:redirect” for the if argument and compiled the code per the instructions, and installed the update and my GV outbound calling is again working!

and I dare say this IS the workaround until Asterisk is updated next …

I have one server version is 1.8.3.3

nano /usr/src/asterisk-1.8.3.3/channels/chan_gtalk.c

find line by “iks_find_cdata”

redirect node name is changed from “redirect” to “sta:redirect”.

cd /usr/src/asterisk-1.8.3.3
./configure
make clean
make
make install

I fixed some box at version 1.8.2 as well.[/quote]

This fix worked for me as well. 1.8.5.0

I applied the patch this weekend and it worked fine until 10am Eastern (was working fine before that time). Since that time, all calls I made using the newly patch chan_gtalk just rang. I reverted to the old code and gtalk worked again, at least for the time being.

This was verified on two separate gtalk accounts on two separate asterisk servers.

Maybe google was just trying out some new code over the weekend?

Neither is working for me, as of this morning.

Outbound calling has stopped working again for me. After I had done the posted change on Friday 08-19 outbound calling was fixed but now as of this morning it is back doing the same thing as it was doing on Friday.

[quote=“trask768”]I applied the patch this weekend and it worked fine until 10am Eastern (was working fine before that time). Since that time, all calls I made using the newly patch chan_gtalk just rang. I reverted to the old code and gtalk worked again, at least for the time being.

This was verified on two separate gtalk accounts on two separate asterisk servers.

Maybe google was just trying out some new code over the weekend?[/quote]

I also applied the original patch yesterday only to find it broken again this morning.

After rebuilding with the patch removed everything is working normally again.

I changed line 499 to read.

((redirect = iks_find_cdata(traversenodes, “sta:redirect”)) || (redirect = iks_find_cdata(traversenodes, “redirect”)) ) &&

working for me now.

I can also confirm that this works:

((redirect = iks_find_cdata(traversenodes, “sta:redirect”)) || (redirect = iks_find_cdata(traversenodes, “redirect”)) ) &&

This really fixes the problem. Thanks for the great code!

Confirmed that it works on 1.8.4.1 after reboot. I greatly appreciate you guys posting this fix so fast!