Hello, You need to register your test user to kamailio, using the password provided. This adds a entry containing a contact (127.0.0.1:5070) to the location table which is queried by the lookup() function in registrar.
The subscriber table only shows what users can subscribe to your system and with what credentials. Marius On Sat, Jun 22, 2013 at 3:41 PM, aft <aft...@gmail.com> wrote: > ( I posted a same message through gmane interface. gmane is not > working right now at my place, So i can't respond to the replies i got > there). > > I have now these users : > > arif@khost:~$ kamctl db show subscriber > database engine 'MYSQL' loaded > Control engine 'FIFO' loaded > > +----+----------+---------------+------------+---------------+----------------------------------+----------------------------------+------+ > | id | username | domain | password | email_address | ha1 > | ha1b | rpid | > > +----+----------+---------------+------------+---------------+----------------------------------+----------------------------------+------+ > | 1 | test | 192.168.7.143 | testpasswd | | > ad87b307789553f95799738d87246ca0 | e211f539e22a1ad2cc0f3c07056c3517 | > NULL | > | 4 | test | 127.0.0.1 | ps | | > bca93be084f6c7a291c98fe9b0077b0b | d9ce12a4ec42448f65287de912cb9d43 | > NULL | > > +----+----------+---------------+------------+---------------+----------------------------------+----------------------------------+------+ > > > Now still if i send OPTION query > > sofsip> o sip:test@127.0.0.1:5070 > UA: OPTIONS to sip:test@127.0.0.1:5070 > sofsip> UA: OPTIONS 404 Not Found > > And from kamailio log : > > (5827) DEBUG: registrar [lookup.c:158]: lookup(): 'test' Not found in > usrloc > > > -- > -Cheers > -Arif > > _______________________________________________ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list > sr-users@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@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users