[asterisk-bugs] [Asterisk 0014537]: M() ignored in Dial
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Feb 24 08:01:27 CST 2009
The following issue has been RESOLVED.
======================================================================
http://bugs.digium.com/view.php?id=14537
======================================================================
Reported By: acunningham
Assigned To: file
======================================================================
Project: Asterisk
Issue ID: 14537
Category: Applications/app_dial
Reproducibility: always
Severity: minor
Priority: normal
Status: resolved
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:
Resolution: no change required
Fixed in Version:
======================================================================
Date Submitted: 2009-02-23 23:45 CST
Last Modified: 2009-02-24 08:01 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')
======================================================================
----------------------------------------------------------------------
(0100613) file (administrator) - 2009-02-24 08:01
http://bugs.digium.com/view.php?id=14537#c100613
----------------------------------------------------------------------
This is a configuration issue. You are using | as the argument separator
when it should be , - this is causing app_dial to literally dial your
entire string but due to the forgiving parsing of chan_sip it does dial at
least.
Issue History
Date Modified Username Field Change
======================================================================
2009-02-24 08:01 file Note Added: 0100613
2009-02-24 08:01 file Status new => resolved
2009-02-24 08:01 file Resolution open => no change
required
2009-02-24 08:01 file Assigned To => file
======================================================================
More information about the asterisk-bugs
mailing list