[asterisk-users] Alcatel OXO Sip

Patrick asterisk-list at puzzled.xs4all.nl
Tue Sep 19 02:57:11 MST 2006


On Tue, 2006-09-19 at 02:18 -0700, Steve Langstaff wrote:
> I think that (one of the) offending line(s) is in chan_sip.c:
> 
> 		if (strcasecmp(via, "SIP/2.0/UDP")) {
> 			ast_log(LOG_WARNING, "Don't know how to respond
> via '%s'\n", via);
> 			return -1;
> 		}
> 
> This is looking for an upper-case 'UDP' whereas your oxo pbx is using a
> lower-case 'udp'.

man strcasecmp says:
strcasecmp, strncasecmp - compare two strings ignoring case

So the case is ignored and either sip and SIP or udp and UDP should
work.

Regards,
Patrick




More information about the asterisk-users mailing list