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-----
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 <helmut.kuper@ewetel.de> Reply-To: <freeswitch-users@lists.freeswitch.org> Date: Thu, 22 Jan 2009 11:05:15 +0100 To: <freeswitch-users@lists.freeswitch.org> 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 Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Helmut Kuper
-
Ken Rice