[svn-commits] branch oej/multiparking - r8305
/team/oej/multiparking/channels/chan_sip.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Thu Jan 19 15:59:35 MST 2006
Author: oej
Date: Thu Jan 19 16:59:33 2006
New Revision: 8305
URL: http://svn.digium.com/view/asterisk?rev=8305&view=rev
Log:
Add parkinglot to the sip peer dialplan function
Modified:
team/oej/multiparking/channels/chan_sip.c
Modified: team/oej/multiparking/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/oej/multiparking/channels/chan_sip.c?rev=8305&r1=8304&r2=8305&view=diff
==============================================================================
--- team/oej/multiparking/channels/chan_sip.c (original)
+++ team/oej/multiparking/channels/chan_sip.c Thu Jan 19 16:59:33 2006
@@ -9333,6 +9333,8 @@
snprintf(buf, len, "%d", peer->inUse);
} else if (!strcasecmp(colname, "useragent")) {
ast_copy_string(buf, peer->useragent, len);
+ } else if (!strcasecmp(colname, "parkinglot")) {
+ ast_copy_string(buf, peer->parkinglot, len);
} else if (!strcasecmp(colname, "mailbox")) {
ast_copy_string(buf, peer->mailbox, len);
} else if (!strcasecmp(colname, "context")) {
@@ -9387,7 +9389,8 @@
"- status Status (if qualify=yes).\n"
"- regexten Registration extension\n"
"- limit Call limit (call-limit)\n"
- "- curcalls Current amount of calls \n"
+ "- curcalls Current amount of calls\n"
+ "- parkinglot Parking lot used for this peer\n"
" Only available if call-limit is set\n"
"- language Default language for peer\n"
"- useragent Current user agent id for peer\n"
More information about the svn-commits
mailing list