Re: [Asterisk-Users] how to hang the zap channel

2006-06-13 Thread Kevin P. Fleming

- Bartosz Wegrzyn - asterisk <[EMAIL PROTECTED]> 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


Re: [Asterisk-Users] how to hang the zap channel

2006-06-15 Thread Bartosz Wegrzyn - asterisk
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 <[EMAIL PROTECTED]> 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


RE: [Asterisk-Users] how to hang the zap channel

2006-06-15 Thread Carlos Alperin
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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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 <[EMAIL PROTECTED]> 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

___
--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


RE: [Asterisk-Users] how to hang the zap channel

2006-06-15 Thread Bartosz Wegrzyn - asterisk
in which extension,
the thing is that when every (voip) user disconnects ,
the zap channel is still connected to the conference,

> 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: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] 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 <[EMAIL PROTECTED]> 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
>
> ___
> --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


Re: [Asterisk-Users] how to hang the zap channel

2006-06-15 Thread Tzafrir Cohen
On Thu, Jun 15, 2006 at 10:37:23AM -0500, Bartosz Wegrzyn - asterisk wrote:
> in which extension,
> the thing is that when every (voip) user disconnects ,
> the zap channel is still connected to the conference,

How about a nice little "show channels" ?

-- 
Tzafrir Cohen  sip:[EMAIL PROTECTED]
icq#16849755   iax:[EMAIL PROTECTED]
+972-50-7952406   
[EMAIL PROTECTED]  http://www.xorcom.com
___
--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


Re: [Asterisk-Users] how to hang the zap channel

2006-06-16 Thread Bartosz Wegrzyn - asterisk
After all users disconnect the Zap channel is still connected to pSTN call.

asterisk1*CLI> show channels
Channel  Location State   Application(Data)
Zap/4-1  [EMAIL PROTECTED] Up  MeetMe(500|xApMs|1234)
Zap/pseudo-141305407 [EMAIL PROTECTED]:1Rsrvd   (None)
2 active channels
1 active call

I wish I could shutdown that channel when all users disconnect.
Maybe I am doing something wrong.
Maybe the extensions design is wrong.

Thanks


> On Thu, Jun 15, 2006 at 10:37:23AM -0500, Bartosz Wegrzyn - asterisk
> wrote:
>> in which extension,
>> the thing is that when every (voip) user disconnects ,
>> the zap channel is still connected to the conference,
>
> How about a nice little "show channels" ?
>
> --
> Tzafrir Cohen  sip:[EMAIL PROTECTED]
> icq#16849755   iax:[EMAIL PROTECTED]
> +972-50-7952406
> [EMAIL PROTECTED]  http://www.xorcom.com
> ___
> --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


Re: [Asterisk-Users] how to hang the zap channel

2006-06-16 Thread Steven Ringwald

soft hangup Zap/4-1

Steve



Bartosz Wegrzyn - asterisk wrote:

After all users disconnect the Zap channel is still connected to pSTN call.

asterisk1*CLI> show channels
Channel  Location State   Application(Data)
Zap/4-1  [EMAIL PROTECTED] Up  MeetMe(500|xApMs|1234)
Zap/pseudo-141305407 [EMAIL PROTECTED]:1Rsrvd   (None)
2 active channels
1 active call

I wish I could shutdown that channel when all users disconnect.
Maybe I am doing something wrong.
Maybe the extensions design is wrong.

Thanks


  

On Thu, Jun 15, 2006 at 10:37:23AM -0500, Bartosz Wegrzyn - asterisk
wrote:


in which extension,
the thing is that when every (voip) user disconnects ,
the zap channel is still connected to the conference,
  

How about a nice little "show channels" ?

--
Tzafrir Cohen  sip:[EMAIL PROTECTED]
icq#16849755   iax:[EMAIL PROTECTED]
+972-50-7952406
[EMAIL PROTECTED]  http://www.xorcom.com
___
--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
  


___
--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


Re: [Asterisk-Users] how to hang the zap channel

2006-06-16 Thread Sharon Lim
I had the same problem. I change some variable in zapata.conf such as in [defaults] context : 1. busydetect=yes2. busycount=43. hanguponpolarityswitch=yes  ; some said need this variables4. rxgain=
1.0 5. txgain=1.0not sure which one effect it...but tried it...On 6/16/06, Steven Ringwald <[EMAIL PROTECTED]
> wrote:soft hangup Zap/4-1SteveBartosz Wegrzyn - asterisk wrote:
> After all users disconnect the Zap channel is still connected to pSTN call.>> asterisk1*CLI> show channels> Channel  Location State   Application(Data)> Zap/4-1  
[EMAIL PROTECTED] Up  MeetMe(500|xApMs|1234)> Zap/pseudo-141305407 [EMAIL PROTECTED]:1Rsrvd   (None)> 2 active channels> 1 active call>> I wish I could shutdown that channel when all users disconnect.
> Maybe I am doing something wrong.> Maybe the extensions design is wrong.>> Thanks> On Thu, Jun 15, 2006 at 10:37:23AM -0500, Bartosz Wegrzyn - asterisk>> wrote:
> in which extension,>>> the thing is that when every (voip) user disconnects ,>>> the zap channel is still connected to the conference,> How about a nice little "show channels" ?
 -->> Tzafrir Cohen  sip:[EMAIL PROTECTED]>> icq#16849755   iax:[EMAIL PROTECTED]
>> +972-50-7952406>> [EMAIL PROTECTED]  http://www.xorcom.com>> ___
>> --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
>___--Bandwidth and Colocation provided by Easynews.com --Asterisk-Users mailing listTo 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