[asterisk-bugs] [JIRA] (ASTERISK-21245) Application Dial - Option g ignored with option A if the called part hangs up during the announce.

Emeric NIQUET (JIRA) noreply at issues.asterisk.org
Tue Apr 2 06:52:01 CDT 2013


     [ https://issues.asterisk.org/jira/browse/ASTERISK-21245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emeric NIQUET updated ASTERISK-21245:
-------------------------------------

    Affects Version/s: 1.8.21.0
    
> Application Dial - Option g ignored with option A if the called part hangs up during the announce.
> --------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-21245
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21245
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_dial
>    Affects Versions: 1.8.20.1, 1.8.21.0
>         Environment: Debian 6.0.5 Debian Squeeze
>            Reporter: Emeric NIQUET
>
> Hi all,
> I need to expand the "g" option with the A option in the Dial App.
> In production, I need to offer for the called party the choice to refuse the call. That's why I add the "g" option to conserve the call in the dialplan after the called party hangs up.
> But I need also to play a sound in the called party before connect the two channels together, and the call terminates if the called party hangs up during the sound file, without continue in the dialplan, as expected with the "g" option.
> exten => _5685,1,NoOp(*** EXTEN TEST DIAL ***)
> same => n,Set(Announce=vm-forwardoptions)
> same => n,Dial(SIP/9504,,A(${Announce})g)
> same => n,NoOp(*** Action Option g ***)
> same => n,HangUp()
> If I test with the "beep" sound, that works, certainly because the sound is short.
> If I let playing the file, then called party hangs up :
>     -- Executing [5685 at Externe:1] NoOp("SIP/Patton1-00000c2a", "*** EXTEN TEST DIAL ***") in new stack
>     -- Executing [5685 at Externe:2] Set("SIP/Patton1-00000c2a", "Announce=vm-forwardoptions") in new stack
>     -- Executing [5685 at Externe:3] Dial("SIP/Patton1-00000c2a", "SIP/9504,,A(vm-forwardoptions)g") in new stack
>   == Using SIP RTP CoS mark 5
>     -- Called SIP/9504
>     -- SIP/9504-00000c2b is ringing
>     -- SIP/9504-00000c2b answered SIP/Patton1-00000c2a
>     -- <SIP/9504-00000c2b> Playing 'vm-forwardoptions.alaw' (language 'fr')
>     -- Locally bridging SIP/Patton1-00000c2a and SIP/9504-00000c2b
>     -- Executing [5685 at Externe:4] NoOp("SIP/Patton1-00000c2a", "*** Action Option g ***") in new stack
>     -- Executing [5685 at Externe:5] Hangup("SIP/Patton1-00000c2a", "") in new stack
>   == Spawn extension (Externe, 5685, 5) exited non-zero on 'SIP/Patton1-00000c2a'
> If the called party hangs up before the end of the sound file :
>   == Using SIP RTP CoS mark 5
>     -- Executing [5685 at Externe:1] NoOp("SIP/Patton1-00000c45", "*** EXTEN TEST DIAL ***") in new stack
>     -- Executing [5685 at Externe:2] Set("SIP/Patton1-00000c45", "Announce=vm-forwardoptions") in new stack
>     -- Executing [5685 at Externe:3] Dial("SIP/Patton1-00000c45", "SIP/9504,,A(vm-forwardoptions)g") in new stack
>   == Using SIP RTP CoS mark 5
>     -- Called SIP/9504
>     -- SIP/9504-00000c46 is ringing
>     -- SIP/9504-00000c46 answered SIP/Patton1-00000c45
>     -- <SIP/9504-00000c46> Playing 'vm-forwardoptions.alaw' (language 'fr')
>   == Spawn extension (Externe, 5685, 3) exited non-zero on 'SIP/Patton1-00000c45'
> Thanks a lot for your feedbacks.
> Regards, Emeric.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list