[Asterisk-Users] Re: IAX Firefly config (Jeromy Grimmett)

Paul Redstone paul.redstone at solica.com
Tue May 24 13:30:21 MST 2005


Hi

This works for us:

In IAX.conf


[NNN]
notransfer=yes
secret=******
context=contextname
host=dynamic
type=friend
callerid="John Doe"<0111122223333>
mailbox=NNN
qualify=no
language=gb

The mailbox is for the mailbox number.

In extensions.conf we use a macro

[macro-iaxext]
;
; Standard extension macro:
;   ${ARG1} - Extension  (we could have used ${MACRO_EXTEN} here as well
;   ${ARG2} - Device(s) to ring
;
exten => s,1,Dial(${ARG2},20,tT)
; if drops out here means unavailable
exten => s,2,NoOp("State 2 ${DIALSTATUS}")
exten => s,3,Voicemail(b${ARG1})

with lines like:
exten =>NNN,1,Macro(iaxext,NNN,IAX2/NNN)

Nothing very clever but works.

Remember to open port 4569 in your firewall if you use from outside on internet 
to server and to map to asterisk server in firewall.


Paul 



More information about the asterisk-users mailing list