Hi, I'm testing realtime right now, it does not seem to me that realtime contexts can be included in normal context, like this [sip] include=>sip-dial exten=>i,1,Hangup [sip-dial] switch=>Realtime/sip-dial Am I getting it wrong ? Tnx ! -- Best regards, Alessio mailto:afoc@interconnessioni.it
What is leading you to believe that this isn't working? You didn't give us much to work with... -Matthew ----- Original Message ----- From: "Alessio Focardi" <afoc@interconnessioni.it> To: <asterisk-users@lists.digium.com> Sent: Tuesday, January 11, 2005 5:07 AM Subject: [Asterisk-Users] Realtime and include> Hi, > > I'm testing realtime right now, it does not seem to me that realtime > contexts can be included in normal context, like this > > [sip] > > include=>sip-dial > > exten=>i,1,Hangup > > [sip-dial] > > switch=>Realtime/sip-dial > > Am I getting it wrong ? > > Tnx ! > > -- > Best regards, > Alessio mailto:afoc@interconnessioni.it > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > lists.digium.com/mailman/listinfo/asterisk-users
Hi, is there any support for include statement in the database when using realtime configurations? I would like to have as much as possible configuration in my postgres db but we have different access controls for different user contexts (allow international, national etc). Today we have different contexts for access rules e.g. [allow_international] exten => _00.,1,Dial... and for users we just include the allow_xxx and deny_xxx contexts. This makes it easier since we don't need to change each users dialplan just include the right contexts. Is this possible with realtime? The only way I see is to add/remove switch statements in extensions.conf and then we back to make the changes in extensions.conf and not in the database... /urban