| 4 | |
| 5 | Specifications: |
| 6 | 1. Network status will be monitored by application, so in the case of IP address changed, application should be better restarting pjsua. |
| 7 | 1. Add new field in {{{pjsua_acc_config}}}, i.e: {{{reg_retry_interval}}} to configure the interval of auto re-register when registration failed of timeout or transport disconnection. |
| 8 | 1. Add new field in {{{pjsua_acc}}}, i.e: {{{route_down}}}, a flag to specify whether the transport used for contacting the first route of the account is down. |
| 9 | - If this flag is set, sending SIP messaging via PJSUA-LIB API (except the auto re-register) will be blocked (by returning an error code) immediately. |
| 10 | - This flag will be set/unset automatically by PJSUA-LIB, i.e: set in the initialization or registration success, and unset in transport disconnected. |
| 11 | - This flag is only usable when account has route-set (global proxy or account specific proxy is set). |