[Asterisk-Users] how to hang the zap channel
Carlos Alperin
calperin at senecacom.net
Thu Jun 15 07:12:21 MST 2006
What about define timeout or interrupt
exten => t,1,Hangup
exten => i,1,Hangup
at the end of your extension definition
It works for me always
Carlos Alperin
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Bartosz
Wegrzyn - asterisk
Sent: Thursday, June 15, 2006 9:43 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] how to hang the zap channel
For me it does not work, my extensions looks like this:
exten => 555,1,MeetMeCount(500|count)
exten => 555,2,Gotoif,$[${count} = 1]?6
exten => 555,3,Meetme,500|xApMs|1234
exten => 555,4,Playback,goodbye
exten => 555,5,Hangup
exten => 555,6,Goto(from-internal-custom,556,1)
exten => 555,7,hangup
exten => 556,1,System(/bin/cp /etc/asterisk/1-test
/var/spool/asterisk/outgoing/)
exten => 556,2,Meetme,500|xApMs|1234
exten => 556,3,Hangup
the 1-test file looks like this:
Channel: ZAP/4/phonenumbergoeshere
Callerid: 1
MaxRetries: 1
RetryTime: 60
WaitTime: 30
Context: from-internal-custom
Extension: 555
Priority: 1
When I disconnect all users that dialed ext 555
the zap channel is still on
I am using tribox asterisk.
Thanks
>
> ----- Bartosz Wegrzyn - asterisk <junk at lexoncom.com> wrote:
>
>> When Voip users disconnect the 500 meeting is still active with the
>> zap
>> channel. How can I write extension to shut the channel down?
>
> Make the VOIP users 'marked' users in MeetMe, and then also use the option
> to have the conference shut down when the last 'marked' user leaves.
>
> --
> Kevin P. Fleming
> Senior Software Engineer
> Digium, Inc.
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list