smalltalk
/
osmo-st-all
Archived
1
0
Fork 0

todo: We need to implement record-route and route parsing for SIPgate

This means that the way we look at headers we need to support a list
of them.
This commit is contained in:
Holger Hans Peter Freyther 2014-06-20 18:24:37 +02:00
parent 804459c35a
commit 91a745ba90
1 changed files with 47 additions and 0 deletions

47
TODO
View File

@ -36,3 +36,50 @@ General:
* 3xx, 4xx, 5xx, 6xx are final. We should not allow any other messages.
Sending multiple 503/500 messages.. they all will be acked..
* Record-Route/Route implementation needed:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.0.251:3107;branch=z9hG4bK-qvgn1b;rport=3107
Record-Route: <sip:172.20.40.8;lr>
Record-Route: <sip:217.10.68.147;lr;ftag=7kypvq>
From: "sipgate" <sip:ABC@sipgate.de>;tag=7kypvq
To: "00491778116745" <sip:0049123@sipgate.de;user=phone>;tag=as10fec2f5
Call-ID: n57q3hl9l7
CSeq: 1084794278 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces
Contact: <sip:49123@217.10.77.114:5060>
Content-Type: application/sdp
Content-Length: 381
v=0
o=root 1250091314 1250091315 IN IP4 217.10.77.114
s=sipgate VoIP GW
c=IN IP4 217.10.77.114
t=0 0
m=audio 17974 RTP/AVP 8 0 3 18 2 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:2 G726-32/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
ACK sip:123@217.10.77.114:5060 SIP/2.0
Via: SIP/2.0/UDP 24.134.59.157:3107;branch=z9hG4bK-2tacy7;rport
Route: <sip:217.10.68.147;lr;ftag=7kypvq>
Route: <sip:172.20.40.8;lr>
From: "sipgate" <sip:ABC@sipgate.de>;tag=7kypvq
To: "00491778116745" <sip:0049123@sipgate.de;user=phone>;tag=as10fec2f5
Call-ID: n57q3hl9l7
CSeq: 1084794278 ACK
Max-Forwards: 70
Contact: <sip:abc@24.134.59.157:3107;transport=udp;line=i4p4q6>;reg-id=1;+sip.instance="<urn:uuid:572d1aa1-bfd5-4b8a-ab1e-f9095df386e5>"
Content-Length: 0