[OpenSIPStack] SoftPhoneInterface - Incoming Call Event not triggered
Brought to you by:
joegenbaclor
From: Jacob W. <wat...@go...> - 2007-12-06 14:33:01
|
Hi, I am using the SoftPhoneInterface class as a basis for a softphone implementation. I am able to register and make calls just fine, but when it comes to receiving calls, even after having registered with my SIP provider's server, no event is triggered in the SoftPhoneInterface class (Event_IncomingCall), and so I am unable to answer a call. Using Wireshark, however, I see that the INVITE request is being received by my SIP provider's server, but all that is returned from my end, automatically, is a "Status: 100 Trying" message, and then nothing else happens. Here is my Wireshark protocol: No. Time Source Destination Protocol Info *Registering* 264 19.624891 Local.Address.1.35 Remote.Address.90.138 SIP Request: REGISTER sip:Remote.Address.90.138 268 19.853526 Remote.Address.90.138 Local.Address.1.35 SIP Status: 407 Proxy Authentication Required (1 bindings) 270 19.895982 Local.Address.1.35 Remote.Address.90.138 SIP Request: REGISTER sip:Remote.Address.90.138 271 20.099519 Local.Address.1.35 Remote.Address.90.138 SIP Request: REGISTER sip:Remote.Address.90.138 272 20.120145 Remote.Address.90.138 Local.Address.1.35 SIP Status: 200 OK (1 bindings) 273 20.321326 Remote.Address.90.138 Local.Address.1.35 SIP Status: 200 OK (1 bindings) *Making a call - Successful* 4632 334.556501 Local.Address.1.35 Remote.Address.90.138 SIP/SDP Request: INVITE sip:Dia...@Re...dress.90.138, with session description 4635 334.634657 Local.Address.1.35 Remote.Address.90.138 SIP/SDP Request: INVITE sip:Dia...@Re...dress.90.138, with session description 4639 334.785283 Remote.Address.90.138 Local.Address.1.35 SIP Status: 100 Trying 4640 334.801885 Remote.Address.90.138 Local.Address.1.35 SIP/SDP Status: 200 OK, with session description 4642 334.866339 Remote.Address.90.138 Local.Address.1.35 SIP/SDP Status: 200 OK, with session description 4652 335.302885 Remote.Address.90.138 Local.Address.1.35 SIP/SDP Status: 200 OK, with session description 4660 336.302943 Remote.Address.90.138 Local.Address.1.35 SIP/SDP Status: 200 OK, with session description 4691 338.348935 Remote.Address.90.138 Local.Address.1.35 SIP/SDP Status: 200 OK, with session description 4750 342.363792 Remote.Address.90.138 Local.Address.1.35 SIP/SDP Status: 200 OK, with session description 4795 345.240244 Local.Address.1.35 Remote.Address.90.138 SIP Request: ACK sip:Dia...@Re...dress.90.138:5060 6852 367.034986 Local.Address.1.35 Remote.Address.90.138 SIP Request: BYE sip:Dia...@Re...dress.90.138:5060 6859 367.139967 Local.Address.1.35 Remote.Address.90.138 SIP Request: BYE sip:Dia...@Re...dress.90.138:5060 6860 367.243944 Remote.Address.90.138 Local.Address.1.35 SIP Status: 200 OK 6862 367.346488 Remote.Address.90.138 Local.Address.1.35 SIP Status: 200 OK *Receiving a call - "Status: 100 Trying"* 7104 386.368960 Remote.Address.90.138 Local.Address.1.35 SIP/SDP Request: INVITE sip:MyN...@Lo...dress.1.35:5060, with session description 7105 386.397928 Local.Address.1.35 Remote.Address.90.138 SIP Status: 100 Trying *Unregistering* 7653 425.373636 Local.Address.1.35 Remote.Address.90.138 SIP Request: REGISTER sip:Remote.Address.90.138 (remove all bindings) 7657 425.606269 Remote.Address.90.138 Local.Address.1.35 SIP Status: 200 OK (0 bindings) Any ideas as to why this might be the case would be greatly appreciated. Thanks! Best regards, Jacob |