Asunto: Re: [Asterisk-Users] Syntax

Jay Milk jay at skimmilk.net
Wed May 5 13:33:44 MST 2004


First off, www.google.com is a great resource.

Next:
Take a look at the sample files: cd /usr/src/asterisk; make samples; cd
/etc/asterisk ; cat extensions.conf
http://www.asterisk.org/index.php?menu=support#handbook_project
www.asteriskdocs.org
http://voip-info.org/wiki-Asterisk+introduction



-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of
klky3 at fibertel.com.ar
Sent: Wednesday, May 05, 2004 3:07 PM
To: asterisk-users at lists.digium.com
Subject: Asunto: Re: [Asterisk-Users] Syntax


 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


_______________________________________________
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





More information about the asterisk-users mailing list