[asterisk-users] Macro arguments seperator
Morten Isaksen
misak at misak.dk
Thu Jan 8 07:49:58 CST 2009
Thanks.
Note to self. Read UPGRADE document better next time. :-)
/Morten
On Thu, Jan 8, 2009 at 1:55 PM, Leif Madsen
<leif.madsen at asteriskdocs.org> wrote:
> If I understand this, you can do it with the pbx_realtime=1.4 section in
> the [compat] header of asterisk.conf.
>
> I found this information in the UPGRADE-1.6.txt file... funny enough.
> Fifth paragraph:
>
> * The delimiter passed to applications has been changed to the comma
> (','), as that is what people are used to using within extensions.conf.
> If you are using realtime extensions, you will need to translate your
> existing dialplan to use this separator. To use a literal comma, you
> need merely to escape it with a backslash ('\'). Another possible side
> effect is that you may need to remove the obscene level of backslashing
> that was necessary for the dialplan to work correctly in 1.4 and
> previous versions. This should make writing dialplans less painful in
> the future, albeit with the pain of a one-time conversion. If you would
> like to avoid this conversion immediately, set pbx_realtime=1.4 in the
> [compat] section of asterisk.conf. After transitioning, set
> pbx_realtime=1.6 in the same section.
>
> Leif Madsen.
> http://www.leifmadsen.com
> http://www.asteriskdocs.org
>
> Morten Isaksen wrote:
>> Hi!
>>
>> I am in the process of upgrading our 1.2 servers to 1.6.
>>
>> We have a lot of realtime extensions with app=Macro and
>> appdata=stdexten|080512|SIP/080512
>>
>> But this does not work in 1.6. It is expecting , and not | as the
>> argument seperator. If I change the | to , then it does not work in
>> 1.2.
>>
>> Is there any backwards compatible switch you can enable in 1.6, so it
>> accepts | as a argument seperator in 1.6?
>>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
Morten Isaksen
http://www.misak.dk/blog/
More information about the asterisk-users
mailing list