Following setup :
Users are creeated in the sippers table with following Fields set Name : xxxxxxxx .unique Host : dynamic Nat : yes Type: friend Callerid: xxxxxxxx .unique value Context: autocreate Secret : xxxxxx Disallow: all Allow : all Username : unique : same as Name Now as soon as one is registered AND active a Client coming from the same Ipadress can not register anymore The log is like this: Sep 8 15:33:41] VERBOSE[3448] logger.c: -- Registered SIP '902410000001' at 127.0.0.1 port 5100 expires 3600 [Sep 8 15:33:41] DEBUG[3399] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM sippeers WHERE name = '902410000001' New one comes online [Sep 8 15:37:44] VERBOSE[3448] logger.c: -- Registered SIP '925430000036' at 127.0.0.1 port 5102 expires 3600 [Sep 8 15:37:44] DEBUG[3448] res_config_mysql.c: MySQL RealTime: Everything is fine. [Sep 8 15:37:44] DEBUG[3448] res_config_mysql.c: MySQL RealTime: Update SQL: UPDATE sippeers SET ipaddr = '127.0.0.1', port = '5102', regseconds = '1220884664', username = '925430000036' WHERE name = '925430000036' Now call start to same extension as Nr I is calling Third one comes [Sep 8 15:41:13] DEBUG[3448] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM sippeers WHERE name = '913500000001' [Sep 8 15:41:13] DEBUG[3448] db.c: Unable to find key '913500000001' in family 'SIP/Registry' [Sep 8 15:41:13] DEBUG[3448] db.c: Unable to find key '913500000001' in family 'SIP/Registry' [Sep 8 15:41:14] VERBOSE[3448] logger.c: -- Registered SIP '913500000001' at 127.0.0.1 port 5103 expires 3600 [Sep 8 15:41:14] DEBUG[3448] res_config_mysql.c: MySQL RealTime: Everything is fine. [Sep 8 15:41:14] DEBUG[3448] res_config_mysql.c: MySQL RealTime: Update SQL: UPDATE sippeers SET ipaddr = '127.0.0.1', port = '5103', regseconds = '1220884874', username = '913500000001' WHERE name = '913500000001' NOW it starts. One channel hangs up. Then tries to get back Sep 8 15:43:35] WARNING[3448] chan_sip.c: username mismatch, have <913500000001>, digest has <925430000036> [Sep 8 15:43:35] NOTICE[3448] chan_sip.c: Failed to authenticate user "925430000036" <sip:[EMAIL PROTECTED]>;tag=z9hG4bK63215952 Anyone has an idea what to do here ?
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
