[asterisk-bugs] [Asterisk 0014537]: M() ignored in Dial

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Feb 23 23:45:20 CST 2009


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14537 
====================================================================== 
Reported By:                acunningham
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14537
Category:                   Applications/app_dial
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.0.6 
Regression:                 Yes 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-02-23 23:45 CST
Last Modified:              2009-02-23 23:45 CST
====================================================================== 
Summary:                    M() ignored in Dial
Description: 
Asterisk 1.6.0.6 seems to ignore the M() option in Dial(). From
extensions.conf:

[from-internal]
exten => 123, 1, Dial(SIP/123 at 1.2.3.4:5060|60|oM(test))
exten => 124, 1, Macro(test)

[macro-test]
exten => s, 1, Answer
exten => s, 2, Playback(vm-login)

When dialling 123, the destination telephone answers and is immediately
connected to the caller, without playing vm-login:

    -- Executing [123 at from-internal:1] Dial("SIP/1.2.3.4-186534f0",
"SIP/123 at 1.2.3.4:5060|60|oM(test)") in new stack
  == Using SIP RTP CoS mark 5
    -- Called 123 at 1.2.3.4:5060|60|oM(test)
    -- SIP/1.2.3.4:5060|60|oM(test)-1861d140 is ringing
    -- SIP/1.2.3.4:5060|60|oM(test)-1861d140 answered
SIP/1.2.3.4-186534f0
    -- Packet2Packet bridging SIP/1.2.3.4-186534f0 and
SIP/1.2.3.4:5060|60|oM(test)-1861d140

When dialling 124, vm-login is heard, proving that the macro is working:

    -- Executing [124 at from-internal:1] Macro("SIP/1.2.3.4-1861d140",
"test") in new stack
    -- Executing [s at macro-test:1] Answer("SIP/1.2.3.4-1861d140", "") in
new stack
    -- Executing [s at macro-test:2] Playback("SIP/1.2.3.4-1861d140",
"vm-login") in new stack
    -- <SIP/1.2.3.4-1861d140> Playing 'vm-login.gsm' (language 'en')
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-23 23:45 acunningham    New Issue                                    
2009-02-23 23:45 acunningham    Asterisk Version          => 1.6.0.6         
2009-02-23 23:45 acunningham    Regression                => Yes             
2009-02-23 23:45 acunningham    SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list