[asterisk-users] Originate with label?

Mark Murawski markm-lists at intellasoft.net
Tue Aug 30 17:44:23 CDT 2022


On 8/30/22 17:51, Mark Murawski wrote:
> On 8/30/22 12:34, Antony Stone wrote:
>> I want.
>>>> However writing:
>>>>     Tracker=${CDR(uniqueid)};
>>>>
>>>> results in:
>>>>     MSet(Tracker=-1661872057.2349)
>>>>
>>>> systemname is missing.
>>> Hi Antony,
>>>
>>> This is not a problem with MSet.
>> No, it is indeed the documented behaviour of MSet "MSet behaves in a 
>> similar
>> fashion to the way Set worked in 1.2/1.4 and is thus prone to doing 
>> things
>> that you may not expect."
>
>
> Please re-evaluate what I wrote previously.  Again, this is not a 
> problem with MSet.  You can see this for yourself if you do an inline 
> MSet(Tracker=${CDR(uniqueid)});  this will work fine.
>
> Just because the documentation says that MSet should not be used, it's 
> not appropriate to blame all undesirable behaviors on MSet(), since 
> clearly MSet() is not the problem here.


Let me correct myself.  The documentation doesn't say it shouldn't be 
used... it's making you aware of possible side-effects.  It's perfectly 
legitimate to use MSet() if you prefer the assumptions/behaviors of 
MSet() as opposed to the assumptions/behaviors of Set().

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20220830/bd520ea7/attachment.html>


More information about the asterisk-users mailing list