All pastes #1273903 Raw Edit

seanbright

public text v1 · immutable
#1273903 ·published 2008-12-02 20:06 UTC
rendered paste body
Index: channels/chan_iax2.c===================================================================--- channels/chan_iax2.c	(revision 160379)+++ channels/chan_iax2.c	(working copy)@@ -10301,6 +10301,8 @@ 		ast_copy_string(buf, peer->cid_name, len); 	} else  if (!strcasecmp(colname, "callerid_num")) { 		ast_copy_string(buf, peer->cid_num, len);+	} else  if (!strcasecmp(colname, "username")) {+		ast_copy_string(buf, peer->username, len); 	} else  if (!strcasecmp(colname, "codecs")) { 		ast_getformatname_multiple(buf, len -1, peer->capability); 	} else  if (!strncasecmp(colname, "codec[", 6)) {@@ -10340,6 +10342,7 @@ 	"- callerid_num          The configured Caller ID number.\n" 	"- codecs                The configured codecs.\n" 	"- codec[x]              Preferred codec index number 'x' (beginning with zero).\n"+	"- username              The configured username.\n" 	"\n" 	"If CURRENTCHANNEL specified, returns IP address of current channel\n" 	"\n"