History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: XCF-2765
Type: Bug Bug
Status: Resolved Resolved
Resolution: Duplicate
Priority: Critical Critical
Assignee: Unassigned
Reporter: Ananda Teertha
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
sipXconfig

Configuration (.ini) files are not getting generated for AudioCodes MP112,114,118,124 FXS gateways

Created: 2008-08-27 08:20   Updated: Wednesday 11:58
Component/s: audiocodes
Affects Version/s: 3.11.8, 3.11.5
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. GZip Archive AudioCode.tar.gz (868 kb)

Image Attachments:

1. job_status.JPG
(17 kb)
Environment:
sipxproxy 3.11.5-013255 2008-08-22T07:42:40 oem-centos5
sipxconfig 3.11.5-013255 2008-08-22T07:57:02 oem-centos5
Issue Links:
Duplicate
This issue duplicate of:
XCF-2737 MP-124 Config generation NPEs Major Resolved
 


 Description  « Hide
This issue had been reported in 3.10 build with the number, XCF-2601.

Steps to reproduce:

1)Click on Devices-->Phones and add a new AudioCodes MP112 FXS gateway with serial no:000100020004
2)Send Profiles for the added gateway

Expected Response:The configuration file "000100020004.ini" should be generated under tftproot directory in the linux machine.

Actual Response:The configuration file is not getting generated for the added gateway under the tftproot directory.

Observation:This issue is true for all the Audiocodes MP-11x FXS gateways.
The following message was seen in sipxconfig.log

"2008-08-27 15:56:46,613":ERROR:ProfileManagerImpl:?:java.lang.NullPointerException
"2008-08-27 15:56:46,619":ERROR:ProfileManagerImpl:?:java.lang.NullPointerException
"2008-08-27 15:56:46,624":ERROR:ProfileManagerImpl:?:java.lang.NullPointerException
"2008-08-27 15:56:46,631":ERROR:ProfileManagerImpl:?:java.lang.NullPointerException
"2008-08-27 15:56:55,919":ERROR:ProfileManagerImpl:?:java.lang.NullPointerException
"2008-08-27 15:56:55,924":ERROR:ProfileManagerImpl:?:java.lang.NullPointerException
"2008-08-27 15:56:55,929":ERROR:ProfileManagerImpl:?:java.lang.NullPointerException
"2008-08-27 15:56:55,935":ERROR:ProfileManagerImpl:?:java.lang.NullPointerException

Attached is the snapshot for the same.

 All   Comments   Work Log   Change History      Sort Order:
Chaitra Sharma - 2008-11-24 08:42 - edited
This issue is reproducible with the following build
sipxproxy 3.11.8-014067 2008-11-22T02:53:26 oem-centos5
sipxconfig 3.11.8-014067 2008-11-22T03:06:19 oem-centos5

Raising the issue to critical as analog phones cannot be registered from the Config UI


Damian Krzeminski - 2008-11-25 14:19
the name of the gateway template is constructed like this (see AudioCodesContext):

String.format(profileTemplate, device.getDeviceVersion().getVersionId());

but AudioCodes FXS devices do not have versions defined (see AudioCodesFxsModel and compare it to AudioCodesModel) so device.getDeviceVersion() is NULL and device.getDeviceVersion().getVersionId() is cuasing NullPointerException

Did anyone check if it happens in 3.10 as well. I think this code has been merged into 3.10 which means we might have a problem there as well.

Chaitra Sharma - 2008-11-25 22:59
This issue is not reproducible in the 3.10.3-014059 build.

In 3.10.3,
1. Click on Devices-->Phones and add a new AudioCodes MP114 FXS gateway
2. Send Profiles for the added gateway
3. Navigate to Devices -->Phones--><mac-id> and click on the <mac-id.ini> link on the right hand side.
Observation:
1. The ini file can be opened or saved.
2. Also the ini file is generated in the tftproot directory.

This issue is seen only in 3.11


Paul Mossman - 2008-11-26 11:58
I also confirmed in 3.10.3-014059. No problems with either the 5.0 or 5.2 Firmware Versions.