[ previous ] [ next ] [ threads ]
 To :  yate@v...
 From :  Paul Chitescu <paulc@v...>
 Subject :  Re: [yate] Re: yate<->gtalk
 Date :  Mon, 2 Jul 2012 15:13:33 +0300
Hi!

The "direction" collision was introduced by Rev. 5121 (2012-06-15) and should 
be fixed by Rev. 5168 (2012-07-02)

The "incomplete called" is another story and has to do with (lack of) 
subscription or the called being offline. It would be nice for the module to 
discriminate between "not in roster" and "in roster but no voice capable 
presence".

Paul


On Sunday 01 July 2012 05:25:56 am Vincent wrote:
> a little bug and a new question
>
> in yjingchan.cpp file:
> bool YJGConnection::initLocalCandidates(JGSessionContent& content, bool
> sendTransInfo)
> {
>  ...
>    complete(m);   // here will set "direction" param with value  "outgoing"
>  by msg.setParam("direction",direction()); this will result in fail to open
> rtp chan.
>    m.addParam("direction",rtpDir(content));  // here will add a new
> "direction" param with value "bidir"
>   ...
> }
>
> By now(after fix the above) , I can call from sip to gmail audio/video
> plugin and receive audio on each side.  This works well when yate and gmail
> plugin run in same computer. But When gtalk run in another computer(or use
> gtalk app), sip client can not call gtalk with reason here:
>
> in jinglechan.cpp, called is not full, why? (I try this several times, only
> yate and gmail run in same computer, the called's value is full)
>    // Called party must always be full in client mode
>     if (checkCalled && !(s_serverMode || called.isFull())) {
> Debug(this,DebugNote,"Jingle call failed. Incomplete called '%s'",
>     called.c_str());
> msg.setParam("error","failure");
> return false;
>     }
>
> Regards,
>
> vincent
>
>
>
> Hi,
>
> > I suppose bianxg@g... is in callername123@g...'s roster.
> >
> > Don't set checkcalled=false when routing the call. Let the
> > jingle/jabberclient modules detect if bianxg@g... is present.
> >
> > bianxg@g... must be present in order to call it.
> > If an user is not present the call will fail.
> >
> > When you set checkcalled=false the jingle module will send the call to
> > called party without checking if a resource is present in the called 's
> > jabber id.
> > The result is call fail anyway: only a full jabber id
> > (user@domain/resource) can be called.
> >
> > Marian
> >
> > On 6/27/2012 6:08 PM, Vincent wrote:
> >> hi
> >>
> >> *With the following config of Yate we can made calls from GTalk to
> >> sip(linephone), but can not call  GTalk from sip. (yate r5156)*
> >>
> >> *
> >> *
> >>
> >> *==regfile.conf==*
> >>
> >> *[1008]
> >> password=1234*
> >>
> >> *
> >> *
> >>
> >> *==accfile.conf==*
> >>
> >> *[gmail]
> >> enabled=yes
> >> protocol=jabber
> >> username=callername123
> >> domain=gmail.com  
> >> password=pasword123
> >> server=talk.l.google.com  
> >> resource=yate
> >> options=sasl,tlsrequired,**allowplainauth*
> >>
> >> *
> >> *
> >>
> >> *==regroute.conf==*
> >>
> >> *^12345$=jingle/callername@g...   >>
> >> >;line=gmail;**checkcalled=false*
> >>
> >> *
> >> *
> >>
> >> *==yate.conf==*
> >>
> >> *[postload]
> >> ${modulepath}/client/**jabberclient${modsuffix}=yes*
> >>
> >> *
> >> *
> >>
> >> *
> >> *
> >>
> >> *==yjinglechan.conf==*
> >>
> >> *[general]
> >> servermode=no*
> >>
> >> *
> >> *
> >>
> >> *
> >>
> >> *
> >>
> >> *
> >> Yate engine is initialized and starting up on ZGSSC-20199210726YNM
> >>  XMPPFeature::**fromStreamFeature() Unhandled mechanism
> >> 'X-GOOGLE-TOKEN'
> >>  XMPPFeature::**fromStreamFeature() Unhandled mechanism 'X-OAUTH2'
> >>  System CPU load is not implemented for this OS
> >>  System Cpu load not supported!
> >>  Certificate verify error 20:
> >> UNABLE_TO_GET_ISSUER_CERT_**LOCALLY [0
> >> 1F00790]
> >>  XMPPFeature::**fromStreamFeature() Unhandled mechanism
> >> 'X-GOOGLE-TOKEN'
> >>  XMPPFeature::**fromStreamFeature() Unhandled mechanism 'X-OAUTH2'
> >>  Unregistered user '1000'
> >>  Registered user '1000' expires in 3600 s
> >>  Outgoing.
> >> caller='callername123@g...**com/yate094FD364 >>l.com/yate094FD364> <
> >> http://callername123@g...**com/yate094FD364 >>.com/yate094FD364>>' called='bia
> >> nxg@g...  ' [04779B00]
> >>  Calling.
> >> caller=callername123@g...**com/yate094FD364 >>.com/yate094FD364> <
> >> http://callername123@g...**com/yate094FD364 >>.com/yate094FD364>> called=calledname123@
> >> gmail.com    [04779B00]
> >>  Failed to init RTP for
> >> content='jingle/1_content_**353662202' [047
> >> 79B00]
> >>  Call(JG1_2064838506). Sent element with
> >> id=JG1_2064838506_1 conf
> >> irmed by error (feature-not-implemented). Terminating [0477B528]
> >>  Hangup. reason=failure [04779B00]
> >>  disconnected. final=1 reason=failure [04779B00]
> >>  Destroyed [04779B00]*
> >>
> >>
> >> *Please, help us fix the problem.*
> >>
> >>
> >> *  *
> >>
> >> *Best regards,*
> >>
> >>
> >> *     vincent*
> >>
> >>
> >>
> >>
> >> *
> >> *