[Home]

Summary:ASTERISK-13314: Can't make call if an added zero in the IP address of phone
Reporter:jacs (jacs)Labels:
Date Opened:2009-01-07 05:51:57.000-0600Date Closed:2009-01-15 07:51:35.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Not sure if this is just for Snom but if the IP address of a Snom phone is set with an added zero IE 192.168.045.5 instead of 192.168.45.5 then you can register the phone but can't make a call as asterisk rejects with

chan_sip.c:5095 process_sdp: Unable to lookup host in c= line, 'IN IP4 192.168.045.5'
Comments:By: David Woolley (davidw) 2009-01-07 06:02:24.000-0600

That's correct.  192.168.045.5 is equivalent to 192.168.37.5, not 192.168.45.5.

There may be an issue with the error message, though.

By: Olle Johansson (oej) 2009-01-15 07:47:20.000-0600

The zero actually indicates that it should be parsed octally, not in decimal notation. It must be a bug on the snom side.

By: Leif Madsen (lmadsen) 2009-01-15 07:51:35.000-0600

Based on oej's feedback here, and on IRC, I am closing this bug out as a feature request. If you can provide code to solve your issue, then we'll certainly look at getting it added. Thanks!