[OpenSIPS-Devel] [opensips] No response for REGISTER message (#247)

uttamsarkar notifications at github.com
Fri Jun 6 17:06:05 CEST 2014


I have open sips version 1.10.1-tls on Fedora Core 20.
I have open sips running.
I checked that port 5060 is ready to receive SIP packets.
When I started my SIP UserAgent, it sends REGISTER message but open sips never responded.
Maybe I am doing some mistakes.
How can  I see if the message is received in the open sips application.
I know packet reached to the machine (see the ngrep below).

=============================
[root at opensips-ipv6 opensips]# uname -a
Linux opensips-ipv6 3.14.4-200.fc20.x86_64 #1 SMP Tue May 13 13:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
[root at opensips-ipv6 opensips]# opensips -V
version: opensips 1.10.1-tls (x86_64/linux)
flags: STATS: On, USE_IPV6, USE_TCP, USE_TLS, DISABLE_NAGLE, USE_MCAST, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
@(#) $Id$
main.c compiled on 10:24:27 Mar 26 2014 with gcc 4.8.2


[root at opensips-ipv6 opensips]# netstat -na|grep 5060
tcp        0      0 192.168.19.10:5060      0.0.0.0:*               LISTEN     
tcp6       0      0 2001::2:0:0:1020:5060   :::*                    LISTEN     
udp        0      0 192.168.19.10:5060      0.0.0.0:*                          
udp6       0      0 2001::2:0:0:1020:5060   :::*                               


[root at opensips-ipv6 opensips]# ngrep -W byline -d eth0 port 5060
eth0: No such device exists (SIOCGIFHWADDR: No such device): No such device
[root at opensips-ipv6 opensips]# ngrep -W byline -d ens32 port 5060
interface: ens32 (192.168.19.0/255.255.255.0)
filter: ( port 5060 ) and (ip or ip6)
#
U 10.28.8.92:42352 -> 192.168.19.10:5060
REGISTER sip:opensips-ipv6.lab.sa SIP/2.0.
Accept: application/reginfo+xml, application/rlmi+xml, application/sdp, application/simple-message-summary, application/watcherinfo+xml, message/sipfrag, multipart/mixed.
Via: SIP/2.0/UDP 10.28.8.92:42352;branch=z9hG4bK7f8071ab875de0a94;rport.
Route: <sip:opensips-ipv6.lab.sa;lr>.
Max-Forwards: 70.
From: <sip:7708808015 at opensips-ipv6.lab.sa>;tag=342f420630.
To: <sip:7708808015 at opensips-ipv6.lab.sa>.
Call-ID: 63242391aba64dc5.
CSeq: 1804289383 REGISTER.
Allow: ACK, BYE, CANCEL, INVITE, NOTIFY, OPTIONS, PRACK, REFER, SUBSCRIBE, UPDATE.
Allow-Events: refer, vq-rtcpxr.
Authorization: Digest username="7708808015",realm="opensips-ipv6.lab.sa",uri="sip:opensips-ipv6.lab.sa",nonce="",response="",algorithm=MD5.
Contact: <sip:7708808015 at 10.28.8.92:5060;transport=udp>;expires=3600;reg-id=1;+sip.instance="<urn:uuid:00000000-0000-1000-8000-68EE96D6FE53>".
Supported: 100rel, answermode, eventlist, gruu, histinfo, outbound, path, replaces, tdialog, timer.
Content-Length: 0.
.

#####
U 10.28.8.92:35303 -> 192.168.19.10:5060
REGISTER sip:opensips-ipv6.lab.sa SIP/2.0.
Accept: application/reginfo+xml, application/rlmi+xml, application/sdp, application/simple-message-summary, application/watcherinfo+xml, message/sipfrag, multipart/mixed.
Via: SIP/2.0/UDP 10.28.8.92:35303;branch=z9hG4bK783d07faab87e1098;rport.
Route: <sip:opensips-ipv6.lab.sa;lr>.
Max-Forwards: 70.
From: <sip:7708808015 at opensips-ipv6.lab.sa>;tag=e4af00b50a.
To: <sip:7708808015 at opensips-ipv6.lab.sa>.
Call-ID: 47a69ecfd4ecd379.
CSeq: 948941423 REGISTER.
Allow: ACK, BYE, CANCEL, INVITE, NOTIFY, OPTIONS, PRACK, REFER, SUBSCRIBE, UPDATE.
Allow-Events: refer, vq-rtcpxr.
Authorization: Digest username="7708808015",realm="opensips-ipv6.lab.sa",uri="sip:opensips-ipv6.lab.sa",nonce="",response="",algorithm=MD5.
Contact: <sip:7708808015 at 10.28.8.92:5060;transport=udp>;expires=3600;reg-id=1;+sip.instance="<urn:uuid:00000000-0000-1000-8000-68EE96D6FE53>".
Supported: 100rel, answermode, eventlist, gruu, histinfo, outbound, path, replaces, tdialog, timer.
Content-Length: 0.
.


---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/247
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20140606/7d8a6bc5/attachment-0001.htm>


More information about the Devel mailing list