Changeset 222 for pjproject/trunk/pjsip/src/pjsua/pjsua_opt.c
- Timestamp:
- Feb 23, 2006 2:09:10 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua/pjsua_opt.c
r197 r222 56 56 puts("Media options:"); 57 57 puts(" --null-audio Use NULL audio device"); 58 puts(" --wav-file=file Play WAV file in conference bridge"); 59 puts(""); 58 60 //puts(""); 59 61 //puts("User Agent options:"); … … 197 199 OPT_USE_STUN1, OPT_USE_STUN2, 198 200 OPT_ADD_BUDDY, OPT_OFFER_X_MS_MSG, OPT_NO_PRESENCE, 199 OPT_AUTO_ANSWER, OPT_AUTO_HANGUP };201 OPT_AUTO_ANSWER, OPT_AUTO_HANGUP, OPT_WAV_FILE}; 200 202 struct option long_options[] = { 201 203 { "config-file",1, 0, OPT_CONFIG_FILE}, … … 223 225 { "auto-answer",1, 0, OPT_AUTO_ANSWER}, 224 226 { "auto-hangup",1, 0, OPT_AUTO_HANGUP}, 227 { "wav-file", 1, 0, OPT_WAV_FILE}, 225 228 { NULL, 0, 0, 0} 226 229 }; … … 405 408 } 406 409 pjsua.buddies[pjsua.buddy_cnt++].uri = pj_str(optarg); 410 break; 411 412 case OPT_WAV_FILE: 413 pjsua.wav_file = optarg; 407 414 break; 408 415 }
Note: See TracChangeset
for help on using the changeset viewer.