[asterisk-commits] file: branch file/chan_jingle2 r365687 - in /team/file/chan_jingle2: channels...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue May 8 14:16:05 CDT 2012
Author: file
Date: Tue May 8 14:16:01 2012
New Revision: 365687
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=365687
Log:
Allow the accountcode to be set from configuration file.
Modified:
team/file/chan_jingle2/channels/chan_jingle2.c
team/file/chan_jingle2/configs/jingle2.conf.sample
Modified: team/file/chan_jingle2/channels/chan_jingle2.c
URL: http://svnview.digium.com/svn/asterisk/team/file/chan_jingle2/channels/chan_jingle2.c?view=diff&rev=365687&r1=365686&r2=365687
==============================================================================
--- team/file/chan_jingle2/channels/chan_jingle2.c (original)
+++ team/file/chan_jingle2/channels/chan_jingle2.c Tue May 8 14:16:01 2012
@@ -2133,6 +2133,7 @@
CV_STR("language", endpoint->language);
CV_STR("musicclass", endpoint->musicclass);
CV_STR("parkinglot", endpoint->parkinglot);
+ CV_STR("accountcode", endpoint->accountcode);
CV_F("allow", ast_parse_allow_disallow(&endpoint->prefs, endpoint->cap, v->value, 1));
CV_F("disallow", ast_parse_allow_disallow(&endpoint->prefs, endpoint->cap, v->value, 0));
CV_F("connection", store_config_connection(endpoint, v->value));
Modified: team/file/chan_jingle2/configs/jingle2.conf.sample
URL: http://svnview.digium.com/svn/asterisk/team/file/chan_jingle2/configs/jingle2.conf.sample?view=diff&rev=365687&r1=365686&r2=365687
==============================================================================
--- team/file/chan_jingle2/configs/jingle2.conf.sample (original)
+++ team/file/chan_jingle2/configs/jingle2.conf.sample Tue May 8 14:16:01 2012
@@ -69,6 +69,7 @@
transport=ice-udp ; Change the default protocol of outgoing sessions to Jingle ICE-UDP
allow=g722 ; Add G.722 as an allowed format since the other side may support it
connection=local-jabber-account ; Connection to accept traffic on and send traffic out
+accountcode=jingle ; Account code for CDR purposes
; Sample configuration entry for Google Talk
[gtalk-endpoint](default)
More information about the asterisk-commits
mailing list