majidiust / boghe

Automatically exported from code.google.com/p/boghe
0 stars 0 forks source link

Notify presence.winfo not yileding desired result #153

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Client A (8475551004) adds client B (8475551001) to contact list
2.Client B has subscribed to presence.winfo events 
3.Client B gets a presence.winfo notify requesting authorization for client A
4. There is no way for client B to authorize client A to see it's presence. 
Right clicking on the watcher whose status is pending/waiting and clicking 
allow doesn't work

What is the expected boghe behavior? 

This is the data from wireshark:

NOTIFY sip:8475551001@ip:54169;transport=udp SIP/2.0
Via: SIP/2.0/UDP ip;branch=z9hG4bK506f.172cb8b1.0
To: sip:8475551001@ip;tag=1362798
From: sip:8475551001@ip;tag=a6a1c5f60faecf035a1ae5b6e96e979a-0509
CSeq: 2 NOTIFY
Call-ID: 17067670-fa82-1ab0-9ae3-b0440434839d
Content-Length: 440
User-Agent: kamailio (3.3.1 (x86_64/linux))
Max-Forwards: 70
Event: presence.winfo
Contact: <sip:ip:5060;transport=udp>
Subscription-State: active;expires=60
Content-Type: application/watcherinfo+xml

<?xml version="1.0"?>
<watcherinfo xmlns="urn:ietf:params:xml:ns:watcherinfo" version="1" 
state="full">

  <watcher-list resource="sip:8475551001@ip" package="presence">
    <watcher id="c2lwOjg0NzU1NTEwMDRAMTAuNTAuMjUxLjEy" event="subscribe" status="waiting">sip:8475551004@ip</watcher>
  </watcher-list>
</watcherinfo>

Anyone have any clue how I can authorize 8475551004 to see my presence? I see 
the above status in the authorization tab and I have tried to right click and 
allow but it doesn't seem to work. It doesn't seem to allow the watcher to see 
my presence info. There are no errors in the boghe log file.

Is my understanding not accurate? What is the expected behavior here?

Any help is appreciated

What is the expected output? What do you see instead?
Either a popup or some other means to authorize subscriber A to see sub Bs 
presence

What version of the product are you using? On what operating system?
v2.0.97.687 and Windows 7

Please provide any additional information below.

Original issue reported on code.google.com by sangeeta...@gmail.com on 17 Oct 2012 at 2:47

GoogleCodeExporter commented 9 years ago
https://groups.google.com/group/doubango/browse_thread/thread/ba14ed805926d46c

Original comment by boss...@yahoo.fr on 17 Oct 2012 at 2:58