Hi, swanand

Thank you for your time and patience. I will follow your steps and try
your suggestion.
The point is that why my server  sends "people's adding request" to
other clients like GTalk except my "call example client".

Also thank you for your interest in "water to oil". Nowadays water is
water, oil is oil.  But human's wisdom is infinite,  it may come true
in the near or far future, who knows!  The human's progress is full of
making impossible become possible. Hope is always a good thing.

Best regards

water2oil

On Oct 26, 2:36 pm, "swanand rao" <[EMAIL PROTECTED]> wrote:
> Hi Water2Oil,
>
> I like your name Water2Oil.... world will become a greener and
> healthier place if someone actually converts water as a usuable
> fuel.....
>
> Ok now with reference to the problem..... I am too trying to accept
> friend request via the call example. Now when I went thru the RFC I
> found that we had to do the following steps while accpeting a friend
> rewuest:
>
> Step 1: Look out for presence stanza with tag <presence> and attribute
> type set to subscribe so the call application should be customized to
> look out for stanza as follows:
>
> <presence [EMAIL PROTECTED] type='subscribe'>
>
> Step 2: Once step is successfully done send a roster set rewuest to the 
> server:
>
> This will set the friend who has sent us a request into our roster
> managed by google server.
>
> Check the RFC for the exact xml that we need to build to set roster
> with the friends jid.
>
> Step 3: After step 1 and 2 are successfully done send a presence
> stanza to the jid of the reqester ( eg [EMAIL PROTECTED] as mentioned in
> step 2) with type attribute as subscribed
>
> <presence [EMAIL PROTECTED] type='subscribed'>
>
> If these three steps are done correctly then the friend can be added
> successfully.
>
> Note that we are operating as per jabber standards and it is possible
> that google might have not followed the standards strictly. So we
> might fail as well. Just hope that google follows the Jabber standard
> and give a try to the steps I mentioned. I am too going to try the
> same. Lets see if it works out.
>
> Saint Peter Andre who is a member of this forum has written the RFC.
> If possible I request him to let us know whether our understanding is
> correct.
>
> Finally one suggestion try and use the presencepushtask and
> presenceouttask to build your xml handler for our problem. you will
> save a lot of rework.
>
> In between lets keep our efforts on.
>
> Thanks
>
> Swanand
>
> On 10/26/07, water2oil <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi, Swanand
> > Thank you very much for your help, I understand the problem  further
> > more. Now my problem is about the call example itself:
> > After loging in (of course, using call example with "-d"
> > option ),,then someone else adds me as his/her friend
> > , here  comes  the  problem, my  server  did  not  send  me  a
> > notification  about  this  event ,.:
>
> > If I log out and then log in this account again with GTalk or some
> > other client, then I will get the notification of this event, so I am
> > sure that my server did not send me anything in the first condition.
> > (just save it until I log in with GTalk or some other client), Do you
> > think so?  I need your help with this problem, thank you very much.
>
> > Best wishes.
> > On Oct 26, 3:16 am, "swanand rao" <[EMAIL PROTECTED]> wrote:
> > > Hi Water2Oil,
>
> > > Check out the RFC for XMPPhttp://www.ietf.org/rfc/rfc3921.txthavea look
> > > at section 5.1.6 and section 8 it has the details which ur looking for. I
> > am
> > > sure it will help you.
>
> > > Regards,
>
> > > Swanand
>
> > > On 10/25/07, water2oil <[EMAIL PROTECTED]> wrote:
>
> > > > Hi,
>
> > > > First ,take the following steps:
> > > > 1, Running the call example in libjingle with "-d" option (for
> > > > example, log in as    [EMAIL PROTECTED])
>
> > > > 2, then [EMAIL PROTECTED] send a request to add me as his/her friend
>
> > > > the problem is :
>
> > > > I receive nothing infomation on screen, so how do I know that
> > > > [EMAIL PROTECTED] wants to add me now?????
>
> > > > maybe we can say in another way:
> > > > 1, if I want to add someone else as my friend, we can send
> > > >    <iq type='set'>
> > > >      <query xmlns='jabber:iq:roster'>
> > > >        <item jid='[EMAIL PROTECTED]'/>
> > > >      </query>
> > > >    </iq>
> > > > to "our server". but "our server" must sends something to notify the
> > > > "someone else".
> > > > what infomation is sent by "our server"? OR what information "someone
> > > > else" receives?
>
> > > > I don't know if my expression is clearly, forgive my poor english.
>
> > > > Anyone would give me some hints? thanks in advance.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-talk-open" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-talk-open?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to