Index: chan_iax2.c =================================================================== --- chan_iax2.c (revision 132513) +++ chan_iax2.c (working copy) @@ -11571,10 +11571,8 @@ return 0; } - if ((colname = strchr(peername, ':'))) /*! \todo : will be removed after the 1.4 relese */ + if ((colname = strchr(peername, ','))) *colname++ = '\0'; - else if ((colname = strchr(peername, '|'))) - *colname++ = '\0'; else colname = "ip"; @@ -11623,7 +11621,7 @@ struct ast_custom_function iaxpeer_function = { .name = "IAXPEER", .synopsis = "Gets IAX peer information", - .syntax = "IAXPEER([|item])", + .syntax = "IAXPEER([,item])", .read = function_iaxpeer, .desc = "If peername specified, valid items are:\n" "- ip (default) The IP address.\n"