[Asterisk-Users] Asterisk Realtime - extensions configuration help

Shaoul Jacobson - TELLINK shaoul at tellink.com
Mon Apr 4 07:21:58 MST 2005


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.


Regards,


Shaoul Jacobson
Senior VoIP Consultant
Tellink
Tel :	+32 3 201 96 36
Fax : 	+32 3 227 09 81
e-mail	shaoul at tellink.com




More information about the asterisk-users mailing list