Summary: | ASTERISK-16207: Errors on Asterisk console | ||
Reporter: | Mohammed Radwan (radwan3000) | Labels: | |
Date Opened: | 2010-06-04 02:34:54 | Date Closed: | 2011-06-07 14:05:01 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Resources/res_config_ldap |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) asterisk.schema ( 1) res_ldap.conf | |
Description: | asterisk is connected to ldap to get IAX info for user. 1-I can not make call from asterisk to the user registered on LDAP as friend. 2-Also I see many errors comes on Asterisk console I am using asterisk-1.6.2.7 and asterisk-addons-1.6.2.1 ****** ADDITIONAL INFORMATION ****** ERROR[23999]: res_config_ldap.c:1292 update_ldap: Couldn't modify because Undefined attribute type ou=iaxpeers,dc=radwan,dc=com because Undefined attribute type[May 20 07:00:57] ERROR[6895] res_config_ldap.c: Couldn't modify dn:uid=120,ou=iaxpeers,dc=radwan,dc=com because Undefined attribute type[May 20 07:01:47] ERROR[6896] res_config_ldap.c: Couldn't modify dn:uid=120,ou=iaxpeers,dc=radwan,dc=com because Undefined attribute type[May 20 07:01:47] ERROR[6896] res_config_ldap.c: Couldn't modify dn:uid=120,ou=iaxpeers,dc=radwan,dc=com because Undefined attribute type[May 20 07:01:48] ERROR[6896] res_config_ldap.c: Couldn't modify dn:uid=120,ou=iaxpeers,dc=radwan,dc=com because Undefined attribute type[May 20 07:01:48] ERROR[6881] res_config_ldap.c: Couldn't modify dn:uid=120,ou=iaxpeers,dc=radwan,dc=com because Undefined attribute type[May 20 07:01:48] ERROR[6897] res_config_ldap.c: Couldn't modify dn:uid=120,ou=iaxpeers,dc=radwan,dc=com because Undefined attribute type[May 20 07:01:48] ERROR[6897] res_config_ldap.c: Couldn't modify dn:uid=120,ou=iaxpeers,dc=radwan,dc=com because Undefined attribute type[May 20 07:01:48] ERROR[6897] res_config_ldap.c: Couldn't modify dn:uid=120,ou=iaxpeers,dc=radwan,dc=com because Undefined attribute type[May 20 07:01:48] ERROR[6881] res_config_ldap.c: Couldn't modify dn:uid=120,ou=iaxpeers,dc=radwan,dc=com because Undefined attribute type[May 20 07:01:58] ERROR[6891] res_config_ldap.c: Couldn't modify dn:uid=120,ou=iaxpeers,dc=radwan,dc=com because Undefined attribute type[May 20 07:02:48] ERROR[6893] res_config_ldap.c: Couldn't modify dn:uid=120,ou=iaxpeers,dc=radwan,dc=com because Undefined attribute type[May 20 07:02:48] ERROR[6893] res_config_ldap.c: Couldn't modify dn:uid=120,ou=iaxpeers,dc=radwan,dc=com because Undefined attribute type[May 20 07:02:48] ERROR[6893] res_config_ldap.c: Couldn't modify dn:uid=120,ou=iaxpeers,dc=radwan,dc=com because Undefined attribute type[May 20 07:02:48] ERROR[6881] res_config_ldap.c: Couldn't modify dn:uid=120,ou=iaxpeers,dc=radwan,dc=com because Undefined attribute type[May 20 07:02:48] ERROR[6892] res_config_ldap.c: Couldn't modify | ||
Comments: | By: Mohammed Radwan (radwan3000) 2010-06-04 05:36:19 Any help please ? By: Gavin Henry (suretec) 2010-06-04 06:40:04 Do you have the correct schema loaded in LDAP? By: Mohammed Radwan (radwan3000) 2010-06-04 09:57:27 Hi Suretec, I uploaded the Schema I used. I am using LDAP for IAX , you know there are option Requirecalltoken in iax.conf need to be in ldap to let user register I added on schema like this AstRequirecalltoken . If you have a correct schema for IAX please send it to me. please find the attached schema By: Gavin Henry (suretec) 2010-07-26 13:29:29 There is a schema file in the source contrib folder. Have you tested with that? Thanks. By: Mohammed Radwan (radwan3000) 2010-07-27 00:25:32 Where I can find contrib folder ? Can you please upload the schema here or send it to this email eng_maradwan@hotmail.com Thanks a lot By: Gavin Henry (suretec) 2010-07-27 03:11:29 Download 1.6.2, extract the source and go to contrib/scripts/asterisk.ldap-schema By: Mohammed Radwan (radwan3000) 2010-09-16 03:43:08 Dear Suretec , I tried what you told me but no registration see the asterisk logs [Sep 16 03:26:24] ERROR[29713]: chan_iax2.c:4712 handle_call_token: Call rejected, CallToken Support required. If unexpected, resolve by placing address 196.219.48.194 in the calltokenoptional list or setting user 128 requirecalltoken=no [Sep 16 03:26:28] ERROR[29719]: chan_iax2.c:4712 handle_call_token: Call rejected, CallToken Support required. If unexpected, resolve by placing address 196.219.48.194 in the calltokenoptional list or setting user 128 requirecalltoken=no [Sep 16 03:26:29] ERROR[29720]: chan_iax2.c:4712 handle_call_token: Call rejected, CallToken Support required. If unexpected, resolve by placing address 196.219.48.194 in the calltokenoptional list or setting user 128 requirecalltoken=no [Sep 16 03:26:30] ERROR[29712]: chan_iax2.c:4712 handle_call_token: Call rejected, CallToken Support required. If unexpected, resolve by placing address 196.219.48.194 in the calltokenoptional list or setting user 128 requirecalltoken=no can I talk with you on skype or phone ? Thanks, By: Gavin Henry (suretec) 2010-09-16 05:57:19 That's an IAX2 issue, nothing to do with LDAP. Google it. By: Leif Madsen (lmadsen) 2010-10-21 07:25:13 Not an LDAP issue. |