[sr-dev] Basic SIP registration failure with the latest release of Kamailio, please HELP

Auro Tripathy Auro.Tripathy at wdc.com
Wed Jun 27 23:05:58 CEST 2012


Please ignore, initial startup problems resolved.

I was using uppercase DEFINE. Once I switched to lowercase, the defines started to take effect!

Now I have other issues to resolve such as the one below.

Jun 27 13:55:30 engdev1 /usr/sbin/kamailio[14919]: ERROR: <core> [db.c:439]: invalid version 1004 for table location found, expected 5 (check table structure and table "version")



From: Auro Tripathy
Sent: Wednesday, June 27, 2012 11:20 AM
To: 'miconda at gmail.com'; 'Development mailing list of the sip-router project'
Subject: RE: [sr-dev] Basic SIP registration failure with the latest release of Kamailio, please HELP


Thank you Daniel for looking into this.


[root at engdev1 kamailio]# kamailio -V
version: kamailio 3.3.0 (x86_64/linux) e75049
flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 4MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: e75049
compiled on 11:32:44 Jun 18 2012 with gcc 4.1.2
[root at engdev1 kamailio]#


My defined values are set as follows:

####### Defined Values #########
#!DEFINE WITH_DEBUG
#!DEFINE WITH_MYSQL
#!DEFINE WITH_AUTH
#!DEFINE WITH_ALIASDB
#!DEFINE WITH_USRLOCDB

I've attached my SIP trace.

My debug is set to 4 (default)

I'm using the default config file with a few interspersed xlog calls to understand flow. I don't see any route[AUTH] code being executed.


From: Daniel-Constantin Mierla [mailto:miconda at gmail.com]<mailto:[mailto:miconda at gmail.com]>
Sent: Wednesday, June 27, 2012 10:49 AM
To: Development mailing list of the sip-router project
Cc: Auro Tripathy
Subject: Re: [sr-dev] Basic SIP registration failure with the latest release of Kamailio, please HELP

Hello,

you say it's latest release (which is 3.3), but then the tutorial you are following is for kamailio 3.1. Can you give the output of 'kamailio -V' to know exactly what you are using?

Also, you can set debug=3 in your config and watch the log file to see what happens. Is it the default configuration file?

It will be also useful to see the sip trace for such case, you can use ngrep like:

ngrep -d any -qt -W byline port 5060

Send all such details here if you cannot figure out yourself what is going on.

Cheers,
Daniel
On 6/27/12 6:11 PM, Auro Tripathy wrote:
Hi All:

I have had NO success in registering my SIP ID via my SIP client, jitsi.

How do I debug this? Where do I look?

Steps do far...

I have successfully created a subscriber with

kamctl add romeo romeo123


I also see that the Siremis web interface has been updated correctly.

When I use jitsi to REGISTER the subscriber, I do not see any response.

The REGISTER request is hitting the server but I don't understand the routing code well enough to debug it.

The expectation was that something this basic would work out-of-the-box :(


I'm following  instructions from the link below:
http://nil.uniza.sk/sip/kamailio/adding-mysql-support-kamailio-31-debian-lenny.

Please HELP.

-Auro





_______________________________________________

sr-dev mailing list

sr-dev at lists.sip-router.org<mailto:sr-dev at lists.sip-router.org>

http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


--

Daniel-Constantin Mierla - http://www.asipto.com

http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 - http://asipto.com/u/katu

Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 - http://asipto.com/u/kpw
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20120627/ef30519b/attachment.htm>


More information about the sr-dev mailing list