I try to get Realtime to work, ... the debug looks like below. Mar 12 00:56:56 DEBUG[25640]: MySQL RealTime: Retrieve SQL: SELECT * FROM sip_buddies WHERE name = '621' Mar 12 00:56:56 DEBUG[25640]: MySQL RealTime: Everything is fine. Mar 12 00:56:56 DEBUG[25640]: Unable to find key '621' in family 'SIP/Registry' Mar 12 00:56:56 DEBUG[25640]: Setting NAT on RTP to 524288 Mar 12 00:56:56 DEBUG[25640]: Exiting with DIALSTATUS=CONGESTION. Mar 12 00:56:56 DEBUG[25640]: /var/spool/asterisk/voicemail/other/621/unavail doesn't exist, doing what we can There are two things: 1. Unable to find key '621' in family 'SIP/Registry' where have I forgotten to set that? 2. /var/spool/asterisk/voicemail/other/621/unavail doesn't exist, doing what we can it is not there, because it is in /var/spool/asterisk/vm/621/ Where to correct that? bye Ronald
Just because it doesn't work for you doesn't mean it doesn't work for everyone else. 1. Do you have a record in your database for user 621? 2. Run the query inside MySQL cli. How many rows where returned? If none, then its your fault it failed. 3. You have set the VM context for 621 to be "other" but it seems that 'you' created the directory (in the wrong place i might add) as opposed to letting VM create it for you. -Matthew Ronald Wiplinger wrote:> I try to get Realtime to work, ... the debug looks like below. > > > Mar 12 00:56:56 DEBUG[25640]: MySQL RealTime: Retrieve SQL: SELECT * > FROM sip_buddies WHERE name = '621' > Mar 12 00:56:56 DEBUG[25640]: MySQL RealTime: Everything is fine. > Mar 12 00:56:56 DEBUG[25640]: Unable to find key '621' in family > 'SIP/Registry' > Mar 12 00:56:56 DEBUG[25640]: Setting NAT on RTP to 524288 > Mar 12 00:56:56 DEBUG[25640]: Exiting with DIALSTATUS=CONGESTION. > Mar 12 00:56:56 DEBUG[25640]: > /var/spool/asterisk/voicemail/other/621/unavail doesn't exist, doing > what we can > > There are two things: > 1. Unable to find key '621' in family 'SIP/Registry' > where have I forgotten to set that? > > 2. /var/spool/asterisk/voicemail/other/621/unavail doesn't exist, > doing what we can > it is not there, because it is in /var/spool/asterisk/vm/621/ > Where to correct that? > > > bye > > Ronald > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Cirelle Internet Products
2005-Mar-11 12:38 UTC
[Asterisk-Users] Realtime does not work yet, ...
Ronald Wiplinger wrote:> I try to get Realtime to work, ... the debug looks like below. > > > Mar 12 00:56:56 DEBUG[25640]: MySQL RealTime: Retrieve SQL: SELECT * > FROM sip_buddies WHERE name = '621' > Mar 12 00:56:56 DEBUG[25640]: MySQL RealTime: Everything is fine. > Mar 12 00:56:56 DEBUG[25640]: Unable to find key '621' in family > 'SIP/Registry' > Mar 12 00:56:56 DEBUG[25640]: Setting NAT on RTP to 524288 > Mar 12 00:56:56 DEBUG[25640]: Exiting with DIALSTATUS=CONGESTION. > Mar 12 00:56:56 DEBUG[25640]: > /var/spool/asterisk/voicemail/other/621/unavail doesn't exist, doing > what we can > > There are two things: > 1. Unable to find key '621' in family 'SIP/Registry' > where have I forgotten to set that? > > 2. /var/spool/asterisk/voicemail/other/621/unavail doesn't exist, > doing what we can > it is not there, because it is in /var/spool/asterisk/vm/621/ > Where to correct that? > > > bye > > Ronald >We bailed on it for now, as it does not appear to be 100%. Phones would not re-register, calls would fail.(just a lot of headaches) We went back to using the config files and all settled down. It looks as tho the db addon is just that, patches to make it work instead of rewriting the thing from scratch with all storage in a database and not in conf files. You might try storing all of your config settings to a database and writing them out to the config dir when there are changes. I think someone wrote an app to do that. g