[Home]

Summary:ASTERISK-08361: RetryDial does not properly support the G() Dial option
Reporter:Jon Webster (jon)Labels:
Date Opened:2006-12-15 16:39:17.000-0600Date Closed:2007-01-09 22:57:04.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Applications/app_dial
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When using the G() Dial option asterisk hangs up on the calling party instead of passing them to the appropriate context^exten^prio with the following warnings:

Dec 15 17:00:53 WARNING[18811]: file.c:512 ast_openstream_full: File  does not exist in any format
Dec 15 17:00:53 WARNING[18811]: file.c:824 ast_streamfile: Unable to open  (format ulaw): No such file or directory

Testing the option with the Dial application both the caller and callee go into the correct priorities, but using RetryDial only the callee goto's the correct prio.

****** ADDITIONAL INFORMATION ******

from extensions.conf

exten => 705,1,Answer()
exten => 705,n,RetryDial(|1|3|SIP/testlaptop||mG(gototest^1))
;exten => 705,n,Dial(SIP/testlaptop||mG(gototest^1))

exten => gototest,1,NoOp(Prio1)
exten => gototest,2,NoOp(Prio2)


from CLI:
USING DIAL
   -- Executing Answer("SIP/test-08228f98", "") in new stack
   -- Executing Dial("SIP/test-08228f98", "SIP/testlaptop||mG(gototest^1)") in new stack
   -- Called testlaptop
   -- Started music on hold, class 'default', on channel 'SIP/test-08228f98'
   -- SIP/testlaptop-08234210 is ringing
   -- SIP/testlaptop-08234210 answered SIP/test-08228f98
   -- Executing NoOp("SIP/test-08228f98", "Prio1") in new stack
   -- Executing NoOp("SIP/test-08228f98", "Prio2") in new stack
 == Auto fallthrough, channel 'SIP/test-08228f98' status is 'UNKNOWN'
   -- Stopped music on hold on SIP/test-08228f98
   -- Executing NoOp("SIP/testlaptop-08234210", "Prio2") in new stack
 == Auto fallthrough, channel 'SIP/testlaptop-08234210' status is 'UNKNOWN'

USING RETRYDIAL
   -- Executing Answer("SIP/test-08229058", "") in new stack
   -- Executing RetryDial("SIP/test-08229058", "|1|3|SIP/testlaptop||mG(gototest^1)") in new stack
   -- Called testlaptop
   -- Started music on hold, class 'default', on channel 'SIP/test-08229058'
   -- SIP/testlaptop-08230eb8 is ringing
   -- SIP/testlaptop-08230eb8 is ringing
   -- SIP/testlaptop-08230eb8 answered SIP/test-08229058
   -- Stopped music on hold on SIP/test-08229058
Dec 15 17:00:53 WARNING[18811]: file.c:512 ast_openstream_full: File  does not exist in any format
Dec 15 17:00:53 WARNING[18811]: file.c:824 ast_streamfile: Unable to open  (format ulaw): No such file or directory
 == Spawn extension (local, gototest, 0) exited non-zero on 'SIP/test-08229058'
   -- Executing NoOp("SIP/testlaptop-08230eb8", "Prio2") in new stack
 == Auto fallthrough, channel 'SIP/testlaptop-08230eb8' status is 'UNKNOWN'
Comments:By: Joshua C. Colp (jcolp) 2007-01-09 22:57:04.000-0600

Fixed in 1.2 as of revision 50295, 1.4 as of revision 50298, and trunk as of revision 50302. Thanks!