Summary: | ASTERISK-11400: dbsecret is not considered a "secret" | ||
Reporter: | Preston Marshall (bbhoss) | Labels: | |
Date Opened: | 2008-02-07 20:52:21.000-0600 | Date Closed: | 2008-02-08 09:06:39.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Channels/chan_iax2 |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | I am defining a dundi context in iax.conf of course using dbsecret. The problem is that dbsecret is not treated like a normal "secret", so to asterisk it appears as if it's a "guest" account. This is currently causing issues with my ITSP, because it keeps trying to authenticate under the dundi (what it thinks is the guest) user. I know that it's not being treated as a secret, because as soon as I add a secret=blah into the dundi user's config, my incoming DIDs work as expected. I am sure this is as confusing to you as it is me, so if you have any questions please ask! ****** ADDITIONAL INFORMATION ****** Debug Info: Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW Timestamp: 00010ms SCall: 00344 DCall: 00000 [64.136.174.24:4569] VERSION : 2 CALLED NUMBER : 2568679999 CODEC_PREFS : (g729) CALLING NUMBER : +12567779999 CALLING PRESNTN : 0 CALLING TYPEOFN : 0 CALLING TRANSIT : 0 CALLING NAME : LANGUAGE : en FORMAT : 256 CAPABILITY : 57600 ADSICPE : 2 DATE TIME : 2008-02-07 20:36:26 www*CLI> Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: AUTHREQ Timestamp: 00015ms SCall: 00001 DCall: 00344 [64.136.174.24:4569] AUTHMETHODS : 3 CHALLENGE : 210411059 USERNAME : dundi Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: AUTHREP Timestamp: 00099ms SCall: 00344 DCall: 00001 [64.136.174.24:4569] MD5 RESULT : scrubbed [Feb 7 20:36:26] NOTICE[7669]: chan_iax2.c:7773 socket_process: Host 64.136.174.24 failed to authenticate as dundi Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: ACK Timestamp: 00099ms SCall: 00001 DCall: 00344 [64.136.174.24:4569] Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: REJECT Timestamp: 00099ms SCall: 00001 DCall: 00344 [64.136.174.24:4569] CAUSE : No authority found CAUSE CODE : 50 Dundi user in iax.conf: [dundi] type=user accountcode=dundi dbsecret=dundi/secret context=dundi-e164-local disallow=all allow=g729 allow=gsm | ||
Comments: | By: Digium Subversion (svnbot) 2008-02-08 09:05:17.000-0600 Repository: asterisk Revision: 102968 U branches/1.4/channels/chan_iax2.c ------------------------------------------------------------------------ r102968 | file | 2008-02-08 09:05:13 -0600 (Fri, 08 Feb 2008) | 4 lines Make sure the presence of dbsecret is factored into user scoring. (closes issue ASTERISK-11400) Reported by: bbhoss ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=102968 By: Digium Subversion (svnbot) 2008-02-08 09:06:39.000-0600 Repository: asterisk Revision: 102969 _U trunk/ U trunk/channels/chan_iax2.c ------------------------------------------------------------------------ r102969 | file | 2008-02-08 09:06:39 -0600 (Fri, 08 Feb 2008) | 12 lines Merged revisions 102968 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r102968 | file | 2008-02-08 11:08:20 -0400 (Fri, 08 Feb 2008) | 4 lines Make sure the presence of dbsecret is factored into user scoring. (closes issue ASTERISK-11400) Reported by: bbhoss ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=102969 |