hi all;
i installed openser now trying to setup a basic
text commnuication between two clients on the same pc (one client is windows
msngr and the other one is x-lite )
it seems to me SUBSCRIBE and MESSAGE sip msgs are
not processed.
i generated openser.cfg with the wizard
at sipwise.com site
here is my ngrep dump for SUBSCRIBE
msg
====================
U ua_public_ip:29350 ->
192.168.200.2:5060
SUBSCRIBE sip:burak@testsrv200 SIP/2.0.
Via:
SIP/2.0/UDP ua_public_ip:29347.
Max-Forwards: 70.
From: "apo@testsrv200"
<sip:apo@testsrv200>;tag=29774bb79657418eb518068a22304b7c;epid=13d631ff91.
To:
<sip:burak@testsrv200>.
Call-ID:
15088cb5e87d4fb887cc073d0fd9df07.
CSeq: 1 SUBSCRIBE.
Contact:
<sip:ua_public_ip:29347>.
User-Agent: RTC/1.3.
Event:
presence.
Accept: application/xpidf+xml, text/xml+msrtc.pidf,
application/pidf+xml.
Supported: com.microsoft.autoextend.
Supported:
ms-benotify.
Proxy-Require: ms-benotify.
Content-Length:
0.
.
#
U 192.168.200.2:5060 ->
ua_public_ip:29350
SIP/2.0 501 Method Not Supported Here.
Via: SIP/2.0/UDP
ua_public_ip:29347;rport=29350.
From: "apo@testsrv200"
<sip:apo@testsrv200>;tag=29774bb79657418eb518068a22304b7c;epid=13d631ff91.
To:
<sip:burak@testsrv200>;tag=329cfeaa6ded039da25ff8cbb8668bd2.ea73.
Call-ID:
15088cb5e87d4fb887cc073d0fd9df07.
CSeq: 1 SUBSCRIBE.
Server: OpenSER
(1.2.0-notls (x86_64/linux)).
Content-Length: 0.
MESSAGE msg (while trying to establish a text
chat)
===========================
U ua_public_ip:29355 ->
192.168.200.2:5060
MESSAGE sip:apo@testsrv200 SIP/2.0.
Via: SIP/2.0/UDP
192.168.1.33:58348;branch=z9hG4bK-d87543-2a3b75359734fe48-1--d87543-;rport.
Max-Forwards:
70.
To: "apo"<sip:apo@testsrv200>.
From:
"burak"<sip:burak@testsrv200>;tag=fb1a9f68.
Call-ID:
NTNhMGZlMmYwODIxNmFlNmNmYThmYjQ0NzFhOGFjODI..
CSeq: 2 MESSAGE.
Allow:
INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE,
INFO.
Content-Type: application/im-iscomposing+xml.
User-Agent: X-Lite
release 1006e stamp 34025.
Content-Length: 259.
.
<?xml
version='1.0' encoding='UTF-8'?>
<isComposing
xmlns='urn:ietf:params:xml:ns:im-iscomposing'
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
<state>active</state>
<contenttype>goober</contenttype>
<refresh>60</refresh>
</isComposing>
#
U
192.168.200.2:5060 -> ua_public_ip:29355
SIP/2.0 501 Method Not Supported
Here.
Via: SIP/2.0/UDP
192.168.1.33:58348;branch=z9hG4bK-d87543-2a3b75359734fe48-1--d87543-;rport=29355;received=ua_public_ip.
To:
"apo"<sip:apo@testsrv200>;tag=329cfeaa6ded039da25ff8cbb8668bd2.402d.
From:
"burak"<sip:burak@testsrv200>;tag=fb1a9f68.
Call-ID:
NTNhMGZlMmYwODIxNmFlNmNmYThmYjQ0NzFhOGFjODI..
CSeq: 2 MESSAGE.
Server:
OpenSER (1.2.0-notls (x86_64/linux)).
Content-Length: 0.
.
.