Now we are getting SIP/2.0 500 I'm terribly sorry, server error occurred (7/SL)
Where can we refer documentation on basic stuff like this. I have been searching docs and
finding nothing!
Retransmitting #1 (NAT) to 103.35.68.236:5060:
REGISTER sip:ims.airtel.in SIP/2.0
Via: SIP/2.0/UDP 103.35.68.236:5080;branch=z9hG4bK12a09375;rport
Max-Forwards: 70
From: <sip:+911244893100@ims.airtel.in>;tag=as0466c782
To: <sip:+911244893100@ims.airtel.in>
Call-ID: 0e07915f6d490cdb574f14b734740421(a)103.35.68.236
CSeq: 200 REGISTER
User-Agent: Asterisk PBX 11.13.0
Expires: 120
Contact: <sip:+911244893100@103.35.68.236:5080>
Content-Length: 0
---
<--- SIP read from UDP:103.35.68.236:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 103.35.68.236:5080;branch=z9hG4bK12a09375;rport=5080
From: <sip:+911244893100@ims.airtel.in>;tag=as0466c782
To: <sip:+911244893100@ims.airtel.in>;tag=870a5b262384e4f9f82f59836d699db5.7052
Call-ID: 0e07915f6d490cdb574f14b734740421(a)103.35.68.236
CSeq: 200 REGISTER
Contact: <sip:+911244893100@103.35.68.236:5080>;expires=120
Server: kamailio (4.1.6 (x86_64/linux))
Content-Length: 0
<------------->
--- (9 headers 0 lines) ---
Really destroying SIP dialog '0e07915f6d490cdb574f14b734740421(a)103.35.68.236'
Method: REGISTER
<--- SIP read from UDP:103.35.68.236:5060 --->
SIP/2.0 500 I'm terribly sorry, server error occurred (7/SL)
Via: SIP/2.0/UDP 103.35.68.236:5080;branch=z9hG4bK12a09375;rport=5080
From: <sip:+911244893100@ims.airtel.in>;tag=as0466c782
To: <sip:+911244893100@ims.airtel.in>;tag=870a5b262384e4f9f82f59836d699db5.7052
Call-ID: 0e07915f6d490cdb574f14b734740421(a)103.35.68.236
CSeq: 200 REGISTER
Contact: <sip:+911244893100@103.35.68.236:5080>;expires=120
Server: kamailio (4.1.6 (x86_64/linux))
Content-Length: 0
Manoj K. Gupta
Principal Consultant | Tellusys Info Private Limited | Office: +91.124. 4059635| Hand
Phone: +91.8802101020 | E-post:mk@tellusys.in | Web:
Reg. Office : D109
Suncity, Sector-54, Gurgaon 122002, Haryana, india
*Web Hosting & Cloud Telephony Infrastructure company
“Bitterness of poor quality is remembered long after the sweetness of low price has faded
from memory”
DISCLAIMER: This email message and the files transmitted with it are for the sole use of
the intended recipient(s) and may contain confidential and privileged information. Any
unauthorized review, use, disclosure or distribution is prohibited. If you are not the
intended recipient, please contact the sender by reply email and destroy all copies of the
original message.
-----Original Message-----
From: sr-users [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of Daniel Grotti
Sent: 02 January 2017 10:34
To: sr-users(a)lists.sip-router.org
Subject: Re: [SR-Users] Help Asterisk with Kamailio unable to register with remote VOIP
providers
You should add "ims.airtel.in" as kamailio local domain, in your
kamailio.domain table.
--
Daniel Grotti
On 01/02/2017 05:31 PM, Manoj Gupta wrote:
HI Daniel,
Here is another problem. Kamailio responds with SIP/2.0 478 Unresolvable destination
(478/SL) to REGISTER requests sent by asterisk for VOIP provider. Domain
"ims.airtel.in" does not exist. Where can we map this in kamailio.cfg?
Retransmitting #3 (NAT) to 103.35.68.236:5060:
REGISTER sip:ims.airtel.in SIP/2.0
Via: SIP/2.0/UDP 103.35.68.236:5080;branch=z9hG4bK145d9048;rport
Max-Forwards: 70
From: <sip:+911244893100@ims.airtel.in>;tag=as565ef860
To: <sip:+911244893100@ims.airtel.in>
Call-ID: 7dd361ec25cb07344ea9df526e89ca8a(a)103.35.68.236
CSeq: 642 REGISTER
User-Agent: Asterisk PBX 11.13.0
Expires: 120
Contact: <sip:+911244893100@103.35.68.236:5080>
Content-Length: 0
---
<--- SIP read from UDP:103.35.68.236:5060 --->
SIP/2.0 478 Unresolvable destination (478/SL)
Via: SIP/2.0/UDP 103.35.68.236:5080;branch=z9hG4bK05dd9ad7;rport=5080
From: <sip:+911244893100@ims.airtel.in>;tag=as565ef860
To: <sip:+911244893100@ims.airtel.in>;tag=870a5b262384e4f9f82f59836d699db5.383c
Call-ID: 7dd361ec25cb07344ea9df526e89ca8a(a)103.35.68.236
CSeq: 633 REGISTER
Server: kamailio (4.1.6 (x86_64/linux))
Content-Length: 0
Manoj K. Gupta
Principal Consultant | Tellusys Info Private Limited | Office: +91.124. 4059635| Hand
Phone: +91.8802101020 | E-post:mk@tellusys.in | Web:
www.Tellusys.in| Reg. Office : D109
Suncity, Sector-54, Gurgaon 122002, Haryana, india
*Web Hosting & Cloud Telephony Infrastructure company
“Bitterness of poor quality is remembered long after the sweetness of low price has faded
from memory”
DISCLAIMER: This email message and the files transmitted with it are for the sole use of
the intended recipient(s) and may contain confidential and privileged information. Any
unauthorized review, use, disclosure or distribution is prohibited. If you are not the
intended recipient, please contact the sender by reply email and destroy all copies of the
original message.
-----Original Message-----
From: sr-users [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of Daniel Grotti
Sent: 02 January 2017 08:54
To: sr-users(a)lists.sip-router.org
Subject: Re: [SR-Users] Help Asterisk with Kamailio unable to register with remote VOIP
providers
Hi,
please configure this in your kamailio.cfg:
debug=3 # debug level, 1 is low and 4 is high (lots of output)
log_facility=LOG_LOCAL7
...
loadmodule "/usr/local/lib/kamailio/modules/xlog.so"
...
As well as this in your rsyslog.cfg:
# Kamailio (OpenSER) messages, make sure this spacing is done with tabs,
spaces may cause errors
local7.* -/var/log/kamailio
Please notice that you have to restart kamailio and rsyslog.
Also remember to set the log facility in your xlog lines, e.g:
xlog("L_NOTICE", "This is a standard log line\n");
After restarting the processes, what do you see in /var/log/kamailio ?
What do you get from kamctl fifo debug ?
--
Daniel Grotti
On 01/02/2017 04:13 PM, Manoj Gupta wrote:
Hi Daniel,
Thanks for the quick revert!
Yes we have configured the same in /etc/rsyslog.conf as we do not have /etc/syslog.conf
Once we restart the rsyslog service we can see /var/log/kamailio file is getting created
as below:
[root@mt log]# pwd
/var/log
[root@mt log]# ls -l kamai*
-rw------- 1 root root 0 Jan 2 10:10 kamailio
[root@mt log]#
But nothing is getting logged in the log file. In kamailio.cfg logging levels are set as
below:
### LOG Levels: 3=DBG, 2=INFO, 1=NOTICE, 0=WARN, -1=ERR
#!ifdef WITH_DEBUG
debug=3
log_stderror=yes
#!else
debug=2
log_stderror=yes
#!endif
memdbg=5
memlog=5
#log_facility=LOG_LOCAL0
log_facility=LOG_LOCAL6
Manoj K. Gupta
-----Original Message-----
From: sr-users [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of Daniel Grotti
Sent: 02 January 2017 08:10
To: sr-users(a)lists.sip-router.org
Subject: Re: [SR-Users] Help Asterisk with Kamailio unable to register with remote VOIP
providers
Hi,
have you configured kamailio in order to log to /var/log/kamailio
instead of syslog ?
https://www.kamailio.org/dokuwiki/doku.php/utils:basic-syslog-configuration
--
Daniel Grotti
On 01/02/2017 03:36 PM, Manoj Gupta wrote:
Request to all – Please help we are BADLY stuck
in this asterisk 11.13
and Kamailio 4.1 integration provided with Elastix MT
Our Configuration is like this:
Asterisk IP – 10x.3x.6x.236 port 5080
Kamailio IP - 10x.3x.6x.236 port 5060
Please see our kamailio.cfg attached.
Issue 1:
Issue is REGISTER messages sent by asterisk are not responded by
kamailio asterisk is constantly doing a re-transmit on REGISTER messages.
Retransmitting #1 (NAT) to 10x.3x.6x.236:5060:
REGISTER sip:ims.airtel.in SIP/2.0
Via: SIP/2.0/UDP 10x.3x.6x.236:5080;branch=z9hG4bK40ac1ed8;rport
Max-Forwards: 70
From: <sip:+91224400@ims.airtel.in>;tag=as565ef860
To: <sip:+91224400@ims.airtel.in>
Call-ID: 7dd361ec25cb07344ea9df526e89ca8a(a)10x.3x.6x.236
CSeq: 182 REGISTER
User-Agent: Asterisk PBX 11.13.0
Expires: 120
Contact: <sip:+91224400@10x.3x.6x.236:5080>
Content-Length: 0
Issue 2:
We are not able to see any log messages in /var/log/kamailio.log. We
have done all kind of changes suggested on online blogs
Why does kamailio not have a pre-set configuration as it is mostly used
as sip proxy?
Manoj K. Gupta
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org