diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 3aa200f742..e5e28e55c1 100644 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -7482,7 +7482,7 @@ static unsigned int parse_pointcode(char *pcstring) unsigned int code1, code2, code3; int numvals; - numvals = sscanf(pcstring, "%d.%d.%d", &code1, &code2, &code3); + numvals = sscanf(pcstring, "%d-%d-%d", &code1, &code2, &code3); if (numvals == 1) return code1; if (numvals == 3) diff --git a/configs/zapata.conf.sample b/configs/zapata.conf.sample index b997cbbae1..cdec2940f3 100644 --- a/configs/zapata.conf.sample +++ b/configs/zapata.conf.sample @@ -676,7 +676,7 @@ immediate=no ; Point code of the linkset. For ITU, this is the decimal number ; format of the point code. For ANSI, this can either be in decimal -; number format or in the xxx.xxx.xxx format +; number format or in the xxx-xxx-xxx format ;pointcode = 1 ; Point code of node adjacent to this signaling link (Possibly the STP between you and