[asterisk-users] Problem with RetryDial

Jim Dickenson dickenson at cfmc.com
Fri Jun 26 10:23:07 CDT 2009


I issue this command:
RetryDial(another-time,10,4,SIP/GXP280_18,10,ghM(cfmc_dial_private^RetryAndQ
ueue^SIP/GXP280_18))

Asterisk rings the phone for 10 seconds. Asterisk then waits 10 seconds.
Asterisk rings again for 10 seconds. I would expect this to happen a total
of 4 times.

The problem is that after the second ring for 10 seconds Asterisk exits the
RetryDial step with HANGUPCAUSE=0 and DIALSTATUS=CANCEL.

Are there any ideas how to troubleshoot this? I am not touching anything so
I am not sure what caused the cancel to occur.

This is with Asterisk Version:1.6.0.10 compiled from source running under
CentOS 5.3.

Here is the console output:

[2009-06-26 08:12:47.896]     -- Executing [retry_number at cfmc_cdi_private:1]
UserEvent("Local/retry_number at cfmc_cdi_private-4ff4;2",
"BeforeRetry,ActionID:RetryAndQueue &
asterisk-16-1.oregon.cfmc.com-1246029167.102 &
Local/retry_number at cfmc_cdi_private-4ff4;2 & 1001 & SIP/GXP280_18 & 10 &
another-time & 10 & 7") in new stack
[2009-06-26 08:12:47.897]     -- Executing [retry_number at cfmc_cdi_private:2]
RetryDial("Local/retry_number at cfmc_cdi_private-4ff4;2",
"another-time,10,7,SIP/GXP280_18,10,ghM(cfmc_dial_private^RetryAndQueue^SIP/
GXP280_18)") in new stack
[2009-06-26 08:12:47.898]   == Using SIP RTP CoS mark 5
[2009-06-26 08:12:47.898]   == Using SIP VRTP CoS mark 6
[2009-06-26 08:12:47.899]     -- Called GXP280_18
[2009-06-26 08:12:47.942]     -- SIP/GXP280_18-09e5ea20 is ringing
[2009-06-26 08:12:57.900]     -- Nobody picked up in 10000 ms
[2009-06-26 08:12:57.901]     --
<Local/retry_number at cfmc_cdi_private-4ff4;2> Playing 'another-time.slin'
(language 'en')
[2009-06-26 08:12:58.943]     -- Started music on hold, class 'default', on
Local/retry_number at cfmc_cdi_private-4ff4;2
[2009-06-26 08:13:09.399]     -- Stopped music on hold on
Local/retry_number at cfmc_cdi_private-4ff4;2
[2009-06-26 08:13:09.399]   == Using SIP RTP CoS mark 5
[2009-06-26 08:13:09.399]   == Using SIP VRTP CoS mark 6
[2009-06-26 08:13:09.399]     -- Called GXP280_18
[2009-06-26 08:13:09.430]     -- SIP/GXP280_18-09e5ea20 is ringing
[2009-06-26 08:13:18.312]   == Spawn extension (cfmc_cdi_private,
retry_number, 2) exited non-zero on
'Local/retry_number at cfmc_cdi_private-4ff4;2'
[2009-06-26 08:13:18.312]     -- Executing [h at cfmc_cdi_private:1]
UserEvent("Local/retry_number at cfmc_cdi_private-4ff4;2",
"DialHungUp,ActionID:RetryAndQueue &
asterisk-16-1.oregon.cfmc.com-1246029167.102 &
Local/retry_number at cfmc_cdi_private-4ff4;2 & 1001 & SIP/GXP280_18 & tqe & 0
& CANCEL") in new stack
[2009-06-26 08:13:18.312]     -- Executing [h at cfmc_cdi_private:2]
Hangup("Local/retry_number at cfmc_cdi_private-4ff4;2", "") in new stack
[2009-06-26 08:13:18.312]   == Spawn extension (cfmc_cdi_private, h, 2)
exited non-zero on 'Local/retry_number at cfmc_cdi_private-4ff4;2'


-- 
Jim Dickenson
mailto:dickenson at cfmc.com

CfMC
http://www.cfmc.com/


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090626/3e1c89e2/attachment.htm 


More information about the asterisk-users mailing list