<HTML>
<HEAD>
<TITLE>Problem with RetryDial</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>I issue this command:<BR>
RetryDial(another-time,10,4,SIP/GXP280_18,10,ghM(cfmc_dial_private^RetryAndQueue^SIP/GXP280_18))<BR>
<BR>
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.<BR>
<BR>
The problem is that after the second ring for 10 seconds Asterisk exits the RetryDial step with HANGUPCAUSE=0 and DIALSTATUS=CANCEL.<BR>
<BR>
Are there any ideas how to troubleshoot this? I am not touching anything so I am not sure what caused the cancel to occur.<BR>
<BR>
This is with Asterisk Version:1.6.0.10 compiled from source running under CentOS 5.3.<BR>
<BR>
Here is the console output:<BR>
<BR>
[2009-06-26 08:12:47.896] -- Executing [retry_number@cfmc_cdi_private:1] UserEvent("Local/retry_number@cfmc_cdi_private-4ff4;2", "BeforeRetry,ActionID:RetryAndQueue & asterisk-16-1.oregon.cfmc.com-1246029167.102 & Local/retry_number@cfmc_cdi_private-4ff4;2 & 1001 & SIP/GXP280_18 & 10 & another-time & 10 & 7") in new stack<BR>
[2009-06-26 08:12:47.897] -- Executing [retry_number@cfmc_cdi_private:2] RetryDial("Local/retry_number@cfmc_cdi_private-4ff4;2", "another-time,10,7,SIP/GXP280_18,10,ghM(cfmc_dial_private^RetryAndQueue^SIP/GXP280_18)") in new stack<BR>
[2009-06-26 08:12:47.898] == Using SIP RTP CoS mark 5<BR>
[2009-06-26 08:12:47.898] == Using SIP VRTP CoS mark 6<BR>
[2009-06-26 08:12:47.899] -- Called GXP280_18<BR>
[2009-06-26 08:12:47.942] -- SIP/GXP280_18-09e5ea20 is ringing<BR>
[2009-06-26 08:12:57.900] -- Nobody picked up in 10000 ms<BR>
[2009-06-26 08:12:57.901] -- <Local/retry_number@cfmc_cdi_private-4ff4;2> Playing 'another-time.slin' (language 'en')<BR>
[2009-06-26 08:12:58.943] -- Started music on hold, class 'default', on Local/retry_number@cfmc_cdi_private-4ff4;2<BR>
[2009-06-26 08:13:09.399] -- Stopped music on hold on Local/retry_number@cfmc_cdi_private-4ff4;2<BR>
[2009-06-26 08:13:09.399] == Using SIP RTP CoS mark 5<BR>
[2009-06-26 08:13:09.399] == Using SIP VRTP CoS mark 6<BR>
[2009-06-26 08:13:09.399] -- Called GXP280_18<BR>
[2009-06-26 08:13:09.430] -- SIP/GXP280_18-09e5ea20 is ringing<BR>
[2009-06-26 08:13:18.312] == Spawn extension (cfmc_cdi_private, retry_number, 2) exited non-zero on 'Local/retry_number@cfmc_cdi_private-4ff4;2'<BR>
[2009-06-26 08:13:18.312] -- Executing [h@cfmc_cdi_private:1] UserEvent("Local/retry_number@cfmc_cdi_private-4ff4;2", "DialHungUp,ActionID:RetryAndQueue & asterisk-16-1.oregon.cfmc.com-1246029167.102 & Local/retry_number@cfmc_cdi_private-4ff4;2 & 1001 & SIP/GXP280_18 & tqe & 0 & CANCEL") in new stack<BR>
[2009-06-26 08:13:18.312] -- Executing [h@cfmc_cdi_private:2] Hangup("Local/retry_number@cfmc_cdi_private-4ff4;2", "") in new stack<BR>
[2009-06-26 08:13:18.312] == Spawn extension (cfmc_cdi_private, h, 2) exited non-zero on 'Local/retry_number@cfmc_cdi_private-4ff4;2'<BR>
<BR>
<BR>
-- <BR>
Jim Dickenson<BR>
<a href="mailto:dickenson@cfmc.com">mailto:dickenson@cfmc.com</a><BR>
<BR>
CfMC<BR>
<a href="http://www.cfmc.com/">http://www.cfmc.com/</a><BR>
<BR>
</SPAN></FONT>
</BODY>
</HTML>