[Asterisk-Users] Asterisk Realtime - extensions configurationhelp / solved

Shaoul Jacobson - TELLINK shaoul at tellink.com
Tue Apr 5 01:57:30 MST 2005


Dear Matthew, thanks a lot.

That did help.
This could be a nice addition to the samples on the wiki.

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


-----Original Message-----
From: Matthew Boehm [mailto:mboehm at cytelcom.com] 
Sent: lundi 4 avril 2005 18:16
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [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 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

_______________________________________________
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