- Timestamp:
- Nov 11, 2009 12:33:00 AM (15 years ago)
- Location:
- pjproject/trunk/pjsip/src/pjsua-lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c
r2955 r3013 133 133 /* Copy config */ 134 134 pjsua_config_dup(pjsua_var.pool, &pjsua_var.ua_cfg, cfg); 135 136 /* Verify settings */ 137 if (pjsua_var.ua_cfg.max_calls >= PJSUA_MAX_CALLS) { 138 pjsua_var.ua_cfg.max_calls = PJSUA_MAX_CALLS; 139 } 135 140 136 141 /* Check the route URI's and force loose route if required */ -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c
r3012 r3013 684 684 } 685 685 686 /* Verify settings */687 if (ua_cfg->max_calls >= PJSUA_MAX_CALLS) {688 pjsua_perror(THIS_FILE, "Invalid max_calls setting", PJ_ETOOMANY);689 return PJ_EINVAL;690 }691 692 686 /* If nameserver is configured, create DNS resolver instance and 693 687 * set it to be used by SIP resolver.
Note: See TracChangeset
for help on using the changeset viewer.