Autodestruct on dialog

Home » Asterisk Users » Autodestruct on dialog
Asterisk Users 1 Comment

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: BYE cme01
10.180.4.1 650 E546BE0-BEA411E 0x0 (nothing) No
Rx: BYE cme01
10.180.4.1 699095244 BAC5BF87-BC2811 0x0 (nothing) No
Rx: BYE cme01
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,

One thought on - Autodestruct on dialog

  • 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 :