[asterisk-users] Queue Call Disconnection

Torintino T torintino1 at hotmail.com
Fri Sep 18 10:43:21 CDT 2009



There is an environment Setup uses Asterisk 1.2 and doesn't want to upgrade.

There is an issue while a call goes to any queue we create, the call is being disconnected after 20 seconds and it is hangup.
 
The following is the configuration:

- vi /etc/asterisk/queues_additional.conf

[8]
wrapuptime=0
timeout=30
strategy=ringall
servicelevel=5
retry=4
reportholdtime=No
queue-youarenext=
queue-thereare=
queue-callswaiting=
periodic-announce-frequency=0
periodic-announce=periodic-announce
music=default
monitor-join=yes
monitor-format=
member=Local/810 at from-internal/n,0
member=Local/808 at from-internal/n,0
member=Local/811 at from-internal/n,0
member=Local/812 at from-internal/n,0
member=Local/809 at from-internal/n,0
member=Local/813 at from-internal/n,0
member=Local/806 at from-internal/n,0
member=Local/807 at from-internal/n,0
maxlen=0
leavewhenempty=no
joinempty=Yes
context=
announce-holdtime=no
announce-frequency=30

- The Verbosity logs:

after ringing on the available extensions for 20 seconds, it goes to macro "hangupcall"

 -- AGI Script dialparties.agi completed, returning 0
    -- Executing Dial("Local/808 at from-internal-80d5,2", "SIP/808|30|Ttr") in new stack
    -- Called 808
    -- Local/808 at from-internal-80d5,1 is ringing
    --  dialparties.agi: Checking CW and CFB status for extension 811
    --  dialparties.agi: DbSet CALLTRACE/811 to 809
    -- AGI Script dialparties.agi completed, returning 0
    -- Executing Dial("Local/811 at from-internal-3d60,2", "SIP/811|30|Ttr") in new stack
    -- Called 811
    -- Local/811 at from-internal-3d60,1 is ringing
    -- SIP/808-b7b038f8 is ringing
    -- SIP/811-0936e868 is ringing
    -- Stopped music on hold on SIP/809-09397eb0
  == Spawn extension (from-internal, 8, 6) exited non-zero on 'SIP/809-09397eb0'
    -- Executing Macro("SIP/809-09397eb0", "hangupcall") in new stack
    -- Executing ResetCDR("SIP/809-09397eb0", "w") in new stack
  == Spawn extension (macro-dial, s, 10) exited non-zero on 'Local/811 at from-internal-3d60,2' in macro 'dial'
  == Spawn extension (macro-dial, s, 10) exited non-zero on 'Local/811 at from-internal-3d60,2' in macro 'exten-vm'
  == Spawn extension (macro-dial, s, 10) exited non-zero on 'Local/811 at from-internal-3d60,2'
  == Spawn extension (macro-dial, s, 10) exited non-zero on 'Local/808 at from-internal-80d5,2' in macro 'dial'
  == Spawn extension (macro-dial, s, 10) exited non-zero on 'Local/808 at from-internal-80d5,2' in macro 'exten-vm'
  == Spawn extension (macro-dial, s, 10) exited non-zero on 'Local/808 at from-internal-80d5,2'
    -- Executing NoCDR("SIP/809-09397eb0", "") in new stack
    -- Executing Wait("SIP/809-09397eb0", "5") in new stack
  == Spawn extension (macro-hangupcall, s, 3) exited non-zero on 'SIP/809-09397eb0' in macro 'hangupcall'
  == Spawn extension (macro-hangupcall, s, 3) exited non-zero on 'SIP/809-09397eb0'
localhost*CLI>


- vi /etc/asterisk/extensions.conf

[macro-hangupcall]
exten => s,1,ResetCDR(w)
exten => s,2,NoCDR()
exten => s,3,Wait(5)
exten => s,4,Hangup


I tested multiple queues, and all of them are doing the same..
so please can anyone tell me how to resolve this issue.


Thanks

Torintino






_________________________________________________________________
With Windows Live, you can organize, edit, and share your photos.
http://www.microsoft.com/middleeast/windows/windowslive/products/photo-gallery-edit.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090918/de0ae0fe/attachment.htm 


More information about the asterisk-users mailing list