O'Reilly logo

Asterisk: The Future of Telephony by Leif Madsen, Jared Smith, Jim Van Meggelen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

IAX2Provision() — Provisions a calling IAXy device

Synopsis

    IAX2Provision([template])

Provisions a calling IAXy device (assuming that the calling entity is an IAXy) with the given template. If no template is specified, the default template is used. IAXy provisioning templates are defined in the iaxprov.conf configuration file.

Returns -1 on error or 0 on success.

    ; provision IAXy devices with the default template when they dial this 
    extension
    exten => 123,1,IAX2Provision(default)

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required