I want to setup a dialplan for a single DID. I would like it to go to a specific extension, and if not picked up in 15 seconds, go to voicemail. I have set this scenario up and it works. But I would also like this person to be able to call this DID from outside FS via a phone and be able to retrieve their voicemail. I've seen the example of how to pick up an extension's voicemail while inside FS by checking to see if the destination_number is the same as the caller_id_number, and if so, listen to voicemail, otherwise leave the message with voicemail. But I don't have a clue how to accomplish this from outside, other than dedicating another DID to solely retrieving voicemail from outside. Any ideas? Thanks, Lars
Try pressing * during the greeting and make sure you have the vmain extension so you can login. /b On May 21, 2009, at 6:56 PM, Lars Zeb wrote:
I want to setup a dialplan for a single DID. I would like it to go to a specific extension, and if not picked up in 15 seconds, go to voicemail.
I have set this scenario up and it works. But I would also like this person to be able to call this DID from outside FS via a phone and be able to retrieve their voicemail. I’ve seen the example of how to pick up an extension’s voicemail while inside FS by checking to see if the destination_number is the same as the caller_id_number, and if so, listen to voicemail, otherwise leave the message with voicemail.
But I don’t have a clue how to accomplish this from outside, other than dedicating another DID to solely retrieving voicemail from outside.
Any ideas?
Thanks, Lars ______________
Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com
Brian, Pressing * no longer works. I don't know if my dialplan is causing the error or something in FreeSWITCH has changed. When pressing * during the greeting, the call immediately hangs up. Any ideas? http://pastebin.freeswitch.org/9803 Thanks, Lars From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Thursday, May 21, 2009 5:01 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Inbound call routing help Try pressing * during the greeting and make sure you have the vmain extension so you can login. /b On May 21, 2009, at 6:56 PM, Lars Zeb wrote: I want to setup a dialplan for a single DID. I would like it to go to a specific extension, and if not picked up in 15 seconds, go to voicemail. I have set this scenario up and it works. But I would also like this person to be able to call this DID from outside FS via a phone and be able to retrieve their voicemail. I've seen the example of how to pick up an extension's voicemail while inside FS by checking to see if the destination_number is the same as the caller_id_number, and if so, listen to voicemail, otherwise leave the message with voicemail. But I don't have a clue how to accomplish this from outside, other than dedicating another DID to solely retrieving voicemail from outside. Any ideas? Thanks, Lars ______________ Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com <http://www.cluecon.com/>
Brian, When calling into FreeSWITCH and pressing * during the greeting, the call immediately hangs up. It used to ask for the mailbox number to retrieve messages. It no longer works. I don't know if my dialplan is causing the error or something in FreeSWITCH has changed. Any ideas? http://pastebin.freeswitch.org/9803 Thanks, Lars
I don't know if this may be related but in voicemail.conf.xml by default the two params that follow are defined: <param name="operator-extension" value="operator XML default"/> <param name="operator-key" value="9"/> And pressing 9 during the greeting does not send me to the operator. I am on trunk rev 14123M On Wed, Jul 22, 2009 at 2:13 PM, Lars Zeb <larclap@yahoo.com> wrote:
Brian,
When calling into FreeSWITCH and pressing * during the greeting, the call immediately hangs up.
It used to ask for the mailbox number to retrieve messages. It no longer works. I don’t know if my dialplan is causing the error or something in FreeSWITCH has changed.
Any ideas?
http://pastebin.freeswitch.org/9803
Thanks, Lars
_______________________________________________ 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
Do you have anything on that extension? On Jul 22, 2009, at 7:21 PM, Luis F Urrea <lfurrea@gmail.com> wrote:
I don't know if this may be related but in voicemail.conf.xml by default the two params that follow are defined:
<param name="operator-extension" value="operator XML default"/> <param name="operator-key" value="9"/>
And pressing 9 during the greeting does not send me to the operator.
I am on trunk rev 14123M
On Wed, Jul 22, 2009 at 2:13 PM, Lars Zeb <larclap@yahoo.com> wrote: Brian,
When calling into FreeSWITCH and pressing * during the greeting, the call immediately hangs up.
It used to ask for the mailbox number to retrieve messages. It no longer works. I don’t know if my dialplan is causing the error or so mething in FreeSWITCH has changed.
Any ideas?
http://pastebin.freeswitch.org/9803
Thanks, Lars
_______________________________________________ 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
you are using a channel created with a script and you did not set js session.autoHangup(0) lua session:autoHangup(0) so when the * makes the call transfer the script kills the channel. On Wed, Jul 22, 2009 at 3:13 PM, Lars Zeb <larclap@yahoo.com> wrote:
Brian,
When calling into FreeSWITCH and pressing * during the greeting, the call immediately hangs up.
It used to ask for the mailbox number to retrieve messages. It no longer works. I don’t know if my dialplan is causing the error or something in FreeSWITCH has changed.
Any ideas?
http://pastebin.freeswitch.org/9803
Thanks, Lars
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
Thanks for the reply. This is my first attempt at using a script. I tried: session:autoHangup(0) or session:autoHangup(false) but got an error: 2009-07-23 07:19:09.652238 [ERR] mod_lua.cpp:182 /usr/local/freeswitch/scripts/inbound_calls.lua:29: attempt to call method 'autoHangup' (a nil value) stack traceback: /usr/local/freeswitch/scripts/inbound_calls.lua:29: in main chunk I looked at the documentation and tried: session:setAutoHangup(false) and the script proceeded without error. However, looking at the log, I do not see the setAutoHangup being called. Also, when pressing *, I get a fast, busy signal. I have pasted the script and log at http://pastebin.freeswitch.org/9836 Thanks again, Lars From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: Wednesday, July 22, 2009 4:33 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Asterisk key during message hangs up call you are using a channel created with a script and you did not set js session.autoHangup(0) lua session:autoHangup(0) so when the * makes the call transfer the script kills the channel. On Wed, Jul 22, 2009 at 3:13 PM, Lars Zeb <larclap@yahoo.com> wrote: Brian, When calling into FreeSWITCH and pressing * during the greeting, the call immediately hangs up. It used to ask for the mailbox number to retrieve messages. It no longer works. I don't know if my dialplan is causing the error or something in FreeSWITCH has changed. Any ideas? http://pastebin.freeswitch.org/9803 Thanks, Lars _______________________________________________ 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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <mailto:MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
I meant to pick one based on whichever lang you were using not to literally write what i said. anyway, yes so now you solved your autoHangup make a new debug trace like the one you looked at before now which should be different. On Thu, Jul 23, 2009 at 9:23 AM, Lars Zeb <larclap@yahoo.com> wrote:
Thanks for the reply. This is my first attempt at using a script.
I tried:
session:autoHangup(0) or session:autoHangup(false)
but got an error:
2009-07-23 07:19:09.652238 [ERR] mod_lua.cpp:182 /usr/local/freeswitch/scripts/inbound_calls.lua:29: attempt to call method 'autoHangup' (a nil value)
stack traceback:
/usr/local/freeswitch/scripts/inbound_calls.lua:29: in main chunk
I looked at the documentation and tried:
session:setAutoHangup(false)
and the script proceeded without error. However, looking at the log, I do not see the setAutoHangup being called. Also, when pressing *, I get a fast, busy signal.
I have pasted the script and log at http://pastebin.freeswitch.org/9836
Thanks again, Lars
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Anthony Minessale *Sent:* Wednesday, July 22, 2009 4:33 PM *To:* freeswitch-users@lists.freeswitch.org *Subject:* Re: [Freeswitch-users] Asterisk key during message hangs up call
you are using a channel created with a script and you did not set
js session.autoHangup(0)
lua session:autoHangup(0)
so when the * makes the call transfer the script kills the channel.
On Wed, Jul 22, 2009 at 3:13 PM, Lars Zeb <larclap@yahoo.com> wrote:
Brian,
When calling into FreeSWITCH and pressing * during the greeting, the call immediately hangs up.
It used to ask for the mailbox number to retrieve messages. It no longer works. I don’t know if my dialplan is causing the error or something in FreeSWITCH has changed.
Any ideas?
http://pastebin.freeswitch.org/9803
Thanks, Lars
_______________________________________________ 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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
Your message made me look at the documentation, which was helpful. http://pastebin.freeswitch.org/9838 When I press *, I get a busy signal. Please disregard the USER_NOT_REGISTERED error in the log; one of the endpoints I bridged to is off-line. Thanks, Lars From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: Thursday, July 23, 2009 7:41 AM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Asterisk key during message hangs up call I meant to pick one based on whichever lang you were using not to literally write what i said. anyway, yes so now you solved your autoHangup make a new debug trace like the one you looked at before now which should be different. On Thu, Jul 23, 2009 at 9:23 AM, Lars Zeb <larclap@yahoo.com> wrote: Thanks for the reply. This is my first attempt at using a script. I tried: session:autoHangup(0) or session:autoHangup(false) but got an error: 2009-07-23 07:19:09.652238 [ERR] mod_lua.cpp:182 /usr/local/freeswitch/scripts/inbound_calls.lua:29: attempt to call method 'autoHangup' (a nil value) stack traceback: /usr/local/freeswitch/scripts/inbound_calls.lua:29: in main chunk I looked at the documentation and tried: session:setAutoHangup(false) and the script proceeded without error. However, looking at the log, I do not see the setAutoHangup being called. Also, when pressing *, I get a fast, busy signal. I have pasted the script and log at http://pastebin.freeswitch.org/9836 Thanks again, Lars From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: Wednesday, July 22, 2009 4:33 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Asterisk key during message hangs up call you are using a channel created with a script and you did not set js session.autoHangup(0) lua session:autoHangup(0) so when the * makes the call transfer the script kills the channel. On Wed, Jul 22, 2009 at 3:13 PM, Lars Zeb <larclap@yahoo.com> wrote: Brian, When calling into FreeSWITCH and pressing * during the greeting, the call immediately hangs up. It used to ask for the mailbox number to retrieve messages. It no longer works. I don't know if my dialplan is causing the error or something in FreeSWITCH has changed. Any ideas? http://pastebin.freeswitch.org/9803 Thanks, Lars _______________________________________________ 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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <mailto:MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400 _______________________________________________ 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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <mailto:MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
participants (5)
-
Anthony Minessale
-
Brian West
-
Lars Zeb
-
Luis F Urrea
-
Michael Jerris