return 0;
}
- if ((colname = strchr(peername, ':'))) /*! \todo : will be removed after the 1.4 relese */
- *colname++ = '\0';
- else if ((colname = strchr(peername, '|')))
+ if ((colname = strchr(peername, ',')))
*colname++ = '\0';
else
colname = "ip";
struct ast_custom_function iaxpeer_function = {
.name = "IAXPEER",
.synopsis = "Gets IAX peer information",
- .syntax = "IAXPEER(<peername|CURRENTCHANNEL>[|item])",
+ .syntax = "IAXPEER(<peername|CURRENTCHANNEL>[,item])",
.read = function_iaxpeer,
.desc = "If peername specified, valid items are:\n"
"- ip (default) The IP address.\n"