Hi all:
i have the server loaded the path model , but the 200 ok didn't include the "Supported" header filed .
REGISTER sip:example.com SIP/2.0
Via: SIP/2.0/TCP 192.0.2.2;branch=z9hG4bKnashds7
Max-Forwards: 70
From: Bob sip:bob@example.com;tag=7F94778B653B
To: Bob sip:bob@example.com
Call-ID: 16CB75F21C70
CSeq: 1 REGISTER
Supported: path, outbound
Route: sip:ep1.example.com;lr
Contact: sip:bob@192.0.2.2;transport=tcp;reg-id=1
;+sip.instance="urn:uuid:00000000-0000-1000-8000-AABBCCDDEEFF"
Content-Length: 0
SIP/2.0 200 OK
Via: SIP/2.0/TCP 192.0.2.15;branch=z9hG4bKnuiqisi
Via: SIP/2.0/TCP 192.0.2.2;branch=z9hG4bKnashds7
From: Bob sip:bob@example.com;tag=7F94778B653B
To: Bob sip:bob@example.com;tag=6AF99445E44A
Call-ID: 16CB75F21C70
CSeq: 1 REGISTER
Supported: path, outbound (---------this line is not include-------------)
Require: outbound
Contact: sip:bob@192.0.2.2;transport=tcp;reg-id=1;expires=3600
;+sip.instance="urn:uuid:00000000-0000-1000-8000-AABBCCDDEEFF"
Path: <sip:VskztcQ/
how could i fix it ?
thanks
mike
Workaround:
http://kamailio.org/docs/modules/3.3.x/modules_k/textops.html#id2496649
append_to_reply("Supported: path, outbound\r\n");
regards Klaus
On 13.07.2012 04:37, mike wrote:
Hi all:
i have the server loaded the path model , but the 200 ok didn't
include the "Supported" header filed .
REGISTER sip:example.com http://example.com SIP/2.0
Via: SIP/2.0/TCP 192.0.2.2;branch=z9hG4bKnashds7
Max-Forwards: 70
From: Bob <sip:bob@example.com mailto:sip%3Abob@example.com>;tag=7F94778B653B
To: Bob <sip:bob@example.com mailto:sip%3Abob@example.com>
Call-ID: 16CB75F21C70
CSeq: 1 REGISTER
Supported: path, outbound
Route: <sip:ep1.example.com http://ep1.example.com;lr>
Contact: <sip:bob@192.0.2.2 mailto:sip%3Abob@192.0.2.2;transport=tcp>;reg-id=1
;+sip.instance="urn:uuid:00000000-0000-1000-8000-AABBCCDDEEFF"
Content-Length: 0
SIP/2.0 200 OK
Via: SIP/2.0/TCP 192.0.2.15;branch=z9hG4bKnuiqisi
Via: SIP/2.0/TCP 192.0.2.2;branch=z9hG4bKnashds7
From: Bob <sip:bob@example.com mailto:sip%3Abob@example.com>;tag=7F94778B653B
To: Bob <sip:bob@example.com mailto:sip%3Abob@example.com>;tag=6AF99445E44A
Call-ID: 16CB75F21C70
CSeq: 1 REGISTER
Supported: path, outbound (---------this line is not include-------------)
Require: outbound
Contact: <sip:bob@192.0.2.2 mailto:sip%3Abob@192.0.2.2;transport=tcp>;reg-id=1;expires=3600
;+sip.instance="urn:uuid:00000000-0000-1000-8000-AABBCCDDEEFF"
Path: <sip:VskztcQ/
how could i fix it ?
thanks
mike
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users