[ previous ] [ next ] [ threads ]
 To :  Vincent <vincent1941@g...>
 From :  Marian Podgoreanu <marian@v...>
 Subject :  Re: [yate] yate<->gtalk
 Date :  Thu, 28 Jun 2012 10:07:53 +0300
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.../yate094FD364  ' called='bia
> nxg@g...  ' [04779B00]
>  Calling. caller=callername123@g.../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*
>
>
>
>
> *
> *