FreeSwitch Enpoint Iax
From FreeSWITCH Wiki
Contents |
[edit]
Getting Started
[edit]
Building mod_iax
- Uncomment mod_iax from modules.conf
- make install
[edit]
Enabling mod_iax
edit /usr/local/freeswitch/conf/modules.conf.xml and uncomment the line that loads mod_iax
[edit]
Configuring
Edit iax.conf.xml and change any of the handful of self-explanatory config options
The default values are satisfactory unless you want to:
- Bind to a specific ip
- Bind to a non-default port
- Use differenet codecs
Also note: codec-master defines if you want to have the preference in codecs or not.
[edit]
Testing
Call the ip you binded to with an IAX phone or via Asterisk.
Bridge data iax/user:pass@host/dest_number
<extension name="voipjet"> <condition field="destination_number" expression="^(1[\d]+)$"> <action application="bridge" data="iax/myAstUser:MyAstPasswd@myasteriskbox/$1"/> </condition> </extension>
[edit]
FAQ
[edit]
Q: does mod_iax support registrations?
Not at this time
