[asterisk-users] 11.4: motif can only handle one channel at a time?

sean darcy seandarcy2 at gmail.com
Mon May 20 18:18:26 CDT 2013


On 05/16/2013 10:07 AM, sean darcy wrote:
> On 05/16/2013 09:41 AM, sean darcy wrote:
>> I have a call on gv over motif. I try to bridge it to another call over
>> motif, but a different gv account, and I get congestion.
>>
>> motif only handles one 1 channel at a time??
>>
>> sean
>>
>
> More:
>
> Two different motif sections. Two different xmpp sections.
> xmpp shows both connections.
>
> sean
>

I've made some headway, but not enough.

I have a motif call coming in. That bridges to a motif call going out.


>     -- Executing [s at incoming:2] Wait("Motif/+1<in>-2927", "1") in new stack
>     -- Executing [s at incoming:3] Answer("Motif/+1<in>-2927", "") in new stack
>     -- Executing [s at incoming:4] Set("Motif/+1<in>-2927", "crazygooglecid=+1<>@voice.google.com/srvenc-nrqQ46ayZknr1yPFlefF9PJfrsgA2TBA") in new stack
>     -- Executing [s at incoming:5] Set("Motif/+1<in>-2927", "stripcrazysuffix=+1<>") in new stack
>     -- Executing [s at incoming:6] Set("Motif/+1<in>-2927", "CALLERID(all)=+1<>") in new stack
>     -- Executing [s at incoming:7] Goto("Motif/+1<in>-2927", "relay") in new stack
>     -- Goto (incoming,s,14)
>     -- Executing [s at incoming:14] Dial("Motif/+1<in>-2927", "motif/51/+1<out>@voice.google.com") in new stack
>     -- Called motif/51/+1<out>@voice.google.com
>     -- Motif/+1<out>@voice.google.com-d119 is proceeding passing it to Motif/+1<in>-2927
> [May 20 12:17:25] NOTICE[4323][C-00000167]: chan_motif.c:1636 jingle_indicate: Don't know how to indicate condition '15'
>   == Spawn extension (incoming, s, 14) exited non-zero on 'Motif/+1<>-2927'

I set xmpp debug on. As far as I can see the incoming call (xmpp port 
<45> ) terminates because of "success" just after the outgoing call ( 
xmpp <51> ) is set up. The called number rings 3 times. If it's 
answered, it's dead.


>     -- Called motif/<51>/+1<out>@voice.google.com
>
> <--- XMPP received from '<51>' --->
> <
> <------------->
>
> <--- XMPP received from '<51>' --->
> iq from="+1<out>@voice.google.com" to="<51>@gmail.com/asterisk-xFF200C8A" type="error" id="aaaam"><session type="initiate" id="648cafa373d780f8" initiator="<51>@gmail.com/asterisk-xFF200C8A" 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:+1<out>@voice.google.com/srvenc-N1BbqASaz0QMBuBJQvV34g==</redirect><ses:redirect xmlns:ses="http://www.google.com/session">xmpp:+1<out>@voice.google.com/srvenc-N1BbqASaz0QMBuBJQvV34g==</ses:redirect></error></iq>
> <------------->
>
> <--- XMPP sent to '<51>' --->
> <iq from='<51>@gmail.com/asterisk-xFF200C8A' to='+1<out>@voice.google.com/srvenc-N1BbqASaz0QMBuBJQvV34g==' type='set' id='aaaan'><session type='initiate' id='648cafa373d780f8' xmlns='http://www.google.com/session' initiator='<51>@gmail.com/asterisk-xFF200C8A'><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 '<51>' --->
> <
> <------------->
>
> <--- XMPP received from '<51>' --->
> iq to="<51>@gmail.com/asterisk-xFF200C8A" from="+1<out>@voice.google.com/srvenc-N1BbqASaz0QMBuBJQvV34g==" id="aaaan" type="result"/>
> <------------->
>
> <--- XMPP sent to '<51>' --->
> <iq from='<51>@gmail.com/asterisk-xFF200C8A' to='+1<out>@voice.google.com/srvenc-N1BbqASaz0QMBuBJQvV34g==' type='set' id='aaaao'><session type='candidates' id='648cafa373d780f8' xmlns='http://www.google.com/session' initiator='<51>@gmail.com/asterisk-xFF200C8A'><candidate name='rtp' address='10.10.11.180' port='11684' preference='0.95' type='local' protocol='udp' network='0' username='7a64d7f9777c94fb' generation='0' password='' foundation='0' component='1'/><candidate name='rtp' address='192.168.122.1' port='11684' preference='0.95' type='local' protocol='udp' network='0' username='7a64d7f9777c94fb' generation='0' password='' foundation='0' component='1'/><candidate name='rtp' address='<my_ip>' port='11684' preference='0.9' type='stun' protocol='udp' network='0' username='7a64d7f9777c94fb' generation='0' password='' foundation='0' component='1'/><candidate name='rtcp' address='10.10.11.180' port='11685' preference='0.95' type='local' protocol='udp' network='0' username='7a64d7f9777
c94fb' generation='0' password='' foundation='0' component='1'/><candidate name='rtcp' address='192.168.122.1' port='11685' preference='0.95' type='local' protocol='udp' network='0' username='7a64d7f9777c94fb' generation='0' password='' foundation='0' component='1'/><candidate name='rtcp' address='<my_ip>' port='11684' preference='0.9' type='stun' protocol='udp' network='0' username='7a64d7f9777c94fb' generation='0' password='' foundation='0' component='1'/></session></iq>
> <------------->
>     -- Motif/+1<out>@voice.google.com-7abc is proceeding passing it to Motif/+1<in>-5e4e
> [May 20 12:19:53] NOTICE[4326][C-00000168]: chan_motif.c:1636 jingle_indicate: Don't know how to indicate condition '15'
>
> <--- XMPP received from '<51>' --->
> <
> <------------->
>
> <--- XMPP received from '<51>' --->
> iq to="<51>@gmail.com/asterisk-xFF200C8A" from="+1<out>@voice.google.com/srvenc-N1BbqASaz0QMBuBJQvV34g==" id="aaaao" type="result"/>
> <------------->
>
> <--- XMPP received from '<51>' --->
> <
> <------------->
>
> <--- XMPP received from '<51>' --->
> iq from="+1<out>@voice.google.com/srvenc-N1BbqASaz0QMBuBJQvV34g==" to="<51>@gmail.com/asterisk-xFF200C8A" id="jingle:10.13.61.5-23164143:1:AB47DEE4" type="set"><ses:session type="candidates" id="648cafa373d780f8" initiator="<51>@gmail.com/asterisk-xFF200C8A" xmlns:ses="http://www.google.com/session"><ses:candidate name="rtp" address="74.125.137.127" port="19305" username="76B887244201DA79" preference="3.0" protocol="udp" network="mediaproxy" generation="0" password="" type="relay"/><ses:candidate name="rtp" address="74.125.137.127" port="19305" username="76B887244201DA79" preference="2.0" protocol="tcp" network="mediaproxy" generation="0" password="" type="relay"/><ses:candidate name="rtp" address="74.125.137.127" port="443" username="76B887244201DA79" preference="1.0" protocol="ssltcp" network="mediaproxy" generation="0" password="" type="relay"/></ses:session></iq>
> <------------->
>
> <--- XMPP sent to '<51>' --->
> <iq type='result' from='<51>@gmail.com/asterisk-xFF200C8A' to='+1<out>@voice.google.com/srvenc-N1BbqASaz0QMBuBJQvV34g==' id='jingle:10.13.61.5-23164143:1:AB47DEE4'/>
> <------------->
>
> <--- XMPP received from '<45>' --->
> <
> <------------->
>
> <--- XMPP received from '<45>' --->
> iq from="+1<in>@voice.google.com/srvenc-xPt/DDObueIws5jdu1V1AmeBB2R4pgkM" to="<45>@gmail.com/asterisk-xAF820CA3" id="jingle:10.68.166.37-7896298:1:898DBA27" type="set"><ses:session type="terminate" id="SIP107976326 at 10.68.110.227" initiator="+1<in>@voice.google.com/srvenc-xPt/DDObueIws5jdu1V1AmeBB2R4pgkM" xmlns:ses="http://www.google.com/session"><ses:reason><ses:success/><ses:text>Call ended</ses:text></ses:reason><pho:call-ended xmlns:pho="http://www.google.com/session/phone"/></ses:session></iq>
> <------------->
>
> <--- XMPP sent to '<45>' --->
> <iq type='result' from='<45>@gmail.com/asterisk-xAF820CA3' to='+1<in>@voice.google.com/srvenc-xPt/DDObueIws5jdu1V1AmeBB2R4pgkM' id='jingle:10.68.166.37-7896298:1:898DBA27'/>
> <------------->
>
> <--- XMPP sent to '<51>' --->
> <iq to='+1<out>@voice.google.com/srvenc-N1BbqASaz0QMBuBJQvV34g==' type='set' id='aaaap'><session type='terminate' id='648cafa373d780f8' xmlns='http://www.google.com/session' initiator='<51>@gmail.com/asterisk-xFF200C8A'><reason><success/></reason></session></iq>
> <------------->
>   == Spawn extension (incoming, s, 14) exited non-zero on 'Motif/+1<in>-5e4e'


The incoming motif also drops if the bridged call is SIP:

>     -- Called SIP/<mysip>/<out>
>
> <--- XMPP received from '<45>' --->
> <
> <------------->
>
> <--- XMPP received from '<45>' --->
> iq from="+1<in>@voice.google.com/srvenc-jgCvKGNmqXXjKPKzhCuU3KoKurQ4+Fi1" to="<45>@gmail.com/asterisk-xAF820CA3" id="jingle:10.229.151.16-7608331:1:9E0372A9" type="set"><ses:session type="terminate" id="SIP1848098100 at 10.76.83.196" initiator="+1<in>@voice.google.com/srvenc-jgCvKGNmqXXjKPKzhCuU3KoKurQ4+Fi1" xmlns:ses="http://www.google.com/session"><ses:reason><ses:success/><ses:text>Call ended</ses:text></ses:reason><pho:call-ended xmlns:pho="http://www.google.com/session/phone"/></ses:session></iq>
> <------------->
>
> <--- XMPP sent to '<45>' --->
> <iq type='result' from='<45>@gmail.com/asterisk-xAF820CA3' to='+1<in>@voice.google.com/srvenc-jgCvKGNmqXXjKPKzhCuU3KoKurQ4+Fi1' id='jingle:10.229.151.16-7608331:1:9E0372A9'/>
> <------------->
>   == Spawn extension (incoming, s, 14) exited non-zero on 'Motif/+1<in>
>

Very odd.

Any help appreciated.

sean







More information about the asterisk-users mailing list