- Timestamp:
- Nov 18, 2010 5:15:04 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c
r3370 r3372 228 228 PJSIP_SESS_TIMER_DEF_SE); 229 229 puts (" --timer-min-se=N Session timers minimum expiration period, in secs (def:90)"); 230 puts (" --outb-rid=string Set SIP outbound reg-id (default:1)"); 230 231 puts (" --auto-update-nat=N Where N is 0 or 1 to enable/disable SIP traversal behind"); 231 232 puts (" symmetric NAT (default 1)"); … … 389 390 int argc = 0; 390 391 char **argv; 391 enum { MAX_ARGS = 64};392 enum { MAX_ARGS = 128 }; 392 393 393 394 /* Allocate MAX_ARGS+1 (argv needs to be terminated with NULL argument) */ … … 515 516 OPT_100REL, OPT_USE_IMS, OPT_REALM, OPT_USERNAME, OPT_PASSWORD, 516 517 OPT_REG_RETRY_INTERVAL, OPT_REG_USE_PROXY, 517 OPT_MWI, OPT_NAMESERVER, OPT_STUN_SRV, 518 OPT_MWI, OPT_NAMESERVER, OPT_STUN_SRV, OPT_OUTB_RID, 518 519 OPT_ADD_BUDDY, OPT_OFFER_X_MS_MSG, OPT_NO_PRESENCE, 519 520 OPT_AUTO_ANSWER, OPT_AUTO_PLAY, OPT_AUTO_PLAY_HANGUP, OPT_AUTO_LOOP, … … 658 659 { "timer-se", 1, 0, OPT_TIMER_SE}, 659 660 { "timer-min-se", 1, 0, OPT_TIMER_MIN_SE}, 661 { "outb-rid", 1, 0, OPT_OUTB_RID}, 660 662 { NULL, 0, 0, 0} 661 663 }; … … 913 915 } 914 916 cfg->cfg.timer_setting.min_se = cur_acc->timer_setting.min_se; 917 break; 918 919 case OPT_OUTB_RID: /* Outbound reg-id */ 920 cur_acc->rfc5626_reg_id = pj_str(pj_optarg); 915 921 break; 916 922
Note: See TracChangeset
for help on using the changeset viewer.