Hi All,
I am seeing the following issue with SUBSCRIBE for 
simple-message-summary while interoping with a Metaswitch proxy. 
(DC-SIP/2.0).

send SUBSCRIBE, Expires: 3600
recv 200 OK, Expires: 3600
recv NOTIFY, Subscription-State: active
send 200 OK
recv NOTIFY, Subscription-State: active
send 200 OK
recv NOTIFY, Subscription-State: active
send 200 OK
recv NOTIFY, Subscription-State: active
send 200 OK
recv NOTIFY, Subscription-State: terminated;reason=timeout
send 200 OK

The last NOTIFY comes at about 3600 seconds after the SUBSCRIBE.
It appears that each NOTIFY is restarting the re-SUBSCRIBE timer. I get 
the following debug messages:
nta: NOTIFY (547975483) going to existing leg
nua: nua_stack_process_request: entering
nua(0x10a236e8): nua_notify_server_preprocess: active ()
nta: sent 200 OK for NOTIFY (547975483)
nta: timer set to 32000 ms
nua(0x10a236e8): event i_notify 200 OK
nua(): refresh subscribe after 1432 seconds (in [900..2700])

Until the last NOTIFY where I get the following messages:
nta: NOTIFY (547975485) going to existing leg
nua: nua_stack_process_request: entering
nua(0x10a236e8): nua_notify_server_preprocess: terminated (timeout)
nta: sent 200 OK for NOTIFY (547975485)
nta: timer set to 32000 ms
nua(0x10a236e8): event i_notify 200 OK
nua(0x10a236e8): removing subscribe usage with event message-summary

So I have a couple of questions.
Should sofia-sip be restarting the subscription timer on each NOTIFY ?
If so, then it appears the proxy is in error by timing out. Does that 
make sense ?
Shouldn't I get an event when the subscription usage is removed ?
Is there some indication that the subscription usage has been removed  
in the NOTIFY event ?

I'm still running 1.12.6. Has any of the SUBSCRIBE/NOTIFY logic changed 
since ?
 
Thanks,

Colin..


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to