IAX2Provision( ) Provisions a calling IAXy device

 

    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)