[asterisk-users] Problems with SIP realtime
I have followed the instructions on voip-info.org for Realtime SIP peers, but I get this notice : [Feb 22 20:05:32] NOTICE[15298]: chan_sip.c:15889 handle_request_register: Registration from 'sip:test...@192.168.1.150;transport=UDP' failed for '192.168.1.105' - No matching peer found The CLI shows : [Feb 22 19:58:23] == Parsing '/etc/asterisk/extconfig.conf': [Feb 22 19:58:23] Found [Feb 22 19:58:23] == Binding voicemail to mysql/AsteriskHosted/voicemail_users [Feb 22 19:58:23] == Binding sipusers to mysql/AsteriskHosted/sip_buddies [Feb 22 19:58:23] == Binding sippeers to mysql/AsteriskHosted/sip_buddies I have the following in extconfig.conf : sipusers = mysql,Asterisk,sip_buddies sippeers = mysql,Asterisk,sip_buddies I have the following in res_mysql.conf : [general] dbhost = 127.0.0.1 dbname = Asterisk dbuser = asteriskuser dbpass = asteriskpasswd dbport = 3306 dbsock = /tmp/mysql.sock Something I'm missing ?? Need extra configuration ? Jonas. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Problems with SIP realtime
Little fault in my mailing : The CLI shows : [Feb 22 19:58:23] == Parsing '/etc/asterisk/extconfig.conf': [Feb 22 19:58:23] Found [Feb 22 19:58:23] == Binding voicemail to mysql/Asterisk/voicemail_users [Feb 22 19:58:23] == Binding sipusers to mysql/Asterisk/sip_buddies [Feb 22 19:58:23] == Binding sippeers to mysql/Asterisk/sip_buddies My database-name is just 'Asterisk', my bad. So... what am I missing for this realtime SIP to work ?? Jonas On Mon, 2010-02-22 at 20:13 +0100, jonas kellens wrote: I have followed the instructions on voip-info.org for Realtime SIP peers, but I get this notice : [Feb 22 20:05:32] NOTICE[15298]: chan_sip.c:15889 handle_request_register: Registration from 'sip:test...@192.168.1.150;transport=UDP' failed for '192.168.1.105' - No matching peer found The CLI shows : [Feb 22 19:58:23] == Parsing '/etc/asterisk/extconfig.conf': [Feb 22 19:58:23] Found [Feb 22 19:58:23] == Binding voicemail to mysql/Asterisk/voicemail_users [Feb 22 19:58:23] == Binding sipusers to mysql/Asterisk/sip_buddies [Feb 22 19:58:23] == Binding sippeers to mysql/Asterisk/sip_buddies I have the following in extconfig.conf : sipusers = mysql,Asterisk,sip_buddies sippeers = mysql,Asterisk,sip_buddies I have the following in res_mysql.conf : [general] dbhost = 127.0.0.1 dbname = Asterisk dbuser = asteriskuser dbpass = asteriskpasswd dbport = 3306 dbsock = /tmp/mysql.sock Something I'm missing ?? Need extra configuration ? Jonas. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Problems with SIP realtime
The problem was that I had a different value for 'name' and 'username'. How can I have the 'name' different from the 'username' ??? Why do these 2 need to be the same ?? Jonas. On Mon, 2010-02-22 at 20:36 +0100, jonas kellens wrote: Little fault in my mailing : The CLI shows : [Feb 22 19:58:23] == Parsing '/etc/asterisk/extconfig.conf': [Feb 22 19:58:23] Found [Feb 22 19:58:23] == Binding voicemail to mysql/Asterisk/voicemail_users [Feb 22 19:58:23] == Binding sipusers to mysql/Asterisk/sip_buddies [Feb 22 19:58:23] == Binding sippeers to mysql/Asterisk/sip_buddies My database-name is just 'Asterisk', my bad. So... what am I missing for this realtime SIP to work ?? Jonas On Mon, 2010-02-22 at 20:13 +0100, jonas kellens wrote: I have followed the instructions on voip-info.org for Realtime SIP peers, but I get this notice : [Feb 22 20:05:32] NOTICE[15298]: chan_sip.c:15889 handle_request_register: Registration from 'sip:test...@192.168.1.150;transport=UDP' failed for '192.168.1.105' - No matching peer found The CLI shows : [Feb 22 19:58:23] == Parsing '/etc/asterisk/extconfig.conf': [Feb 22 19:58:23] Found [Feb 22 19:58:23] == Binding voicemail to mysql/Asterisk/voicemail_users [Feb 22 19:58:23] == Binding sipusers to mysql/Asterisk/sip_buddies [Feb 22 19:58:23] == Binding sippeers to mysql/Asterisk/sip_buddies I have the following in extconfig.conf : sipusers = mysql,Asterisk,sip_buddies sippeers = mysql,Asterisk,sip_buddies I have the following in res_mysql.conf : [general] dbhost = 127.0.0.1 dbname = Asterisk dbuser = asteriskuser dbpass = asteriskpasswd dbport = 3306 dbsock = /tmp/mysql.sock Something I'm missing ?? Need extra configuration ? Jonas. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Problems with SIP realtime
Hello Jonas: Change this parameter, if you are using Mysql. [general] dbhost = 127.0.0.1 dbname = Asterisk dbuser = asteriskuser dbpass = asteriskpasswd dbport = 3306 *dbsock = /var/lib/mysql/mysql.sock* cheersss... 2010/2/22 jonas kellens jonas.kell...@telenet.be The problem was that I had a different value for 'name' and 'username'. How can I have the 'name' different from the 'username' ??? Why do these 2 need to be the same ?? Jonas. On Mon, 2010-02-22 at 20:36 +0100, jonas kellens wrote: Little fault in my mailing : The CLI shows : [Feb 22 19:58:23] == Parsing '/etc/asterisk/extconfig.conf': [Feb 22 19:58:23] Found [Feb 22 19:58:23] == Binding voicemail to mysql/Asterisk/voicemail_users [Feb 22 19:58:23] == Binding sipusers to mysql/Asterisk/sip_buddies [Feb 22 19:58:23] == Binding sippeers to mysql/Asterisk/sip_buddies My database-name is just 'Asterisk', my bad. So... what am I missing for this realtime SIP to work ?? Jonas On Mon, 2010-02-22 at 20:13 +0100, jonas kellens wrote: I have followed the instructions on voip-info.org for Realtime SIP peers, but I get this notice : [Feb 22 20:05:32] NOTICE[15298]: chan_sip.c:15889 handle_request_register: Registration from 'sip:test...@192.168.1.150sip%3atest...@192.168.1.150;transport=UDP' failed for '192.168.1.105' - No matching peer found The CLI shows : [Feb 22 19:58:23] == Parsing '/etc/asterisk/extconfig.conf': [Feb 22 19:58:23] Found [Feb 22 19:58:23] == Binding voicemail to mysql/Asterisk/voicemail_users [Feb 22 19:58:23] == Binding sipusers to mysql/Asterisk/sip_buddies [Feb 22 19:58:23] == Binding sippeers to mysql/Asterisk/sip_buddies I have the following in extconfig.conf : sipusers = mysql,Asterisk,sip_buddies sippeers = mysql,Asterisk,sip_buddies I have the following in res_mysql.conf : [general] dbhost = 127.0.0.1 dbname = Asterisk dbuser = asteriskuser dbpass = asteriskpasswd dbport = 3306 dbsock = /tmp/mysql.sock Something I'm missing ?? Need extra configuration ? Jonas. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Problems with SIP realtime
Dear Juan, thank you for your answer. The reason why registration failed was a mismatch between the 'username'-field and the 'name'-field. If I put both values to the same, it works... But why do these 2 need to be the same ? I would rather have a different 'name' and 'username'-parameter. Adding 'authname' to my realtime MySQL-DB does not change anything. (found this field 'authname' through google) Jonas. On Mon, 2010-02-22 at 15:25 -0500, Juan Miguel wrote: Hello Jonas: Change this parameter, if you are using Mysql. [general] dbhost = 127.0.0.1 dbname = Asterisk dbuser = asteriskuser dbpass = asteriskpasswd dbport = 3306 dbsock = /var/lib/mysql/mysql.sock cheersss... -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Problems with SIP realtime
On 02/22/2010 11:13 AM, jonas kellens wrote: I have followed the instructions on voip-info.org for Realtime SIP peers, but I get this notice : [Feb 22 20:05:32] NOTICE[15298]: chan_sip.c:15889 handle_request_register: Registration from 'sip:test...@192.168.1.150;transport=UDP' failed for '192.168.1.105' - No matching peer found The CLI shows : [Feb 22 19:58:23] == Parsing '/etc/asterisk/extconfig.conf': [Feb 22 19:58:23] Found [Feb 22 19:58:23] == Binding voicemail to mysql/AsteriskHosted/voicemail_users [Feb 22 19:58:23] == Binding sipusers to mysql/AsteriskHosted/sip_buddies [Feb 22 19:58:23] == Binding sippeers to mysql/AsteriskHosted/sip_buddies I have the following in extconfig.conf : sipusers = mysql,Asterisk,sip_buddies sippeers = mysql,Asterisk,sip_buddies I have the following in res_mysql.conf : [general] dbhost = 127.0.0.1 dbname = Asterisk dbuser = asteriskuser dbpass = asteriskpasswd dbport = 3306 dbsock = /tmp/mysql.sock Something I'm missing ?? Need extra configuration ? Jonas. The error message would seem to indicate that the endpoint isn't being matched in sip_buddies. you need the host column to be set to dynamic for the peer. All else seems to be in order -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users