[Asterisk-Users] Asterisk Realtime - extensions configuration help

Matthew Boehm mboehm at cytelcom.com
Mon Apr 4 08:03:21 MST 2005


Shaoul Jacobson - TELLINK wrote:
> Hi,
>
> The wiki http://www.voip-info.org/wiki-Asterisk+RealTime+Extensions
> shows a very trivial sample:
>
> INSERT INTO `extensions_table` VALUES
> (1, 'mycontext', '_574555XXXX', 1, 'Wait', '2');
>
>
> but how would you 'translate' an old definition as :
> exten => _9.,2,Dial(SIP/${EXTEN:1}@sipgate,30,tr)
>
> I already found out that the commas need to be replaced by '|'.
> (exten => ... Dial(SIP/1007,20,tr) becomes ..., 'Dial', '1007|20|tr' )
> It is mentioned only for the 'goto' in the wiki.
> Maybe is it worth to broaden up the sample.

    You just answered your own question in the same post. so..why did you
even post this question if you answered it 2 lines later?

-Matthew




More information about the asterisk-users mailing list