Re: [asterisk-users] error: Autodestruct on dialog

2011-08-06 Thread Mr TrungND
$ds4rưdeseiiijp

Sent from my Sony Ericsson Xperia neo

Kevin P. Fleming kpflem...@digium.com wrote:

On 08/05/2011 09:43 AM, Christian Pinedo Zamalloa wrote:
 Hi all,

 I need to wait several seconds in h extension. Since Wait
 application doesn't work in h extension I must use System in the
 following way:

 exten =  h,1,
  same =  n,...
  same =  n,System(/bin/sleep 25)
  same =  n,...

 But when I use this System command in h extension I get the following 
 warning:

 [Aug  5 14:19:50] WARNING[23637] chan_sip.c: Autodestruct on dialog
 '7249D00-BE9611E0-A8B6C958-F31290CD@10.180.4.1' with owner in place
 (Method: BYE)

You are stopping the Asterisk SIP channel driver from doing its job; it 
expects the channel to be dead much sooner than 25 seconds after 
receiving (or sending) a BYE. Why do you need to keep the channel alive 
for so long after it has been hungup?

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: kflem...@digium.com | SIP: kpflem...@digium.com | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at www.digium.com  www.asterisk.org

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

Re: [asterisk-users] error: Autodestruct on dialog

2011-08-06 Thread Christian Pinedo Zamalloa
I am trying to do a dynamic wrapuptime for a queue.

Instead of having to wait always x seconds once an angent has attended
succesfully a call, I prefer to give the agent the option to disable
his wrapuptime.

exten = h,1,PauseQueuemember
same = n,System(/bin/sleep 25)
same = n,UnpauseQueueMember

Now the agent is paused automatically 25 seconds (or whatever I want)
after attending succesfully a call and If the agent finishes earlier
his administrative work he can unpause his telephone by calling to one
extension.

exten = 1234,1,UnpauseQueueMember

So, I must think I should not do this way??? xD



2011/8/5 Kevin P. Fleming kpflem...@digium.com:
 On 08/05/2011 09:43 AM, Christian Pinedo Zamalloa wrote:

 Hi all,

 I need to wait several seconds in h extension. Since Wait
 application doesn't work in h extension I must use System in the
 following way:

 exten =  h,1,
     same =  n,...
     same =  n,System(/bin/sleep 25)
     same =  n,...

 But when I use this System command in h extension I get the following
 warning:

 [Aug  5 14:19:50] WARNING[23637] chan_sip.c: Autodestruct on dialog
 '7249D00-BE9611E0-A8B6C958-F31290CD@10.180.4.1' with owner in place
 (Method: BYE)

 You are stopping the Asterisk SIP channel driver from doing its job; it
 expects the channel to be dead much sooner than 25 seconds after receiving
 (or sending) a BYE. Why do you need to keep the channel alive for so long
 after it has been hungup?

 --
 Kevin P. Fleming
 Digium, Inc. | Director of Software Technologies
 Jabber: kflem...@digium.com | SIP: kpflem...@digium.com | Skype: kpfleming
 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
 Check us out at www.digium.com  www.asterisk.org

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




-- 
Christian Pinedo Zamalloa (zako)
PGP keyID: 0x828D0C80
Fingerprint: 7BFF 4105 F46B 7977 BD96  348C 1007 4FF8 828D 0C80

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


[asterisk-users] error: Autodestruct on dialog

2011-08-05 Thread Christian Pinedo Zamalloa
Hi all,

I need to wait several seconds in h extension. Since Wait
application doesn't work in h extension I must use System in the
following way:

exten = h,1,
same = n,...
same = n,System(/bin/sleep 25)
same = n,...

But when I use this System command in h extension I get the following warning:

[Aug  5 14:19:50] WARNING[23637] chan_sip.c: Autodestruct on dialog
'7249D00-BE9611E0-A8B6C958-F31290CD@10.180.4.1' with owner in place
(Method: BYE)


If i run in the CLI sip show channels there are a lot of SIP dialogs
that haven't finished yet and that are hold by Asterisk:

asterisk*CLI sip show channels
10.180.4.1   652  5648af9721df9cc  0x0 (nothing)No
  Rx: BYEcme01
10.180.4.1   650  E546BE0-BEA411E  0x0 (nothing)No
  Rx: BYEcme01
10.180.4.1   699095244BAC5BF87-BC2811  0x0 (nothing)No
  Rx: BYEcme01
636 active SIP dialogs


But they aren't active channels:

asterisk*CLI core show channels
Channel  Location State   Application(Data)
0 active channels
0 active calls
1013 calls processed

Could this be a bug or am I doing something bad??? Thanks,

-- 
Christian Pinedo Zamalloa (zako)
PGP keyID: 0x828D0C80
Fingerprint: 7BFF 4105 F46B 7977 BD96  348C 1007 4FF8 828D 0C80

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


Re: [asterisk-users] error: Autodestruct on dialog

2011-08-05 Thread Kevin P. Fleming

On 08/05/2011 09:43 AM, Christian Pinedo Zamalloa wrote:

Hi all,

I need to wait several seconds in h extension. Since Wait
application doesn't work in h extension I must use System in the
following way:

exten =  h,1,
 same =  n,...
 same =  n,System(/bin/sleep 25)
 same =  n,...

But when I use this System command in h extension I get the following warning:

[Aug  5 14:19:50] WARNING[23637] chan_sip.c: Autodestruct on dialog
'7249D00-BE9611E0-A8B6C958-F31290CD@10.180.4.1' with owner in place
(Method: BYE)


You are stopping the Asterisk SIP channel driver from doing its job; it 
expects the channel to be dead much sooner than 25 seconds after 
receiving (or sending) a BYE. Why do you need to keep the channel alive 
for so long after it has been hungup?


--
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: kflem...@digium.com | SIP: kpflem...@digium.com | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at www.digium.com  www.asterisk.org

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