[asterisk-users] Realtime extensions configuration - calling user filtering
Hi, Is it possible to filter the calling user with the usage of mysql realtime the same as it is done in extensions.conf file: exten = some_exten/calling-user is there some flag which activates this extra check?? Cheers Tomasz ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Realtime extensions configuration - calling user filtering
As much I as can tell, Asterisk version 1.2 doesn't support the ex-girlfriend logic that you ask. I didn't test that feature with 1.4 releases, maybe they already implement it. Regards, Ricardo Carvalho.. On Nov 20, 2007 2:51 PM, Tomasz Zieleniewski [EMAIL PROTECTED] wrote: Hi, Is it possible to filter the calling user with the usage of mysql realtime the same as it is done in extensions.conf file: exten = some_exten/calling-user is there some flag which activates this extra check?? Cheers Tomasz ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Realtime extensions configuration - calling user filtering
I tried it with 1.4 and it didn't work with standard settings and no magic:) On Nov 20, 2007 4:32 PM, Ricardo Carvalho [EMAIL PROTECTED] wrote: As much I as can tell, Asterisk version 1.2 doesn't support the ex-girlfriend logic that you ask. I didn't test that feature with 1.4 releases, maybe they already implement it. Regards, Ricardo Carvalho.. On Nov 20, 2007 2:51 PM, Tomasz Zieleniewski [EMAIL PROTECTED] wrote: Hi, Is it possible to filter the calling user with the usage of mysql realtime the same as it is done in extensions.conf file: exten = some_exten/calling-user is there some flag which activates this extra check?? Cheers Tomasz ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Realtime extensions configuration - calling user filtering
If you really want to use some DB to read/write your dialplan, the best thing for you would be to write some scripts to generate text files from the contents of the tables of your DB. Those files can then be loaded in the extensions.conf file with the sentence: #include generated_file.txt. In the same script you can even do some asterisk -r -x extensions reload command, and then you'll have your own realtime extensions working with the ex-girlfriend logic you wanted! I implemented this way because I had the same problem as you... :) Regards, Ricardo Carvalho. On Nov 20, 2007 4:16 PM, Tomasz Zieleniewski [EMAIL PROTECTED] wrote: I tried it with 1.4 and it didn't work with standard settings and no magic:) On Nov 20, 2007 4:32 PM, Ricardo Carvalho [EMAIL PROTECTED] wrote: As much I as can tell, Asterisk version 1.2 doesn't support the ex-girlfriend logic that you ask. I didn't test that feature with 1.4 releases, maybe they already implement it. Regards, Ricardo Carvalho.. On Nov 20, 2007 2:51 PM, Tomasz Zieleniewski [EMAIL PROTECTED] wrote: Hi, Is it possible to filter the calling user with the usage of mysql realtime the same as it is done in extensions.conf file: exten = some_exten/calling-user is there some flag which activates this extra check?? Cheers Tomasz ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Realtime extensions configuration - calling user filtering
On Tuesday 20 November 2007 11:18:45 Ricardo Carvalho wrote: If you really want to use some DB to read/write your dialplan, the best thing for you would be to write some scripts to generate text files from the contents of the tables of your DB. Those files can then be loaded in the extensions.conf file with the sentence: #include generated_file.txt. In the same script you can even do some asterisk -r -x extensions reload command, and then you'll have your own realtime extensions working with the ex-girlfriend logic you wanted! I implemented this way because I had the same problem as you... :) Or you could use func_odbc and get a real dynamic dialplan, instead of moving your static dialplan to a database, which really makes it no more dynamic. -- Tilghman ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users