dialplan rule to send the caller to voice mail when same extension is called.
Is there any way to build a dial plan so that when an extension calls itself the call is automatically put to that users voice mail? Example, extension 1001 calling 1001 and is sent to voice mail (to receive messages). I know that there is a * code to get to voice mail, I cannot recall which one right now but my phones want to dial their extension to get to voice mail.I can modify the voice mail button but this works only for the first line registered at that phone. Any help is appreciated. Orien
Of course. Please read through the default configs and the getting started guide and xml dialplan information on the wiki. Mike On Nov 26, 2009, at 12:38 PM, Orien Love wrote:
Is there any way to build a dial plan so that when an extension calls itself the call is automatically put to that users voice mail?
Example, extension 1001 calling 1001 and is sent to voice mail (to receive messages). I know that there is a * code to get to voice mail, I cannot recall which one right now but my phones want to dial their extension to get to voice mail.I can modify the voice mail button but this works only for the first line registered at that phone.
Of course. Please read through the default configs and the getting started guide and xml dialplan information on the wiki.
Mike
This is of interest to me as well, would that be something like this: <extension name="ext_100_vm"> <condition field="caller_id_number" expression="^100$"/> <condition field="destination_number" expression="^100$"> <action application="answer"/> <action application="voicemail" data="check $${voicemail_profile} $${domain} 100"/> </condition> </extension> Could anyone versed in xml and variables comment on this so it generically checked if the extension dialed was of your extension length, like ^(\d{3})$ then if it matched your caller_id_number go into the action so you could leave it as $1, not 100 in my case? That way you could only have one of these plans work for all extensions.
<condition field="destination_number" expression="^${caller_id_number}$"> On Thu, Nov 26, 2009 at 4:36 PM, Joseph L. Casale <JCasale@activenetwerx.com
wrote:
Of course. Please read through the default configs and the getting started guide and xml dialplan information on the wiki.
Mike
This is of interest to me as well, would that be something like this:
<extension name="ext_100_vm"> <condition field="caller_id_number" expression="^100$"/> <condition field="destination_number" expression="^100$"> <action application="answer"/> <action application="voicemail" data="check $${voicemail_profile} $${domain} 100"/> </condition> </extension>
Could anyone versed in xml and variables comment on this so it generically checked if the extension dialed was of your extension length, like ^(\d{3})$ then if it matched your caller_id_number go into the action so you could leave it as $1, not 100 in my case?
That way you could only have one of these plans work for all extensions.
_______________________________________________ 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
freeswitch list wrote:
<condition field="destination_number" expression="^${caller_id_number}$">
I knew this day would come. After the accumulation of all of the knowledge from the list members, the list has finally achieved sentience and is now answering questions by itself. :-) -- Russell Mosemann
LOL thats funny. freeswitch, what is the meaning of life? On Nov 26, 2009, at 4:45 PM, Russell Mosemann wrote:
freeswitch list wrote:
<condition field="destination_number" expression="^$ {caller_id_number}$">
I knew this day would come. After the accumulation of all of the knowledge from the list members, the list has finally achieved sentience and is now answering questions by itself. :-)
-- Russell Mosemann
_______________________________________________ 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
Weird don't know how that got set to freeswitch list. On Thu, Nov 26, 2009 at 9:27 PM, Rob Forman <rob4manhere@gmail.com> wrote:
LOL thats funny.
freeswitch, what is the meaning of life?
On Nov 26, 2009, at 4:45 PM, Russell Mosemann wrote:
freeswitch list wrote:
<condition field="destination_number" expression="^$ {caller_id_number}$">
I knew this day would come. After the accumulation of all of the knowledge from the list members, the list has finally achieved sentience and is now answering questions by itself. :-)
-- Russell Mosemann
_______________________________________________ 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
_______________________________________________ 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 (7)
-
eman
-
freeswitch list
-
Joseph L. Casale
-
Michael Jerris
-
Orien Love
-
Rob Forman
-
Russell Mosemann