10、NOTIFY消息
参考消息实例如下所示:
参考消息实例如下所示:
NOTIFY sip:tyoung
@parlour
.elasticity.co.uk SIP
/
2.0
Via SIP / 2.0 / UDP cartouche.rosettastone.org: 5060 ; branch = z9hG4bK3841323
Max - Forwards: 70
To : Thomas Young < sip:tyoung @elasticity .co.uk > ; tag = 1814
From : < sip:ptolemy @rosettastone .org > ; tag = 5363956k
Call - ID: 452k59252058dkfj34924lk34
CSeq: 3 NOTIFY
Contact: < sip:Ptolemy @cartouche .rosettastone.org >
Event: dialog
Subscription - State: active
Allow - Event: dialog
Content - Type: application / xml + dialog
Content - Length: 消息体长度
(xml格式的消息体 )
Via SIP / 2.0 / UDP cartouche.rosettastone.org: 5060 ; branch = z9hG4bK3841323
Max - Forwards: 70
To : Thomas Young < sip:tyoung @elasticity .co.uk > ; tag = 1814
From : < sip:ptolemy @rosettastone .org > ; tag = 5363956k
Call - ID: 452k59252058dkfj34924lk34
CSeq: 3 NOTIFY
Contact: < sip:Ptolemy @cartouche .rosettastone.org >
Event: dialog
Subscription - State: active
Allow - Event: dialog
Content - Type: application / xml + dialog
Content - Length: 消息体长度
(xml格式的消息体 )