[Asterisk-Users] Asterisk Realtime - extensions configurationhelp

Matthew Boehm mboehm at cytelcom.com
Mon Apr 4 09:16:00 MST 2005


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 at 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 at asterisk-alpha/${EXTEN}@cytel-internal');

that help?

-Matthew




More information about the asterisk-users mailing list