Asunto: Re: [Asterisk-Users] Syntax

klky3 at fibertel.com.ar klky3 at fibertel.com.ar
Wed May 5 13:06:56 MST 2004


 Hi !

I'm trying to mount an asterisk to talk with my friends in another city,
but ... 
i can't understand the sintax of some configuration files ( i.e: extensions.conf)


Somebody knows a Howto that have the examples, but with comments ( the cookbok
in the digium's page is quite diffcultly !!! )


Best Regards


Ivan



>On Tue, 2004-05-04 at 08:51, Tim Sailer wrote:
>> I've been wondering what the difference is in the syntax of things,
>> like Dial.
>> 
>> Some examples show things like:
>> exten => 500,1,Dial,SIP/${EXTEN}|10
>> 
>> but other examples show:
>> exten => 500,1,Dial(SIP/${EXTEN}|10)
>> or
>> exten => 500,1,Dial(SIP/${EXTEN},10)
>> 
>> Which one is correct? Or most correct? Which one is preferred, and why?
>> I'm sure I'm not the only one with this question... :)
>
>They are all correct, but the last one is most like programming and is
>preffered by me, and maybe a few others here. The first is historic, and
>the second is a mix of the first and third. The second probably should
>be avoided as it might break later on if the parser changes.
>-- 
>Steven Critchfield <critch at basesys.com>
>
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users


________________________________________
FiberTel, el nombre de la banda ancha http://www.fibertel.com.ar





More information about the asterisk-users mailing list