VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
asterisk.org at sedwar... Guest
|
Posted: Sat Apr 19, 2008 9:38 pm Post subject: [asterisk-users] meetme with time condition |
|
|
On Sun, 20 Apr 2008, nhadie ramos wrote:
Quote: | How can i enable time condition on meetme? below i would like to deny
callers if the time is not yet the scheduled time of the conference, but it
seems like its still goes to 600,2, hope anyone can help.
[meet-me-test]
exten => 600,1,GotoIfTime(10:00-11:00|*|19|Apr?meet-me-test,600,3)
exten => 600,2,Playback(vm-goodbye)
exten => 600,3,Hangup
exten => 600,4,MeetMe(600||600600)
|
1) I read this as "If the time is between 10 and 11 in the morning on the
19th of April, hangup. Else, play goodbye and hangup." Neither case will
get you to the conference.
2) Is it still the "19'th" in your part of the world?
3) Try replacing each element with "*" to identify the source of your
problem.
And a few suggestions:
1) Since the target of your gotoiftime is in the same context and the same
extension, you only need to specify the priority.
2) You can use the "n" priority.
Both will make your code more robust, maintainable, and reusable.
Thanks in advance,
------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000 |
|
Back to top |
|
|
nhadie.ramos at yahoo.com Guest
|
Posted: Sat Apr 19, 2008 10:00 pm Post subject: [asterisk-users] meetme with time condition |
|
|
Hi Steve,
Thanks for the reply. I made it look like this:
[meet-me-test]
exten => 600,1,GotoIfTime(11:00-12:00|*|20|Apr?meetnow)
exten => 600,n,Answer
exten => 600,n,Festival('Conference is not yet active, please dial in on the assigned time');
exten => 600,n,Hangup
exten => 600,n(meetnow),MeetMe(600||600600)
exten => 600,n,Hangup
and it's kind of working now, except for the Festival I added, i dont hear any audio but it's executing it
Executing [600 at context-10000:3] Festival("SIP/10000100-b691a738", "Conference is not yet active, please dial in on the assigned time") in new stack.
also, how can i limit the time of the conference? on this scenario how would it get cut on 12:00? is it also possible to extend the time limit even if the conference is already ongoing? thanks alot.
regards,
nhadie
=========================================================
1) I read this as "If the time is between 10 and 11 in the morning on the
19th of April, hangup. Else, play goodbye and hangup." Neither case will
get you to the conference.
2) Is it still the "19'th" in your part of the world?
3) Try replacing each element with "*" to identify the source of your
problem.
And a few suggestions:
1) Since the target of your gotoiftime is in the same context and the same
extension, you only need to specify the priority.
2) You can use the "n" priority.
Both will make your code more robust, maintainable, and reusable.
Thanks in advance,
------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
Nhadie Ramos <nhadie.ramos at yahoo.com> wrote: Hi All,
How can i enable time condition on meetme? below i would like to deny
callers if the time is not yet the scheduled time of the conference, but
it seems like its still goes to 600,2, hope anyone can help.
[meet-me-test]
exten => 600,1,GotoIfTime(10:00-11:00|*|19|Apr?meet-me-test,600,3)
exten => 600,2,Playback(vm-goodbye)
exten => 600,3,Hangup
exten => 600,4,MeetMe(600||600600)
regards,
nhadie
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now._______________________________________________
-- 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
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080419/93d8a269/attachment.htm |
|
Back to top |
|
|
asterisk.org at sedwar... Guest
|
Posted: Sun Apr 20, 2008 1:36 am Post subject: [asterisk-users] meetme with time condition |
|
|
On Sat, 19 Apr 2008, Nhadie Ramos wrote:
Quote: | [meet-me-test]
exten => 600,1,GotoIfTime(11:00-12:00|*|20|Apr?meetnow)
exten => 600,n,Answer
exten => 600,n,Festival('Conference is not yet active, please dial in on the assigned time');
exten => 600,n,Hangup
exten => 600,n(meetnow),MeetMe(600||600600)
exten => 600,n,Hangup
and it's kind of working now, except for the Festival I added, i dont
hear any audio but it's executing it
Executing [600 at context-10000:3] Festival("SIP/10000100-b691a738",
"Conference is not yet active, please dial in on the assigned time") in
new stack.
also, how can i limit the time of the conference? on this scenario how
would it get cut on 12:00? is it also possible to extend the time limit
even if the conference is already ongoing? thanks alot.
|
I'm not a big fan of Festival or creating static TTS on the fly.
The last time I looked at Festival (2 years ago), the voices were somewhat
pathetic.
I didn't like creating TTS on the fly because it caused noticeable delays.
I really like Cepstral with Allison's voice font. The "fee" is only US$30
and it would be easy to confuse "TTS Allison" with "real Allison."
1) You could set the absolute timeout for the user before they enter the
conference and then "catch" them with the "T" extension.
2) You could do something external to Asterisk with AMI or parsing the
output from 'asterisk -r -x "meetme list 600"' and doing a soft hangup on
the channels.
3) You could hack up app_meetme.c
Thanks in advance,
------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000 |
|
Back to top |
|
|
jra at baylink.com Guest
|
Posted: Sun Apr 20, 2008 7:06 am Post subject: [asterisk-users] meetme with time condition |
|
|
On Sat, Apr 19, 2008 at 11:36:23PM -0700, Steve Edwards wrote:
Quote: | On Sat, 19 Apr 2008, Nhadie Ramos wrote:
Quote: | [meet-me-test]
exten => 600,1,GotoIfTime(11:00-12:00|*|20|Apr?meetnow)
exten => 600,n,Answer
exten => 600,n,Festival('Conference is not yet active, please dial in on the assigned time');
exten => 600,n,Hangup
exten => 600,n(meetnow),MeetMe(600||600600)
exten => 600,n,Hangup
and it's kind of working now, except for the Festival I added, i dont
hear any audio but it's executing it
Executing [600 at context-10000:3] Festival("SIP/10000100-b691a738",
"Conference is not yet active, please dial in on the assigned time") in
new stack.
also, how can i limit the time of the conference? on this scenario how
would it get cut on 12:00? is it also possible to extend the time limit
even if the conference is already ongoing? thanks alot.
|
I'm not a big fan of Festival or creating static TTS on the fly.
The last time I looked at Festival (2 years ago), the voices were somewhat
pathetic.
I didn't like creating TTS on the fly because it caused noticeable delays.
I really like Cepstral with Allison's voice font. The "fee" is only US$30
and it would be easy to confuse "TTS Allison" with "real Allison."
|
For what it's worth though, let me say that "having the conference set
up so people can test-connect to it before hand" is a Really Neat Idea,
that a lot of people fail to think up.
Cheers,
-- jra
--
Jay R. Ashworth Baylink jra at baylink.com
Designer The Things I Think RFC 2100
Ashworth & Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274
Those who cast the vote decide nothing.
Those who count the vote decide everything.
-- (Joseph Stalin) |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|