Hi all,
actually the aor may be set only setting the SOFSIP_ADDRESS env var,
this patch makes it possible to set it through commandline (which
overrides env var settings).

Regards.
--- old-sofsip-cli/src/sofsip_cli.c	2008-07-02 11:00:40.000000000 +0200
+++ new-sofsip-cli/src/sofsip_cli.c	2008-07-02 11:00:40.000000000 +0200
@@ -285,6 +285,7 @@
   /* long, short, flags, arg, arg_data, desc, arg_desc */
   GOptionEntry options[] = {
     { "autoanswer", 'a', 0, G_OPTION_ARG_NONE, &conf->ssc_autoanswer, "Auto-answer to calls", NULL },
+    { "aor", 'A', 0, G_OPTION_ARG_STRING, &conf->ssc_aor, "Set the address of record", "SIP-URI" },
     { "register", 'R', 0, G_OPTION_ARG_NONE, &conf->ssc_register, "Register at startup", NULL },
     { "contact", 'c', 0, G_OPTION_ARG_STRING, &conf->ssc_contact, "SIP contact, local address to bind to (optional)", "SIP-URI" },
     { "media-addr", 'm', 0, G_OPTION_ARG_STRING, &conf->ssc_media_addr, "media address (optional)", "address"  },

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to