[Home]

Summary:ASTERISK-15716: mutual exclusion with optiom m and L in dial
Reporter:paco (paketecuento)Labels:
Date Opened:2010-03-01 04:43:40.000-0600Date Closed:2011-06-07 14:04:55
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_dial
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Both 1.4 and 1.6 seems to do it. If you have both m and L option in Dial, only one of them will run (depending in the order of appearance).



****** STEPS TO REPRODUCE ******

exten => _X.,1,Dial(SIP/provider/${EXTEN},30,m,L(20000)) --> only music on hold, no Limit call (also there is no audios associated with L option)

exten => _X.,1,Dial(SIP/provider/${EXTEN},30,L(20000),m) --> only Limit call, no music on hold
Comments:By: Leif Madsen (lmadsen) 2010-03-03 09:51:07.000-0600

This is a configuration issue. Options are not separated with a comma in Dial(). Please review the documentation.

By: paco (paketecuento) 2010-03-03 10:29:44.000-0600

exten => _X.,1,Dial(SIP/provider/${EXTEN}),30,L(20000),m)  is 1.4 valid scheme...  and is not working properly...

By: Leif Madsen (lmadsen) 2010-03-03 10:48:36.000-0600

No, you're wrong, it is NOT a valid scheme.

exten => _X.,1,Dial(SIP/provider/${EXTEN}),30,L(20000),m)   WRONG

exten => _X.,1,Dial(SIP/provider/${EXTEN}),30,L(20000)m)    RIGHT

By: Leif Madsen (lmadsen) 2010-03-03 10:50:22.000-0600

Actually, you even had another error in that line in your note:

exten => _X.,1,Dial(SIP/provider/${EXTEN},30,L(20000)m)

You had an extra closing brace after the ${EXTEN} when you shouldn't have.