You could write something in JS or lua that would check local numbers against a DB then forward them out if not (transfer) or send them to the local extension processor
> From: Helmut Kuper <[email protected]> > Reply-To: <[email protected]> > Date: Thu, 22 Jan 2009 11:05:15 +0100 > To: <[email protected]> > Subject: [Freeswitch-users] Dialplan Question: Is extension local? > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello, > > is there a dialan or dptool function, which allows to check whether a > user/extension is local or not ? > > What I try to do is this: > > Local extension? -> bridge -> bridge fails (on_busy, no answere, > timeout, offline)->voicemail > > Every other call should go to PSTN. > > But unfortunately calls which should go to PSTN goes to voicemail ... > > I use default dialplan for local extensions which ships with FS > > regards > helmut > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (MingW32) > > iEYEARECAAYFAkl4RNsACgkQ4tZeNddg3dz26gCdHbAbrp0Z+YzIuVTewo+5tE7K > GJcAniMGvoIE6yLCJJ3auVSJtKW/fma4 > =5eQI > -----END PGP SIGNATURE----- > > _______________________________________________ > Freeswitch-users mailing list > [email protected] > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org _______________________________________________ Freeswitch-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
