dr.x
August 30, 2016, 9:50pm
1
Hi
i have google voice with asterisk 13 that is always calls get cut in the outside and says "not answering "
i have xmpp file that contain google account settings
I’m using the outbound route as
[from-internal-custom]
exten => _1XXXXXXXXXX,1,Dial(Motif/gmailcom/${EXTEN}@voice.google.com ,r)
here is the logs
the calls like 2 rings then dropped
== Using SIP RTP CoS mark 5
– Executing [18008002775@from-internal-custom:1] Dial(“SIP/103-00000040”, “Motif/gmailcom/18008002775@voice.google.com,r”) in new stack
– Called Motif/gmailcom/18008002775@voice.google.com
– Motif/18008002775@voice.google.com-76fd is proceeding passing it to SIP/103-00000040
– No one is available to answer at this time (1:0/0/0)
– Auto fallthrough, channel ‘SIP/103-00000040’ status is 'NOANSWER’
ip-172-30-0-188*CLI>
not sure when it ring twice then dropped
is that something from asterisk or google ?
thanks
dr.x
August 31, 2016, 8:35am
2
Guys Any help ?
i googled all the internet without any help on asterisk 13
will it be working on asterisk 13 or not ??
jcolp
August 31, 2016, 10:06am
3
There have been no modifications to chan_motif in quite some time and there are people continuing to use it. It’s either an issue with your account or something on the Google Voice side. The output of “xmpp set debug on” with a call attempt made would further isolate it.
dr.x
August 31, 2016, 10:26am
4
ip-172-30-0-188*CLI> sip set xmpp on
No such command 'sip set xmpp on' (type 'core show help sip set xmpp' for other possible commands)
ip-172-30-0-188*CLI> xmpp set debug on
XMPP Debugging Enabled.
ip-172-30-0-188*CLI>
== Using SIP RTP CoS mark 5
-- Executing [19189942748@from-internal-custom:1] Dial("SIP/103-0000007b", "Motif/gthesignstore1gmailcom/19189942748@voice.google.com,,r") in new stack
<--- XMPP sent to 'gthesignstore1gmailcom' --->
<iq from='thesignstore1@gmail.com/asterisk-xE3F50807' to='19189942748@voice.google.com' type='set' id='aabtn'><jingle action='session-initiate' sid='242d009e4ea82139' xmlns='urn:xmpp:jingle:1' initiator='thesignstore1@gmail.com/asterisk-xE3F50807'><content creator='initiator' name='audio'><description xmlns='urn:xmpp:jingle:apps:rtp:1' media='audio'><payload-type id='0' name='PCMU' channels='1' clockrate='8000'/><payload-type id='101' name='telephone-event' channels='1' clockrate='8000'/></description><transport xmlns='urn:xmpp:jingle:transports:ice-udp:1'/></content></jingle></iq>
<------------->
-- Called Motif/gthesignstore1gmailcom/19189942748@voice.google.com
<--- XMPP received from 'gthesignstore1gmailcom' --->
<iq from="19189942748@voice.google.com" to="thesignstore1@gmail.com/asterisk-xE3F50807" type="error" id="aabtn"><jingle action="session-initiate" sid="242d009e4ea82139" initiator="thesignstore1@gmail.com/asterisk-xE3F50807" xmlns="urn:xmpp:jingle:1"><content creator="initiator" name="audio"><description media="audio" xmlns="urn:xmpp:jingle:apps:rtp:1"><payload-type id="0" name="PCMU" channels="1" clockrate="8000"/><payload-type id="101" name="telephone-event" channels="1" clockrate="8000"/></description><transport xmlns="urn:xmpp:jingle:transports:ice-udp:1"/></content></jingle><error code="302" type="modify"><redirect xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">xmpp:19189942748@voice.google.com/srvenc-Fl0k3sSthVNSCGknroDPAvP64FF4ruRc</redirect><ses:redirect xmlns:ses="http://www.google.com/session">xmpp:19189942748@voice.google.com/srvenc-Fl0k3sSthVNSCGknroDPAvP64FF4ruRc</ses:redirect></error></iq>
<------------->
<--- XMPP sent to 'gthesignstore1gmailcom' --->
<iq from='thesignstore1@gmail.com/asterisk-xE3F50807' to='19189942748@voice.google.com/srvenc-Fl0k3sSthVNSCGknroDPAvP64FF4ruRc' type='set' id='aabto'><jingle action='session-initiate' sid='242d009e4ea82139' xmlns='urn:xmpp:jingle:1' initiator='thesignstore1@gmail.com/asterisk-xE3F50807'><content creator='initiator' name='audio'><description xmlns='urn:xmpp:jingle:apps:rtp:1' media='audio'><payload-type id='0' name='PCMU' channels='1' clockrate='8000'/><payload-type id='101' name='telephone-event' channels='1' clockrate='8000'/></description><transport xmlns='urn:xmpp:jingle:transports:ice-udp:1'/></content></jingle></iq>
<------------->
<--- XMPP received from 'gthesignstore1gmailcom' --->
<iq from="19189942748@voice.google.com/srvenc-Fl0k3sSthVNSCGknroDPAvP64FF4ruRc" to="thesignstore1@gmail.com/asterisk-xE3F50807" type="error" id="aabto"><jingle action="session-initiate" sid="242d009e4ea82139" initiator="thesignstore1@gmail.com/asterisk-xE3F50807" xmlns="urn:xmpp:jingle:1"><content creator="initiator" name="audio"><description media="audio" xmlns="urn:xmpp:jingle:apps:rtp:1"><payload-type id="0" name="PCMU" channels="1" clockrate="8000"/><payload-type id="101" name="telephone-event" channels="1" clockrate="8000"/></description><transport xmlns="urn:xmpp:jingle:transports:ice-udp:1"/></content></jingle><error code="501" type="cancel"><feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></iq>
<------------->
<--- XMPP sent to 'gthesignstore1gmailcom' --->
<iq from='thesignstore1@gmail.com/asterisk-xE3F50807' to='19189942748@voice.google.com' type='set' id='aabtp'><jingle action='session-initiate' sid='242d009e4ea82139' xmlns='urn:xmpp:jingle:1' initiator='thesignstore1@gmail.com/asterisk-xE3F50807'><content creator='initiator' name='audio'><description xmlns='urn:xmpp:jingle:apps:rtp:1' media='audio'><payload-type id='0' name='PCMU' channels='1' clockrate='8000'/><payload-type id='101' name='telephone-event' channels='1' clockrate='8000'/></description><transport xmlns='http://www.google.com/transport/p2p'/></content></jingle></iq>
<------------->
<--- XMPP received from 'gthesignstore1gmailcom' --->
<iq from="19189942748@voice.google.com" to="thesignstore1@gmail.com/asterisk-xE3F50807" type="error" id="aabtp"><jingle action="session-initiate" sid="242d009e4ea82139" initiator="thesignstore1@gmail.com/asterisk-xE3F50807" xmlns="urn:xmpp:jingle:1"><content creator="initiator" name="audio"><description media="audio" xmlns="urn:xmpp:jingle:apps:rtp:1"><payload-type id="0" name="PCMU" channels="1" clockrate="8000"/><payload-type id="101" name="telephone-event" channels="1" clockrate="8000"/></description><transport xmlns="http://www.google.com/transport/p2p"/></content></jingle><error code="302" type="modify"><redirect xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">xmpp:19189942748@voice.google.com/srvenc-gLGBHUHWTpWjQ8hBRStnDm9XxcBxCsnO</redirect><ses:redirect xmlns:ses="http://www.google.com/session">xmpp:19189942748@voice.google.com/srvenc-gLGBHUHWTpWjQ8hBRStnDm9XxcBxCsnO</ses:redirect></error></iq>
<------------->
<--- XMPP sent to 'gthesignstore1gmailcom' --->
<iq from='thesignstore1@gmail.com/asterisk-xE3F50807' to='19189942748@voice.google.com/srvenc-gLGBHUHWTpWjQ8hBRStnDm9XxcBxCsnO' type='set' id='aabtq'><jingle action='session-initiate' sid='242d009e4ea82139' xmlns='urn:xmpp:jingle:1' initiator='thesignstore1@gmail.com/asterisk-xE3F50807'><content creator='initiator' name='audio'><description xmlns='urn:xmpp:jingle:apps:rtp:1' media='audio'><payload-type id='0' name='PCMU' channels='1' clockrate='8000'/><payload-type id='101' name='telephone-event' channels='1' clockrate='8000'/></description><transport xmlns='http://www.google.com/transport/p2p'/></content></jingle></iq>
<------------->
<--- XMPP received from 'gthesignstore1gmailcom' --->
<iq from="19189942748@voice.google.com/srvenc-gLGBHUHWTpWjQ8hBRStnDm9XxcBxCsnO" to="thesignstore1@gmail.com/asterisk-xE3F50807" type="error" id="aabtq"><jingle action="session-initiate" sid="242d009e4ea82139" initiator="thesignstore1@gmail.com/asterisk-xE3F50807" xmlns="urn:xmpp:jingle:1"><content creator="initiator" name="audio"><description media="audio" xmlns="urn:xmpp:jingle:apps:rtp:1"><payload-type id="0" name="PCMU" channels="1" clockrate="8000"/><payload-type id="101" name="telephone-event" channels="1" clockrate="8000"/></description><transport xmlns="http://www.google.com/transport/p2p"/></content></jingle><error code="501" type="cancel"><feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></iq>
<------------->
<--- XMPP sent to 'gthesignstore1gmailcom' --->
<iq from='thesignstore1@gmail.com/asterisk-xE3F50807' to='19189942748@voice.google.com' type='set' id='aabtr'><session type='initiate' id='242d009e4ea82139' xmlns='http://www.google.com/session' initiator='thesignstore1@gmail.com/asterisk-xE3F50807'><description xmlns='http://www.google.com/session/phone'><payload-type xmlns='http://www.google.com/session/phone' id='0' name='PCMU' channels='1' clockrate='8000'/><payload-type xmlns='http://www.google.com/session/phone' id='101' name='telephone-event' channels='1' clockrate='8000'/></description></session></iq>
<------------->
<--- XMPP received from 'gthesignstore1gmailcom' --->
<iq from="19189942748@voice.google.com" to="thesignstore1@gmail.com/asterisk-xE3F50807" type="error" id="aabtr"><session type="initiate" id="242d009e4ea82139" initiator="thesignstore1@gmail.com/asterisk-xE3F50807" xmlns="http://www.google.com/session"><description xmlns="http://www.google.com/session/phone"><payload-type id="0" name="PCMU" channels="1" clockrate="8000"/><payload-type id="101" name="telephone-event" channels="1" clockrate="8000"/></description></session><error code="302" type="modify"><redirect xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">xmpp:19189942748@voice.google.com/srvenc-s+YdrLNt4eTaya9b+aZwYA==</redirect><ses:redirect xmlns:ses="http://www.google.com/session">xmpp:19189942748@voice.google.com/srvenc-s+YdrLNt4eTaya9b+aZwYA==</ses:redirect></error></iq>
<------------->
<--- XMPP sent to 'gthesignstore1gmailcom' --->
<iq from='thesignstore1@gmail.com/asterisk-xE3F50807' to='19189942748@voice.google.com/srvenc-s+YdrLNt4eTaya9b+aZwYA==' type='set' id='aabts'><session type='initiate' id='242d009e4ea82139' xmlns='http://www.google.com/session' initiator='thesignstore1@gmail.com/asterisk-xE3F50807'><description xmlns='http://www.google.com/session/phone'><payload-type xmlns='http://www.google.com/session/phone' id='0' name='PCMU' channels='1' clockrate='8000'/><payload-type xmlns='http://www.google.com/session/phone' id='101' name='telephone-event' channels='1' clockrate='8000'/></description></session></iq>
<------------->
<--- XMPP received from 'gthesignstore1gmailcom' --->
<iq to="thesignstore1@gmail.com/asterisk-xE3F50807" from="19189942748@voice.google.com/srvenc-s+YdrLNt4eTaya9b+aZwYA==" id="aabts" type="result"/>
<------------->
<--- XMPP sent to 'gthesignstore1gmailcom' --->
<iq from='thesignstore1@gmail.com/asterisk-xE3F50807' to='19189942748@voice.google.com/srvenc-s+YdrLNt4eTaya9b+aZwYA==' type='set' id='aabtt'><session type='candidates' id='242d009e4ea82139' xmlns='http://www.google.com/session' initiator='thesignstore1@gmail.com/asterisk-xE3F50807'><candidate name='rtp' address='172.30.0.188' port='8428' preference='0.95' type='local' protocol='udp' network='0' username='349fcb73052e6426' generation='0' password='' foundation='0' component='1'/><candidate name='rtcp' address='172.30.0.188' port='8429' preference='0.95' type='local' protocol='udp' network='0' username='349fcb73052e6426' generation='0' password='' foundation='0' component='1'/></session></iq>
<------------->
-- Motif/19189942748@voice.google.com-b10d is proceeding passing it to SIP/103-0000007b
<--- XMPP received from 'gthesignstore1gmailcom' --->
<iq to="thesignstore1@gmail.com/asterisk-xE3F50807" from="19189942748@voice.google.com/srvenc-s+YdrLNt4eTaya9b+aZwYA==" id="aabtt" type="result"/>
<------------->
<--- XMPP received from 'gthesignstore1gmailcom' --->
<iq from="19189942748@voice.google.com/srvenc-s+YdrLNt4eTaya9b+aZwYA==" to="thesignstore1@gmail.com/asterisk-xE3F50807" id="jingle:10.33.6.194-919410976:1:D94761B3" type="set"><ses:session type="candidates" id="242d009e4ea82139" initiator="thesignstore1@gmail.com/asterisk-xE3F50807" xmlns:ses="http://www.google.com/session"><ses:candidate name="rtp" address="74.125.39.32" port="19305" username="5B632F5A4BF72D51" preference="3.0" protocol="udp" network="mediaproxy" generation="0" password="" type="relay"/><ses:candidate name="rtp" address="74.125.39.32" port="19305" username="5B632F5A4BF72D51" preference="2.0" protocol="tcp" network="mediaproxy" generation="0" password="" type="relay"/><ses:candidate name="rtp" address="74.125.39.32" port="443" username="5B632F5A4BF72D51" preference="1.0" protocol="ssltcp" network="mediaproxy" generation="0" password="" type="relay"/></ses:session></iq>
<------------->
<--- XMPP sent to 'gthesignstore1gmailcom' --->
<iq type='result' from='thesignstore1@gmail.com/asterisk-xE3F50807' to='19189942748@voice.google.com/srvenc-s+YdrLNt4eTaya9b+aZwYA==' id='jingle:10.33.6.194-919410976:1:D94761B3'/>
<------------->
<--- XMPP received from 'gthesignstore1gmailcom' --->
<iq from="19189942748@voice.google.com/srvenc-s+YdrLNt4eTaya9b+aZwYA==" to="thesignstore1@gmail.com/asterisk-xE3F50807" id="jingle:10.33.6.194-919410976:1:D94761B4" type="set"><ses:session type="terminate" id="242d009e4ea82139" initiator="thesignstore1@gmail.com/asterisk-xE3F50807" xmlns:ses="http://www.google.com/session"><jin:reason xmlns:jin="urn:xmpp:jingle:1"><jin:decline/><ses:text>Caller disconnected</ses:text></jin:reason><pho:call-ended xmlns:pho="http://www.google.com/session/phone"/></ses:session></iq>
<------------->
<--- XMPP sent to 'gthesignstore1gmailcom' --->
<iq type='result' from='thesignstore1@gmail.com/asterisk-xE3F50807' to='19189942748@voice.google.com/srvenc-s+YdrLNt4eTaya9b+aZwYA==' id='jingle:10.33.6.194-919410976:1:D94761B4'/>
<------------->
-- No one is available to answer at this time (1:0/0/0)
-- Auto fallthrough, channel 'SIP/103-0000007b' status is 'NOANSWER'
ip-172-30-0-188*CLI>
Disconnected from Asterisk server
Asterisk cleanly ending (0).
Executing last minute cleanups
[root@ip-172-30-0-188 ~]#
jcolp
August 31, 2016, 11:24am
5
You’re going to need to click the “preformatted text” button and put the contents in that, or else lots of information is lost.
dr.x
August 31, 2016, 11:53am
6
done
i have updated that above
cheers
jcolp
August 31, 2016, 12:11pm
7
Google is terminating your call from their side, why that is I do not know.
dr.x
August 31, 2016, 12:16pm
8
im not sure
i can dial out from my GV account .
but form asterisk no !!!
not sure if there is setting in GV for allowing that
i already have the incoming working
???
jcolp
August 31, 2016, 12:19pm
9
I have no reason why you can’t, and that’s the extent of the support I can provide on Google Voice. It’s best effort, it may or may not work.
surp
September 7, 2016, 5:13pm
10
I have it working with Asterisk 13 on Freepbx. You have to override capcha and disable enhanced security on the Google end. Not sure if those things apply to your problem.
dr.x
September 10, 2016, 3:50pm
11
hi
i could get it working after sometime , may be its issue form google .
anyway i found a nice video for asterisk compilation for google voice that was helpful much
best luck