Help - Search - Members - Calendar
Full Version: Notification when SkypeOut call is ended by callee?
Skype Community > English > Development, Betas and Skype Garage > Skype Public API
Martyn50_
I can get a notification when the caller ends the call but what I need to know is if the callee ends the call. Basically I'm using Skype in a public environment and I need to automatically end the call when the other party hangs up to ensure the call is not left connected and charging.

Does anyone have any ideas?
TheUberOverlord
Hangup via Phone?

Here is an example of the difference in messages:

Calle Hangs up from Phone Example:

Message from Skype(0): CALL 660 DURATION 15
WindowProc: hWindow=0x00170654, MainWindow=0x00170654, Message= 74, WParam=0x0
00203EE, LParam=0x0012FD38; Return=1
Message from Skype(0): CALL 660 DURATION 16
WindowProc: hWindow=0x00170654, MainWindow=0x00170654, Message= 74, WParam=0x0
00203EE, LParam=0x0012FD38; Return=1
Message from Skype(0): CALL 660 PSTN_STATUS 6102 PSTN hangup
WindowProc: hWindow=0x00170654, MainWindow=0x00170654, Message= 74, WParam=0x0
00203EE, LParam=0x0012FD28; Return=1
Message from Skype(0): CALL 660 STATUS FINISHED

Skype Hangs up on Calle:

WindowProc: hWindow=0x00170654, MainWindow=0x00170654, Message= 992, WParam=0x0
01B065C, LParam=0xC036C022; Return=0 (default)
Message from Skype(0): CALL 664 STATUS ROUTING
WindowProc: hWindow=0x00170654, MainWindow=0x00170654, Message= 74, WParam=0x0
00203EE, LParam=0x0012FD38; Return=1
Message from Skype(0): CALL 664 RATE 0
WindowProc: hWindow=0x00170654, MainWindow=0x00170654, Message= 74, WParam=0x0
00203EE, LParam=0x0012FD40; Return=1
Message from Skype(0): CALL 664 RATE_PRECISION 3
WindowProc: hWindow=0x00170654, MainWindow=0x00170654, Message= 74, WParam=0x0
00203EE, LParam=0x0012FD34; Return=1
Message from Skype(0): CALL 664 STATUS EARLYMEDIA
WindowProc: hWindow=0x00170654, MainWindow=0x00170654, Message= 74, WParam=0x0
00203EE, LParam=0x0012FD34; Return=1
Message from Skype(0): CALL 664 STATUS INPROGRESS
WindowProc: hWindow=0x00170654, MainWindow=0x00170654, Message= 74, WParam=0x0
00203EE, LParam=0x0012FD34; Return=1
Message from Skype(0): CALL 664 DURATION 1
WindowProc: hWindow=0x00170654, MainWindow=0x00170654, Message= 74, WParam=0x0
00203EE, LParam=0x0012FD3C; Return=1
Message from Skype(0): CALL 664 DURATION 2
WindowProc: hWindow=0x00170654, MainWindow=0x00170654, Message= 74, WParam=0x0
00203EE, LParam=0x0012FD3C; Return=1
Message from Skype(0): CALL 664 DURATION 3
WindowProc: hWindow=0x00170654, MainWindow=0x00170654, Message= 74, WParam=0x0
00203EE, LParam=0x0012FD3C; Return=1
Message from Skype(0): CALL 664 DURATION 4
WindowProc: hWindow=0x00170654, MainWindow=0x00170654, Message= 74, WParam=0x0
00203EE, LParam=0x0012FD3C; Return=1
Message from Skype(0): CALL 664 DURATION 5
WindowProc: hWindow=0x00170654, MainWindow=0x00170654, Message= 74, WParam=0x0
00203EE, LParam=0x0012FD3C; Return=1
Message from Skype(0): CALL 664 STATUS FINISHED


Notice How the hangup message is there when the calle hangs up?

You can play with this monitoring tool and do testing yourself, done in c++ more information here:

http://forum.skype.com/viewtopic.php?t=54549
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.