[asterisk-users] MeetMe errorhandling
Daniel Knoll
daniel at danielknoll.de
Tue Sep 7 02:11:38 CDT 2010
Hi Kai-Uwe,
thank you for your answer. but it doesn't work.
i use this dialplan.
exten => 22,n,Answer()
exten => 22,n,NoCDR()
exten => 22,n,WaitExten(2)
exten => 22,n,Set(CHANNEL(musicclass)=music)
exten => 22,n,Set(CHANNEL(language)=de)
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)
Sometimes, but only sometimes the caller jump into the " i " extension with the same room number (which doesn't exist), but i can't comprehend.
i see, that MeetMe get the Roomnumer, then he drop the call
- Executing [22 at provider:8] MeetMe("SIP/100-00003b5c", "212,Ms") in new stack
== Parsing '/usr/local/asterisk-1.6.2.9/etc/asterisk/meetme.conf': == Found
== Spawn extension (provider, 22, 8) exited non-zero on 'SIP/100-00003b5c'
Any Ideas?
Thanx,
Daniel
Am 06.09.2010 um 23:54 schrieb Kai-Uwe Jensen:
> I use "MeetMe(,Ms)" in the Dialplan and if a Conference Room does't exist Asterisk play (conf-invalid.slin)
> If i use "MeetMe(${room},Ms)" (value from DTMF Read) and the Conference Room doesn't exist Asterisk don't play (conf-invalid.slin) and Asterisk Hangup the Call.
>
> Use the "i" extension to control what happens when entering an invalid room number. Simple example:
>
> exten => 5000,Goto(confline,s,1)
>
> [confline]
> exten => s,1,Background(enter-conf-call-number)
> exten => s,n,WaitExten(20)
>
> exten => i,1,Playback(conf-invalid)
> exten => i,n,Goto(s,1)
>
> exten => t,1,Goto(s,1)
>
> ; Participants always dial a 7-digit conference number, optionally followed
> ; by the #-sign
> exten => _XXXXXXX,1,MeetMe(${EXTEN},Mxwsp)
> exten => _XXXXXXX,n,Hangup()
> exten => _XXXXXXX#,1,Goto(${EXTEN:-8:7},1)
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100907/57b7fd7a/attachment.htm
More information about the asterisk-users
mailing list