[root@astdomus asterisk]# cd /etc/asterisk
[root@astdomus asterisk]# ls iax*
iax_additional.conf iax_custom_post.conf iax_registrations.conf
iax.conf iax_general_additional.conf iax_registrations_custom.conf
iax_custom.conf iax_general_custom.conf
[root@astdomus asterisk]# cat iax*.conf
;--------------------------------------------------------------------------------;
; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to ;
; this file must be done via the web gui. There are alternative files to make ;
; custom modifications, details at:
http://freepbx.org/configuration_files ;
;--------------------------------------------------------------------------------;
;
[30]
deny=0.0.0.0/0.0.0.0
secret=********
transfer=yes
context=from-internal
host=dynamic
type=friend
port=4569
qualify=yes
dial=IAX2/30
mailbox=30@device
permit=0.0.0.0/0.0.0.0
requirecalltoken=yes
callerid=Павел моб <30>
setvar=REALCALLERIDNUM=30
[40]
deny=0.0.0.0/0.0.0.0
secret=********
transfer=yes
context=from-internal
host=dynamic
type=friend
port=4569
qualify=yes
dial=IAX2/40
mailbox=40@device
permit=0.0.0.0/0.0.0.0
requirecalltoken=yes
callerid=Андрей моб <40>
setvar=REALCALLERIDNUM=40
[50]
deny=0.0.0.0/0.0.0.0
secret=********
transfer=yes
context=from-internal
host=dynamic
type=friend
port=4569
qualify=yes
dial=IAX2/50
mailbox=50@device
permit=0.0.0.0/0.0.0.0
requirecalltoken=no
callerid=Максим <50>
setvar=REALCALLERIDNUM=50
[KRABiz]
deny=all
type=friend
qualify=yes
host=192.168.11.77
context=from-internal
allow=g722
allow=ulaw
allow=alaw
;--------------------------------------------------------------------------------;
; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to ;
; this file must be done via the web gui. There are alternative files to make ;
; custom modifications, details at:
http://freepbx.org/configuration_files ;
;--------------------------------------------------------------------------------;
[general]
; These will all be included in the [general] context
#include iax_general_additional.conf
#include iax_general_custom.conf
#include iax_registrations_custom.conf
#include iax_registrations.conf
; These should all be expected to come after the [general] context
;
;iax_custom.conf is the proper place to start creating new contexts that you
;might have a need for. Dundi IAX trunks is one example of when this file is needed.
;
#include iax_custom.conf
#include iax_additional.conf
;
;iax_custom_post.conf will allow you to modify FreePBX generated IAX setups so
;that you can add additional parameters to a auto-generated setup.
;if you have a auto-generated context of [foobar] and need to add a parameter
;to it then create this line [foobar](+) and place your additions on the next line
;
#include iax_custom_post.conf
;--------------------------------------------------------------------------------;
; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to ;
; this file must be done via the web gui. There are alternative files to make ;
; custom modifications, details at:
http://freepbx.org/configuration_files ;
;--------------------------------------------------------------------------------;
;
disallow=all
allow=ulaw
allow=alaw
allow=gsm
mailboxdetail=yes
tos=ef
;--------------------------------------------------------------------------------;
; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to ;
; this file must be done via the web gui. There are alternative files to make ;
; custom modifications, details at:
http://freepbx.org/configuration_files ;
;--------------------------------------------------------------------------------;
;
[root@astdomus asterisk]#