Changeset 2301 for pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c
- Timestamp:
- Sep 20, 2008 12:16:56 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c
r2262 r2301 278 278 puts (" --norefersub Suppress event subscription when transfering calls"); 279 279 puts (" --use-compact-form Minimize SIP message size"); 280 puts (" --no-force-lr Allow strict-route to be used (i.e. do not force lr)"); 280 281 281 282 puts (""); … … 482 483 OPT_STDOUT_NO_BUF, 483 484 #endif 484 OPT_AUTO_UPDATE_NAT,OPT_USE_COMPACT_FORM,OPT_DIS_CODEC 485 OPT_AUTO_UPDATE_NAT,OPT_USE_COMPACT_FORM,OPT_DIS_CODEC, 486 OPT_NO_FORCE_LR 485 487 }; 486 488 struct pj_getopt_option long_options[] = { … … 514 516 { "auto-update-nat", 1, 0, OPT_AUTO_UPDATE_NAT}, 515 517 { "use-compact-form", 0, 0, OPT_USE_COMPACT_FORM}, 518 { "no-force-lr",0, 0, OPT_NO_FORCE_LR}, 516 519 { "realm", 1, 0, OPT_REALM}, 517 520 { "username", 1, 0, OPT_USERNAME}, … … 838 841 break; 839 842 843 case OPT_NO_FORCE_LR: 844 cfg->cfg.force_lr = PJ_FALSE; 845 break; 846 840 847 case OPT_NEXT_ACCOUNT: /* Add more account. */ 841 848 cfg->acc_cnt++; … … 1799 1806 { 1800 1807 pj_strcat2(&cfg, "--use-compact-form\n"); 1808 } 1809 1810 if (config->cfg.force_lr) { 1811 pj_strcat2(&cfg, "--no-force-lr\n"); 1801 1812 } 1802 1813
Note: See TracChangeset
for help on using the changeset viewer.