Summary:ASTERISK-16762: differences between meetme error handling
Reporter:Daniel Knoll (kenji)Labels:
Date Opened:2010-10-03 11:00:06Date Closed:2011-06-07 14:00:55
Versions:Frequency of
Description:I found some differences in error handling if a meetme room doesn't exist.

- using  "MeetMe(,Ms)"   and a room doesn't exist asterisk play  conf-invalid.slin and you can re-enter the pin
- using  "MeetMe(${room},Ms)" an read DTMF with "Read(roomid,conf-getconfno,6,1)" an the room doesn't  exist, asterisk hangup the call

is it possible to have the same error handling like the first case (if room not exist, play conf-invalid and re-enter the PIN.
For me this function is important, because i need the room number, to for some choices based on a mysql column.


I use this Dialplan for my tests.

exten => 22,1,Answer()
exten => 22,n,NoCDR()
exten => 22,n,Wait(2)
exten => 22,n,Read(roomid,conf-getconfno,6,1)
exten => 22,n,MeetMe(${roomid},Ms)
exten => 22,n,Hangup()
exten => i,1,Playback(conf-invalid)
exten => i,n,Goto(22,1)
exten => t,1,Goto(22,1)
Comments:By: Daniel Knoll (kenji) 2010-10-03 16:58:22

saw, that in the example the variable name are different. i post an older example and mix it with a new. sorry for the unclean example.
But the Bug still exist.

By: Leif Madsen (lmadsen) 2010-10-05 15:15:11

This isn't really a bug so much, as it is perhaps an unexpected behaviour. I'm going to import this into our triage system to have someone else look at this, but my personal opinion is this is a feature request.

By: Daniel Knoll (kenji) 2010-10-05 16:03:10

Thank you for your answer.
I would be glad if you could find a solution to this problem. I need the room number before the caller enters the room, in order to be able to make a query from a mysql database. Unfortunately, I don't have another opportunity than using Read() to write the DTMF in a variable and putting this into the MeetMe application.

By: Leif Madsen (lmadsen) 2010-10-12 10:11:35

I'd suggest using the Asterisk users mailing list for support on this issue for now. I'm not sure whether this will get solved by the development team or not.

By: Leif Madsen (lmadsen) 2010-10-12 15:01:38

This is pretty much expected behaviour and there isn't much we can do here.

I'd suggest if this bothers you enough, then take the file you want to be played, and copy it over top of the file you don't want to be played :)