[asterisk-users] sip/iax dialplan extension..

Oguzhan Kayhan oguzhank at bilkent.edu.tr
Mon Mar 23 06:01:18 CDT 2009


Hello, with asterisk 1.6 i am trying to make a dialplan
Which i have such entry in extensions.conf

exten => _8XXX,1,Dial(SIP/${EXTEN})
But some of my clients have both IAX and SIP accounts, to use iax clients
while outside of my Local Area, and SIP clients (or hardware phones) in
local area.

But with such rule, i can only dial SIP accounts.
Is there a parameter to find how the user connected?

such as exten => _8XXX,1,Dial(${protocol}/${EXTEN})  etc, so it
automatically selects sip or iax according to the extensions conection
type??






More information about the asterisk-users mailing list