[SR-Users] Kamalio call issue
Yogendra Gupta
yogendra at konstantinfosolutions.com
Thu Mar 19 11:39:26 CET 2015
Hello,
Thanks for nice support.
When we call to test2 user and run this command at server
ngrep -d any -qt -W byline "sip" port 5060
then we found following response at server:
--------
U 2015/03/19 10:34:19.151351 202.157.76.21:62838 -> 23.253.110.48:5060
OPTIONS sip:23.253.110.48 SIP/2.0.
Call-ID: 35a382b70612890608da333133a632ab at 0:0:0:0:0:0:0:0.
CSeq: 720 OPTIONS.
From: "test2" <sip:test2 at 23.253.110.48>;tag=7d797c77.
To: "test2" <sip:test2 at 23.253.110.48>.
Via: SIP/2.0/UDP
192.168.0.33:5060;branch=z9hG4bK-333435-c6ef476f117e9956b22c4fe20c38b5bb.
Max-Forwards: 70.
Contact: "test2"
<sip:test2 at 192.168.0.33:5060;transport=udp;registering_acc=23_253_110_48>.
User-Agent: Jitsi2.5.5065Linux.
Allow:
INFO,OPTIONS,MESSAGE,BYE,REFER,SUBSCRIBE,ACK,CANCEL,PUBLISH,NOTIFY,INVITE.
Allow-Events: refer.
Content-Length: 0.
.
U 2015/03/19 10:34:19.151616 23.253.110.48:5060 -> 202.157.76.21:62838
SIP/2.0 407 Proxy Authentication Required.
Call-ID: 35a382b70612890608da333133a632ab at 0:0:0:0:0:0:0:0.
CSeq: 720 OPTIONS.
From: "test2" <sip:test2 at 23.253.110.48>;tag=7d797c77.
To: "test2"
<sip:test2 at 23.253.110.48>;tag=b27e1a1d33761e85846fc98f5f3a7e58.5cf7.
Via: SIP/2.0/UDP
192.168.0.33:5060;branch=z9hG4bK-333435-c6ef476f117e9956b22c4fe20c38b5bb;rpo
rt=62838;received=202.157.76.21.
Proxy-Authenticate: Digest realm="23.253.110.48",
nonce="VQqnV1UKpitZOpmcEcEnk6XoUjE5xoTD".
Server: kamailio (4.1.7 (x86_64/linux)).
Content-Length: 0.
U 2015/03/19 10:34:25.691644 117.215.244.16:63347 -> 23.253.110.48:5060
OPTIONS sip:23.253.110.48 SIP/2.0.
Call-ID: 652528c610202910b534cc35b7a0e6f5 at 0:0:0:0:0:0:0:0.
CSeq: 371 OPTIONS.
From: "tester1" <sip:tester1 at 23.253.110.48>;tag=8f781308.
To: "tester1" <sip:tester1 at 23.253.110.48>.
Via: SIP/2.0/UDP
192.168.0.217:5060;branch=z9hG4bK-343938-1337a86e177bad29dc2bb31c99a5335a.
Max-Forwards: 70.
Contact: "tester1"
<sip:tester1 at 192.168.0.217:5060;transport=udp;registering_acc=23_253_110_48>
.
User-Agent: Jitsi2.6.5390Windows 7.
Allow:
INFO,UPDATE,OPTIONS,MESSAGE,BYE,REFER,SUBSCRIBE,ACK,CANCEL,PUBLISH,NOTIFY,IN
VITE.
Allow-Events: refer.
Content-Length: 0.
.
U 2015/03/19 10:34:25.691899 23.253.110.48:5060 -> 117.215.244.16:63347
SIP/2.0 407 Proxy Authentication Required.
Call-ID: 652528c610202910b534cc35b7a0e6f5 at 0:0:0:0:0:0:0:0.
CSeq: 371 OPTIONS.
From: "tester1" <sip:tester1 at 23.253.110.48>;tag=8f781308.
To: "tester1"
<sip:tester1 at 23.253.110.48>;tag=b27e1a1d33761e85846fc98f5f3a7e58.d6e2.
Via: SIP/2.0/UDP
192.168.0.217:5060;branch=z9hG4bK-343938-1337a86e177bad29dc2bb31c99a5335a;rp
ort=63347;received=117.215.244.16.
Proxy-Authenticate: Digest realm="23.253.110.48",
nonce="VQqnXVUKpjHpaaepMRRwl7GlLf5XnOUJ".
Server: kamailio (4.1.7 (x86_64/linux)).
Content-Length: 0.
I have also downloaded syslog at same time and did not get any error about
SIP
-------
Mar 19 06:39:01 telezang-app CRON[32320]: (root) CMD ( [ -x
/usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d
/var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5
$(/usr/lib/php5/maxlifetime))
Mar 19 07:09:01 telezang-app CRON[1839]: (root) CMD ( [ -x
/usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d
/var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5
$(/usr/lib/php5/maxlifetime))
Mar 19 07:17:01 telezang-app CRON[2273]: (root) CMD ( cd / && run-parts
--report /etc/cron.hourly)
Mar 19 07:39:01 telezang-app CRON[3520]: (root) CMD ( [ -x
/usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d
/var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5
$(/usr/lib/php5/maxlifetime))
Mar 19 07:57:05 telezang-app kernel: [1297024.377220] Bluetooth: Core ver
2.17
Mar 19 07:57:05 telezang-app kernel: [1297024.377241] NET: Registered
protocol family 31
Mar 19 07:57:05 telezang-app kernel: [1297024.377243] Bluetooth: HCI device
and connection manager initialized
Mar 19 07:57:05 telezang-app kernel: [1297024.377256] Bluetooth: HCI socket
layer initialized
Mar 19 07:57:05 telezang-app kernel: [1297024.377258] Bluetooth: L2CAP
socket layer initialized
Mar 19 07:57:05 telezang-app kernel: [1297024.377262] Bluetooth: SCO socket
layer initialized
Mar 19 07:57:05 telezang-app kernel: [1297024.380356] Netfilter messages via
NETLINK v0.30.
Mar 19 08:09:01 telezang-app CRON[5273]: (root) CMD ( [ -x
/usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d
/var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5
$(/usr/lib/php5/maxlifetime))
Mar 19 08:17:01 telezang-app CRON[5708]: (root) CMD ( cd / && run-parts
--report /etc/cron.hourly)
Mar 19 08:39:01 telezang-app CRON[6920]: (root) CMD ( [ -x
/usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d
/var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5
$(/usr/lib/php5/maxlifetime))
Mar 19 09:09:01 telezang-app CRON[8629]: (root) CMD ( [ -x
/usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d
/var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5
$(/usr/lib/php5/maxlifetime))
Mar 19 09:17:01 telezang-app CRON[9066]: (root) CMD ( cd / && run-parts
--report /etc/cron.hourly)
Mar 19 09:39:01 telezang-app CRON[10422]: (root) CMD ( [ -x
/usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d
/var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5
$(/usr/lib/php5/maxlifetime))
Mar 19 10:09:01 telezang-app CRON[12294]: (root) CMD ( [ -x
/usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d
/var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5
$(/usr/lib/php5/maxlifetime))
Mar 19 10:17:01 telezang-app CRON[12789]: (root) CMD ( cd / && run-parts
--report /etc/cron.hourly)
Let me know what it has error.
Thanks
From: sr-users [mailto:sr-users-bounces at lists.sip-router.org] On Behalf Of
Daniel-Constantin Mierla
Sent: Thursday, March 19, 2015 3:31 PM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Kamalio call issue
Hello,
look at the sip traffic on server to see if it is forwarded or not, and if
yes, where. You can use ngrep, like:
ngrep -d any -qt -W byline "sip" port 5060
Also, check your syslog file to see if any error message is printed there.
It is not possible to guess what a fix would be if the real issue is not
known.
Cheers,
Daniel
On 19/03/15 09:59, Yogendra Gupta wrote:
Hello,
We have setup kamalio at server and it is working at some DNS with
call/chat.
At some IP chat is working but when we call then it is not working. At some
DNS(Net IP) it is working .
What can be problem at server?
Following is login for SIP test user:
tester1 at 23.253.110.48
123456
Host IP : 23.253.110.48
I have attached mu kamalio config file.
Let me know what we need to change at config file or server
Thanks
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users at lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150319/67974dcc/attachment.html>
More information about the sr-users
mailing list