Shaoul Jacobson - TELLINK
2005-Apr-04 09:00 UTC
[Asterisk-Users] Asterisk Realtime - extensions configurationhelp
Dear Matthew, Btw, thanks for your active presence on the list.> 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?I mentioned I found out about the ',' that must be translated into '|'. I was suggesting adding this in the sample to make it more clearly for others. I still do not know how to 'translate' (from old extension.conf) : - the '_9.' (playing with variable filters) - the 'SIP/${EXTEN:1}' (playing with functions and number manip) regards Shaoul Jacobson Senior VoIP Consultant Tellink Tel : +32 3 201 96 36 Fax : +32 3 227 09 81 e-mail shaoul@tellink.com
Matthew Boehm
2005-Apr-04 09:16 UTC
[Asterisk-Users] Asterisk Realtime - extensions configurationhelp
Shaoul Jacobson - TELLINK wrote:> I still do not know how to 'translate' (from old extension.conf) : > - the '_9.' (playing with variable filters) > - the 'SIP/${EXTEN:1}' (playing with functions and number manip)Here are some "complicated" extensions that work in my RealTime extensions: INSERT INTO `extensions` (`id`, `context`, `exten`, `priority`, `app`, `appdata`) VALUES (5, 'cytel', '8322008630', '1', 'Dial', 'SIP/3044,30'); INSERT INTO `extensions` (`id`, `context`, `exten`, `priority`, `app`, `appdata`) VALUES (7, 'cytel', '80', '1', 'Voicemailmain', '@cytel'); INSERT INTO `extensions` (`id`, `context`, `exten`, `priority`, `app`, `appdata`) VALUES (8, 'cytel', '_832.', '1', 'Dial', 'SIP/${EXTEN}@66.88.74.85|30'); INSERT INTO `extensions` (`id`, `context`, `exten`, `priority`, `app`, `appdata`) VALUES (9, 'cytel', '_9X.', '1', 'Dial', 'IAX2/devasterisk:asterisk@asterisk-alpha/${EXTEN}@cytel-internal'); INSERT INTO `extensions` (`id`, `context`, `exten`, `priority`, `app`, `appdata`) VALUES (10, 'cytel', '3013', '1', 'Dial', 'SIP/3013|30'); INSERT INTO `extensions` (`id`, `context`, `exten`, `priority`, `app`, `appdata`) VALUES (11, 'cytel', '_3XXX', '1', 'Dial', 'IAX2/devasterisk:asterisk@asterisk-alpha/${EXTEN}@cytel-internal'); that help? -Matthew