Your sip server does not run... it starts, but fails with:
Nov 19 13:38:58 Kamailio-DANNDP /usr/sbin/kamailio[20246]: ERROR:core:db_check_api: module db_mysql does not export db_use_table function Nov 19 13:38:58 Kamailio-DANNDP /usr/sbin/kamailio[20246]: ERROR:auth_db:mod_init: unable to bind to a database driver Nov 19 13:38:58 Kamailio-DANNDP /usr/sbin/kamailio[20246]: ERROR:core:init_mod: failed to initialize module auth_db Nov 19 13:38:58 Kamailio-DANNDP /usr/sbin/kamailio[20246]: ERROR:core:main: error while initializing modules
You should you add loadmodule db_mysql to your config file. If you try using other database than MySQL, then you need to instruct auth_db module to use it via module parameter modparam("auth_db", "db_url", "dbdriver://username:password@dbhost/dbname").
Michal
Danny Dias píše v Pá 19. 11. 2010 v 14:04 +0100:
Hello Daniel,
2010/11/19 Daniel-Constantin Mierla miconda@gmail.com:
On 11/18/10 3:56 PM, Danny Dias wrote:
Hello...
2010/11/18 Daniel-Constantin Mierlamiconda@gmail.com:
never write private emails. They will be simply discarded.
Sorry Daniel i did not realize that i was sending the email to you
ngrep gets the traffic before the firewall. Do you have a firewall?
No i do not have a firewall. This is so weird!
start kamailio with log_stderror=yes and debug=5. if you don't see any sip message processing, then sip traffic does not reach the application layer.
I do have log_stderror=yes and debug=5 and i do not see any message and no any answer to my REGISTER, am i missing something in my script? (in the initial message of this thread you can see the kamailio.cfg)
How do you start kamailio?
I start Kamailio with /etc/init.d/kamailio restart:
<Kamailio-Testing> root@Kamailio-DANNDP:~# /etc/init.d/kamailio restart Restarting Kamailio SIP server: kamailioListening on udp: 212.230.19.191 [212.230.19.191]:5060 Aliases: udp: Kamailio-DANNDP:5060
When debug=5 you get log messages before the config is executed, as soon as something is received. So if you don't see anything, then kamailio does not receive anything on the sockets it listens to.
Attached you will see the tail -f of my kamailio.log while i'm restarting kamailio
Cheers, Daniel
-- Daniel-Constantin Mierla Kamailio (OpenSER) Advanced Trainings Nov 22-25, 2010, Berlin, Germany Jan 24-26, 2011, Irvine, CA, USA http://www.asipto.com
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