You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.4 KiB
51 lines
1.4 KiB
flow:
|
|
- start|MAIN:
|
|
- start|ROUTE_NET_INFO:
|
|
- end|ROUTE_NET_INFO:
|
|
- start|ROUTE_IMP_REQUEST:
|
|
- start|ROUTE_IMP_WITHINDLG:
|
|
- end|ROUTE_IMP_WITHINDLG:
|
|
- start|ROUTE_AUTH:
|
|
- start|ROUTE_ADD_CALLINFO_REPLY:
|
|
- return|ROUTE_ADD_CALLINFO_REPLY:
|
|
- end|ROUTE_AUTH:
|
|
- start|ROUTE_IMP_PRESENCE:
|
|
- exit|ROUTE_IMP_PRESENCE:
|
|
sip_in:
|
|
- '^SUBSCRIBE sip:testuser1002@'
|
|
- 'Contact: sip:testuser1002@1'
|
|
- 'To: <sip:testuser1002@'
|
|
- 'From: <sip:testuser1002@'
|
|
- 'CSeq: 2 SUBSCRIBE'
|
|
- 'Max-Forwards: 16'
|
|
- 'Content-Length:[ ]+0'
|
|
- 'Event: presence.winfo'
|
|
- 'Accept: application/watcherinfo\+xml'
|
|
sip_out:
|
|
- [
|
|
'^SIP/2.0 100 Trying',
|
|
'CSeq: 2 SUBSCRIBE',
|
|
'From: <sip:testuser1002@',
|
|
'To: <sip:testuser1002@'
|
|
]
|
|
- [
|
|
'^SIP/2.0 200 OK',
|
|
'CSeq: 2 SUBSCRIBE',
|
|
'From: <sip:testuser1002@',
|
|
'To: <sip:testuser1002@',
|
|
'P-NGCP-Authorization: testuser1002@',
|
|
'Contact: <sip:127.0.0.1:5062;transport=udp>',
|
|
'Content-Length: 0'
|
|
]
|
|
- [
|
|
'^NOTIFY sip:testuser1002@',
|
|
'CSeq: 2 NOTIFY',
|
|
'From: <sip:testuser1002@',
|
|
'To: <sip:testuser1002@',
|
|
'Event: presence.winfo',
|
|
'Contact: <sip:127.0.0.1:5062;transport=udp>',
|
|
'Subscription-State: active;expires=30',
|
|
'Content-Type: application/watcherinfo\+xml',
|
|
'<watcher id="[^@]+@127.1.1.1" event="subscribe" status="pending">sip:testuser1001@spce.test</watcher>'
|
|
]
|