Summary:ASTERISK-06797: [patch] Move res_osp.c into app_osplookup.c for the new way of loading
Reporter:Di-Shi Sun (homesick)Labels:
Date Opened:2006-04-17 14:24:46Date Closed:2006-06-30 10:13:05
Versions:Frequency of
Environment:Attachments:( 0) Asterisk_OSP_Module_User_Guide.pdf
( 1) Asterisk_OSP_Module_User_Guide.txt
( 2) osp_34338.patch
Description:These changes are for the new way modules are loaded. Asterisk cannot load OSP module without these changes. Ref: 6968 by Rizzo

1. Move all stuff in res_osp.c into app_osplookup.c, change module_load/unload etc. in app_osplookup.c
2. Change astosp.h
3. Change res/Makefile to remove res_osp
4. Change apps/Makefile to compile app_osplookup with OSP library
5. res/res_osp.c must be remove from the trunk, otherwise it cause compiling error.



Disclaimer signed by TransNexus, Inc. 1/27/05
Comments:By: Di-Shi Sun (homesick) 2006-04-19 14:05:40

Please erase the old patch "ospmodule.diff". There is a typo error. We corrected it in "newospmodule.diff".



By: Serge Vecher (serge-v) 2006-05-10 11:39:19

does this need a rewrite for autoconf changes in makefile?

By: Di-Shi Sun (homesick) 2006-05-10 11:51:53

I think so.

By: Serge Vecher (serge-v) 2006-05-19 13:43:36

homesick: are you working on an updated patch here?

By: Di-Shi Sun (homesick) 2006-05-19 14:09:52

I am working on another project to meet a deadline. I hope I can update this patch early June.

Would you like to tell me when is the Asterisk 1.4 deadline?



By: Tilghman Lesher (tilghman) 2006-05-21 09:39:58

I'm not sure this is the right approach.  We have a loader API for exporting symbols, which is probably the right way to go about this.

In any case, the chance to dispose completely of res_osp disappeared back in the beginning of April, at the archtectural freeze.

By: Di-Shi Sun (homesick) 2006-05-22 07:45:47

Hi Corydon76,

I have discussed with Rizzo. We believe this is a reasonable approach for the new loader API and OSP module. It uses the new load API as requested.

I will update the patch ASAP.



By: Di-Shi Sun (homesick) 2006-06-01 10:54:45

The patch, osp_30908.patch, has been updated and fully tested to svn trunk 30908. One thing I want to mention again, please remove res/res_osp.c from svn. Otherwise Asterisk cannot be compiled.

Please remove the old patch, ospmoudle.diff.


By: Di-Shi Sun (homesick) 2006-06-07 10:46:28

Hi All,

I have finished a doc on how to configure OSP support in Asterisk. Would you please tell me what file formats are supported, txt, pdf, sgml, or doc?


By: Di-Shi Sun (homesick) 2006-06-15 16:23:19

1. Update patch to svn trunk 34338.
2. Change for reporting incorrect release source issue.
3. Change for reporting incorrect disconnect reason issue.

Please remove the old patch, osp_30908.patch.


By: Di-Shi Sun (homesick) 2006-06-16 15:31:20

I post a doc about how to use OSP moddule in Asterisk. It works with osp_34338.patch.

By: Olle Johansson (oej) 2006-06-20 01:59:15

homesick: As you see in the doc/ directory, all docs are in text format.

By: Di-Shi Sun (homesick) 2006-06-20 11:06:19

The doc in txt format has been uploaded. Please delete "Asterisk OSP Module User Guide.txt~". It is a backup file.

By: Matt O'Gorman (mogorman) 2006-06-30 10:12:56

Committed revision 36406.