FreeSwitch Enpoint Iax

From FreeSWITCH Wiki

Jump to: navigation, search

Contents

Getting Started

Building mod_iax

  • Uncomment mod_iax from modules.conf
  • make install

Enabling mod_iax

edit /usr/local/freeswitch/conf/modules.conf.xml and uncomment the line that loads mod_iax

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.

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>

FAQ

Q: does mod_iax support registrations?

Not at this time

Personal tools