[asterisk-users] Google Voice and back (chan_motif)

Co-op Vacation Rentals coopvr at gmail.com
Mon Nov 5 22:55:52 CST 2012


Try adding

transport=google-v1 to motif.conf

[google-jd]
context=incoming-motif
disallow=all
allow=speex
allow=ulaw
allow=g722
allow=h264
allow=alaw
*transport=google-v1*
connection=google-jd ; <-> xmpp.conf

[google-cathy]
context=incoming-motif
disallow=all
allow=speex
allow=ulaw
allow=g722
allow=h264
allow=alaw
*transport=google-v1*
connection=google-cathy ; <-> xmpp.conf


On 11/05/2012 08:35 PM, Jean-Denis Girard wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> Today I started to experiment with Google Voice and Asterisk-11.0.1.
>
> Following the instructions on the wiki
> (https://wiki.asterisk.org/wiki/display/AST/Calling+using+Google), I was
> able to make / receive calls quite easily with a single account on asterisk.
>
> Then I tried to add a second Google Voice account to Asterisk, and make
> calls between accounts. I defined a second connection in xmpp.conf, a
> second account in chan_motif (see relevant configuration below).
>
> I'm getting the following error:
> ERROR[28651][C-00000002]: chan_motif.c:1971
> jingle_interpret_ice_udp_transport: Incomplete ICE-UDP candidate
> received on session
> (see full log below)
>
> Should I open a bug report or did I make an mistake in configuration?
>
>
> motif.conf:
> - -----------
> [google-jd]
> context=incoming-motif
> disallow=all
> allow=speex
> allow=ulaw
> allow=g722
> allow=h264
> allow=alaw
> connection=google-jd ; <-> xmpp.conf
>
> [google-cathy]
> context=incoming-motif
> disallow=all
> allow=speex
> allow=ulaw
> allow=g722
> allow=h264
> allow=alaw
> connection=google-cathy ; <-> xmpp.conf
>
>
> xmpp.conf:
> - ----------
> [google-jd]
> type=client
> serverhost=talk.google.com
> username=jeandenis.girard at gmail.com
> secret=xxxxxxxxxx
> priority=1
> port=5222
> usetls=yes
> usesasl=yes
> status=available
> statusmessage="Disponible - GMT-10 !"
> timeout=5
>
> [google-cathy]
> type=client
> serverhost=talk.google.com
> username=cathy.fourny at gmail.com
> secret=xxxxxxxx
> priority=1
> port=5222
> usetls=yes
> usesasl=yes
> status=available
> statusmessage="Disponible - GMT-10 !"
> timeout=5
>
> extensions.conf:
> - ----------------
> [incoming-motif]
> exten => s,1,NoOp()
>     same => n,Wait(1)
>     same => n,Answer()
>     same => n,SendDTMF(1)
>     same => n,Dial(SIP/FYJmmzJ3,20)
>
>
> call log:
> - ---------
>    == Using SIP VIDEO TOS bits 136
>    == Using SIP VIDEO CoS mark 6
>    == Using SIP RTP TOS bits 184
>    == Using SIP RTP CoS mark 5
>      -- Executing [711112 at i9PuqEcv:1] Dial("SIP/i9PuqEcv-00000002",
> "Motif/google-jd/cathy.fourny at gmail.com,,r") in new stack
>
> <--- XMPP sent to 'google-jd' --->
> <iq from='jeandenis.girard at gmail.com/asterisk-xBEE0DF06'
> to='cathy.fourny at gmail.com/asterisk-xD2C13566' type='set'
> id='aaaao'><jingle action='session-initiate' sid='7e44df781ce623b6'
> xmlns='urn:xmpp:jingle:1'
> initiator='jeandenis.girard at gmail.com/asterisk-xBEE0DF06'><content
> creator='initiator' name='audio'><description
> xmlns='urn:xmpp:jingle:apps:rtp:1' media='audio'><payload-type id='110'
> name='speex' channels='1' clockrate='8000'/><payload-type id='0'
> name='PCMU' channels='1' clockrate='8000'/><payload-type id='9'
> name='G722' channels='1' clockrate='8000'/><payload-type id='8'
> name='PCMA' 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/google-jd/cathy.fourny at gmail.com
>
> <--- XMPP received from 'google-jd' --->
>
> <------------->
>
> <--- XMPP received from 'google-cathy' --->
> <iq from="jeandenis.girard at gmail.com/asterisk-xBEE0DF06"
> to="cathy.fourny at gmail.com/asterisk-xD2C13566" type="set"
> id="aaaao"><jingle action="session-initiate" sid="7e44df781ce623b6"
> initiator="jeandenis.girard at gmail.com/asterisk-xBEE0DF06"
> xmlns="urn:xmpp:jingle:1"><content creator="initiator"
> name="audio"><description media="audio"
> xmlns="urn:xmpp:jingle:apps:rtp:1"><payload-type id="110" name="speex"
> channels="1" clockrate="8000"/><payload-type id="0" name="PCMU"
> channels="1" clockrate="8000"/><payload-type id="9" name="G722"
> channels="1" clockrate="8000"/><payload-type id="8" name="PCMA"
> 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 sent to 'google-cathy' --->
> <iq type='result' from='cathy.fourny at gmail.com/asterisk-xD2C13566'
> to='jeandenis.girard at gmail.com/asterisk-xBEE0DF06' id='aaaao'/>
> <------------->
>
> <--- XMPP sent to 'google-cathy' --->
> <iq from='cathy.fourny at gmail.com/asterisk-xD2C13566'
> to='jeandenis.girard at gmail.com/asterisk-xBEE0DF06' type='set'
> id='aaaaj'><jingle action='transport-info' sid='7e44df781ce623b6'
> xmlns='urn:xmpp:jingle:1'><content creator='responder'
> name='audio'><transport xmlns='urn:xmpp:jingle:transports:ice-udp:1'
> pwd='4b4001b575f3c7b824e14d9436d5f466'
> ufrag='6c28e0a07a5269e82ee313d916a046f7'><candidate component='1'
> foundation='583375015' generation='0' id='0a86' ip='192.168.1.1'
> port='16384' priority='2130706431' protocol='udp'
> type='host'/><candidate component='1' foundation='583378294'
> generation='0' id='3c7f' ip='192.168.0.10' port='16384'
> priority='2130706431' protocol='udp' type='host'/><candidate
> component='1' foundation='192809686' generation='0' id='85cc'
> ip='123.50.122.114' port='16384' priority='2130706431' protocol='udp'
> type='host'/><candidate component='2' foundation='583375015'
> generation='0' id='cc6e' ip='192.168.1.1' port='16385'
> priority='2130706430' protocol='udp' type='host'/><candidate
> component='2' foundation='583378294' generation='0' id='5cb8'
> ip='192.168.0.10' port='16385' priority='2130706430' protocol='udp'
> type='host'/><candidate component='2' foundation='192809686'
> generation='0' id='aaf7' ip='123.50.122.114' port='16385'
> priority='2130706430' protocol='udp'
> type='host'/></transport></content></jingle></iq>
> <------------->
>      -- Executing [s at incoming-motif:1]
> NoOp("Motif/jeandenis.girard-646f", "") in new stack
>      -- Executing [s at incoming-motif:2]
> Wait("Motif/jeandenis.girard-646f", "1") in new stack
>
> <--- XMPP received from 'google-jd' --->
> <iq type="result" from="cathy.fourny at gmail.com/asterisk-xD2C13566"
> to="jeandenis.girard at gmail.com/asterisk-xBEE0DF06" id="aaaao"/>
> <------------->
>
> <--- XMPP sent to 'google-jd' --->
> <iq from='jeandenis.girard at gmail.com/asterisk-xBEE0DF06'
> to='cathy.fourny at gmail.com/asterisk-xD2C13566' type='set'
> id='aaaap'><jingle action='transport-info' sid='7e44df781ce623b6'
> xmlns='urn:xmpp:jingle:1'><content creator='initiator'
> name='audio'><transport xmlns='urn:xmpp:jingle:transports:ice-udp:1'
> pwd='2058a64771e310fd576c563678cccd67'
> ufrag='049597be78a9a2b91e37321e54d923c7'><candidate component='1'
> foundation='583375015' generation='0' id='7b63' ip='192.168.1.1'
> port='16118' priority='2130706431' protocol='udp'
> type='host'/><candidate component='1' foundation='583378294'
> generation='0' id='37c5' ip='192.168.0.10' port='16118'
> priority='2130706431' protocol='udp' type='host'/><candidate
> component='1' foundation='192809686' generation='0' id='72eb'
> ip='123.50.122.114' port='16118' priority='2130706431' protocol='udp'
> type='host'/><candidate component='2' foundation='583375015'
> generation='0' id='7732' ip='192.168.1.1' port='16119'
> priority='2130706430' protocol='udp' type='host'/><candidate
> component='2' foundation='583378294' generation='0' id='cedf'
> ip='192.168.0.10' port='16119' priority='2130706430' protocol='udp'
> type='host'/><candidate component='2' foundation='192809686'
> generation='0' id='76d2' ip='123.50.122.114' port='16119'
> priority='2130706430' protocol='udp'
> type='host'/></transport></content></jingle></iq>
> <------------->
>      -- Motif/cathy.fourny at gmail.com/asterisk-xD2C13566-2001 is
> proceeding passing it to SIP/i9PuqEcv-00000002
>
> <--- XMPP received from 'google-jd' --->
> <iq from="cathy.fourny at gmail.com/asterisk-xD2C13566"
> to="jeandenis.girard at gmail.com/asterisk-xBEE0DF06" type="set"
> id="aaaaj"><jingle action="transport-info" sid="7e44df781ce623b6"
> xmlns="urn:xmpp:jingle:1"><content creator="responder"
> name="audio"><transport pwd="4b4001b575f3c7b824e14d9436d5f466"
> ufrag="6c28e0a07a5269e82ee313d916a046f7"
> xmlns="urn:xmpp:jingle:transports:ice-udp:1"><candidate component="1"
> foundation="583375015" generation="0" id="0a86" ip="192.168.1.1"
> port="16384" priority="2130706431" protocol="udp"
> type="host"/><candidate component="1" foundation="583378294"
> generation="0" id="3c7f" ip="192.168.0.10" port="16384"
> priority="2130706431" protocol="udp" type="host"/><candidate
> component="1" foundation="192809686" generation="0" id="85cc"
> ip="123.50.122.114" port="16384" priority="2130706431" protocol="udp"
> type="host"/><candidate component="2" foundation="583375015"
> generation="0" id="cc6e" ip="192.168.1.1" port="16385"
> priority="2130706430" protocol="udp" type="host"/><
> <------------->
>
> <--- XMPP received from 'google-jd' --->
> candidate component="2" foundation="583378294" generation="0" id="5cb8"
> ip="192.168.0.10" port="16385" priority="2130706430" protocol="udp"
> type="host"/><candidate component="2" foundation="192809686"
> generation="0" id="aaf7" ip="123.50.122.114" port="16385"
> priority="2130706430" protocol="udp"
> type="host"/></transport></content></jingle></iq>
> <------------->
> [Nov  5 18:30:15] ERROR[28651][C-00000004]: chan_motif.c:1971
> jingle_interpret_ice_udp_transport: Incomplete ICE-UDP candidate
> received on session '7e44df781ce623b6'
>
> <--- XMPP sent to 'google-jd' --->
> <iq type='result' from='jeandenis.girard at gmail.com/asterisk-xBEE0DF06'
> to='cathy.fourny at gmail.com/asterisk-xD2C13566' id='aaaaj'/>
> <------------->
>
> <--- XMPP sent to 'google-jd' --->
> <iq to='cathy.fourny at gmail.com/asterisk-xD2C13566' type='set'
> id='aaaaq'><jingle action='session-terminate' sid='7e44df781ce623b6'
> xmlns='urn:xmpp:jingle:1'><reason><failed-transport/></reason></jingle></iq>
> <------------->
>    == Everyone is busy/congested at this time (1:0/0/1)
>      -- Auto fallthrough, channel 'SIP/i9PuqEcv-00000002' status is
> 'CHANUNAVAIL'
>
> <--- XMPP received from 'google-cathy' --->
> <iq from="jeandenis.girard at gmail.com/asterisk-xBEE0DF06"
> to="cathy.fourny at gmail.com/asterisk-xD2C13566" type="set"
> id="aaaap"><jingle action="transport-info" sid="7e44df781ce623b6"
> xmlns="urn:xmpp:jingle:1"><content creator="initiator"
> name="audio"><transport pwd="2058a64771e310fd576c563678cccd67"
> ufrag="049597be78a9a2b91e37321e54d923c7"
> xmlns="urn:xmpp:jingle:transports:ice-udp:1"><candidate component="1"
> foundation="583375015" generation="0" id="7b63" ip="192.168.1.1"
> port="16118" priority="2130706431" protocol="udp"
> type="host"/><candidate component="1" foundation="583378294"
> generation="0" id="37c5" ip="192.168.0.10" port="16118"
> priority="2130706431" protocol="udp" type="host"/><candidate
> component="1" foundation="192809686" generation="0" id="72eb"
> ip="123.50.122.114" port="16118" priority="2130706431" protocol="udp"
> type="host"/><candidate component="2" foundation="583375015"
> generation="0" id="7732" ip="192.168.1.1" port="16119"
> priority="2130706430" protocol="udp" type="host"/><
> <------------->
>
> <--- XMPP received from 'google-cathy' --->
> candidate component="2" foundation="583378294" generation="0" id="cedf"
> ip="192.168.0.10" port="16119" priority="2130706430" protocol="udp"
> type="host"/><candidate component="2" foundation="192809686"
> generation="0" id="76d2" ip="123.50.122.114" port="16119"
> priority="2130706430" protocol="udp"
> type="host"/></transport></content></jingle></iq>
> <------------->
> [Nov  5 18:30:15] ERROR[28652][C-00000005]: chan_motif.c:1971
> jingle_interpret_ice_udp_transport: Incomplete ICE-UDP candidate
> received on session '7e44df781ce623b6'
>
> <--- XMPP sent to 'google-cathy' --->
> <iq type='result' from='cathy.fourny at gmail.com/asterisk-xD2C13566'
> to='jeandenis.girard at gmail.com/asterisk-xBEE0DF06' id='aaaap'/>
> <------------->
>    == Spawn extension (incoming-motif, s, 2) exited non-zero on
> 'Motif/jeandenis.girard-646f'
>
> <--- XMPP sent to 'google-cathy' --->
> <iq to='jeandenis.girard at gmail.com/asterisk-xBEE0DF06' type='set'
> id='aaaak'><jingle action='session-terminate' sid='7e44df781ce623b6'
> xmlns='urn:xmpp:jingle:1'><reason><failed-transport/></reason></jingle></iq>
> <------------->
>
> <--- XMPP received from 'google-cathy' --->
> <iq type="result" from="jeandenis.girard at gmail.com/asterisk-xBEE0DF06"
> to="cathy.fourny at gmail.com/asterisk-xD2C13566" id="aaaaj"/>
> <------------->
>
> <--- XMPP received from 'google-cathy' --->
> <iq to="cathy.fourny at gmail.com/asterisk-xD2C13566" type="set" id="aaaaq"
> from="jeandenis.girard at gmail.com/asterisk-xBEE0DF06"><jingle
> action="session-terminate" sid="7e44df781ce623b6"
> xmlns="urn:xmpp:jingle:1"><reason><failed-transport/></reason></jingle></iq>
> <------------->
>
> <--- XMPP sent to 'google-cathy' --->
> <iq type='error' from='cathy.fourny at gmail.com/asterisk-xD2C13566'
> to='jeandenis.girard at gmail.com/asterisk-xBEE0DF06' id='aaaaq'><error
> type='cancel'><item-not-found
> xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/><unknown-session
> xmlns='urn:xmpp:jingle:errors:1'/></error></iq>
> <------------->
>
> <--- XMPP received from 'google-jd' --->
> <iq type="result" from="cathy.fourny at gmail.com/asterisk-xD2C13566"
> to="jeandenis.girard at gmail.com/asterisk-xBEE0DF06" id="aaaap"/>
> <------------->
>
> <--- XMPP received from 'google-jd' --->
> <iq to="jeandenis.girard at gmail.com/asterisk-xBEE0DF06" type="set"
> id="aaaak" from="cathy.fourny at gmail.com/asterisk-xD2C13566"><jingle
> action="session-terminate" sid="7e44df781ce623b6"
> xmlns="urn:xmpp:jingle:1"><reason><failed-transport/></reason></jingle></iq>
> <------------->
>
> <--- XMPP sent to 'google-jd' --->
> <iq type='error' from='jeandenis.girard at gmail.com/asterisk-xBEE0DF06'
> to='cathy.fourny at gmail.com/asterisk-xD2C13566' id='aaaak'><error
> type='cancel'><item-not-found
> xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/><unknown-session
> xmlns='urn:xmpp:jingle:errors:1'/></error></iq>
> <------------->
>
> <--- XMPP received from 'google-jd' --->
> <iq type="error" from="cathy.fourny at gmail.com/asterisk-xD2C13566"
> to="jeandenis.girard at gmail.com/asterisk-xBEE0DF06" id="aaaaq"><error
> type="cancel"><item-not-found
> xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/><unknown-session
> xmlns="urn:xmpp:jingle:errors:1"/></error></iq>
> <------------->
>
> <--- XMPP received from 'google-cathy' --->
> <iq type="error" from="jeandenis.girard at gmail.com/asterisk-xBEE0DF06"
> to="cathy.fourny at gmail.com/asterisk-xD2C13566" id="aaaak"><error
> type="cancel"><item-not-found
> xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/><unknown-session
> xmlns="urn:xmpp:jingle:errors:1"/></error></iq>
> <------------->
>
>
>
> Thanks,
> - -- 
> Jean-Denis Girard
>
> SysNux                  Systèmes  Linux  en Polynésie française
> http://www.sysnux.pf/   Tél: +689 50 10 40 / GSM: +689 79 75 27
> -----BEGIN PGP SIGNATURE-----
>
> iEYEARECAAYFAlCYk4sACgkQuu7Rv+oOo/igqgCdG4lbXgV9/3in9jOqDK6UQwpM
> rSgAoKYYKU4ste9lV8zLLBLaJOanEZ4X
> =UJR7
> -----END PGP SIGNATURE-----
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                 http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>     http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
Roy Abshire Co-op Vacation Rentals 15218 Summit Ave Suite 300-354 
Fontana, CA 92336 (855) 760-COOP (4667)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20121105/942f1aa3/attachment-0001.htm>


More information about the asterisk-users mailing list