function Instead_include ()
{
Sed-i "S/\-i. \/.. \/export\/voiceconvlayerheader/\-i. \/voiceconvlayer\/include/g "$
}
Instead_include Application/debug/makefile
Instead_include Application/misc/makefile
Instead_include Application/voice/makefile
HG revert Application/voiceconvlayer/makefile
Sed-i "S/\-i. \/.. \/export\/voiceconvlayerheader/\-iinclude/g "Application/voiceconvlayer/makefile
Sed-i "S/SRC\/GMICONVERTER.O/SRC\/GMICONVERTER.O \\\\\\n\\tlibvoiceconvlayer.o/g" application/voiceConvLayer/ Makefile
RM-FR Application/voiceconvlayer/include
mkdir Application/voiceconvlayer/include
cp/repo/matthewx/voiceconvlayerheader/* application/voiceconvlayer/include/
cp/repo/matthewx/src/libvoiceconvlayer.cc application/voiceconvlayer/
no=$ (cat-n application/voiceconvlayer/include/omciconvertersip.h |grep voip_omciv1=1)
No=${no:0:6}
no=$ ((no-2))
Sed-i "$no, +5d" Application/voiceconvlayer/include/omciconvertersip.h
Sed-i "S/omci_cvp_proxy_init/initvoiceconvlayer/g" omcimgr/omcimain.cc
Sed-i "S/xmlupdate/updatevoiceconvlayerxml/g" omcimgr/omcimain.cc
Sed-i "S/omciconvertmsgproxy.h/libvoiceconvlayer.h/g" omcimgr/omcimain.cc
Sed-i "s/\ #include \" omciconvertmsgproxy.h\ "//g" omcimgr/omcimain.cc
Sed-i "s/\ #include \" omciconvertmsgcomutil.h\ "//g" omcimgr/omcimain.cc
function INSTEAD_OMCIITF ()
{
Sed-i "s/\ #include \" omciitf.h\ "/\ #include \" omciitf.h\ "\\n \ #include \" Libvoiceconvlayer.h\ "\\n/g" $
}
function Instead_handlevoicemessage ()
{
Sed-i "S/libsendrecvvoicemsgconvlayer/handlevoicemessage/g" $
Sed-i "S/libsendvoicemsgtoconvlayer/handlevoicemessage/g" $
}
function Instead_omciconvertmsgcomutil ()
{
Sed-i "S/omciconvertmsgcomutil.h/libvoiceconvlayer.h/g" $
}
function Instead_omciconvertersip ()
{
Sed-i "S/omciconvertersip.h/libvoiceconvlayer.h/g" $
}
Instead_handlevoicemessage omcimgr/omcimain.cc
Instead_handlevoicemessage omcimgr/authsecuritymethod.cc
Instead_handlevoicemessage omcimgr/callctrlpmhistdata.cc
Instead_handlevoicemessage omcimgr/iphostconfig.cc
Instead_handlevoicemessage omcimgr/mgcconfigdata.cc
Instead_handlevoicemessage omcimgr/mgcpmhistdata.cc
Instead_handlevoicemessage omcimgr/networkdialplan.cc
Instead_handlevoicemessage omcimgr/ntpconfigurationv2.cc
Instead_handlevoicemessage omcimgr/oltg.cc
Instead_handlevoicemessage omcimgr/potsunipptp.cc
Instead_handlevoicemessage omcimgr/rtppmhistdata.cc
Instead_handlevoicemessage omcimgr/rtpprofiledata.cc
Instead_handlevoicemessage omcimgr/sipagentconfigdata.cc
Instead_handlevoicemessage omcimgr/sipagentpmhistdata.cc
Instead_handlevoicemessage omcimgr/sipcallinitpmhistdata.cc
Instead_handlevoicemessage omcimgr/sipuserdata.cc
Instead_handlevoicemessage omcimgr/tcpudpconfig.cc
Instead_handlevoicemessage omcimgr/vendorspecificvoipclient.cc
Instead_handlevoicemessage omcimgr/vendorspecificvoipclient_2.cc
Instead_handlevoicemessage omcimgr/vendorspecificvoipsupplement.cc
Instead_handlevoicemessage omcimgr/voiceserviceprofile.cc
Instead_handlevoicemessage omcimgr/voipappsrvcprofile.cc
Instead_handlevoicemessage omcimgr/voipcallstatistics.cc
Instead_handlevoicemessage omcimgr/voipclient_1.cc
Instead_handlevoicemessage omcimgr/voipclient_2.cc
Instead_handlevoicemessage omcimgr/voipconfigdata.cc
Instead_handlevoicemessage omcimgr/voipfeatureaccesscode.cc
Instead_handlevoicemessage omcimgr/voiplinestatus.cc
Instead_handlevoicemessage omcimgr/voipmediaprofile.cc
Instead_handlevoicemessage omcimgr/voipsupplement.cc
Instead_handlevoicemessage omcimgr/voipvoicectp.cc
Sed-i "s/\ #include \" apiomciconverter.h\ "//g" omcimgr/iphostconfig.cc
Instead_omciconvertersip omcimgr/iphostconfig.cc
Instead_omciconvertersip omcimgr/voipclient_1.cc
Instead_omciconvertersip omcimgr/vendorspecificvoipclient.cc
Instead_omciconvertersip omcimgr/vendorspecificvoipclient_2.cc
Instead_omciconvertersip omcimgr/vendorspecificvoipsupplement.cc
Instead_omciconvertmsgcomutil omcimgr/vendorspecificvoipclient.cc
Instead_omciconvertmsgcomutil omcimgr/vendorspecificvoipclient_2.cc
Instead_omciconvertmsgcomutil omcimgr/vendorspecificvoipsupplement.cc
#instead_omciitf omcimgr/authsecuritymethod.cc
INSTEAD_OMCIITF omcimgr/callctrlpmhistdata.cc
Instead_ OMCIITF omcimgr/mgcconfigdata.cc
INSTEAD_OMCIITF omcimgr/mgcpmhistdata.cc
INSTEAD_OMCIITF omciMgr/ ntpconfigurationv2.cc
INSTEAD_OMCIITF omcimgr/voiceserviceprofile.cc
INSTEAD_OMCIITF omciMgr/ voipappsrvcprofile.cc
INSTEAD_OMCIITF omcimgr/voipcallstatistics.cc
INSTEAD_OMCIITF omciMgr/VoipClient_2. CC
INSTEAD_OMCIITF omcimgr/voipconfigdata.cc
INSTEAD_OMCIITF omcimgr/voipfeatureaccesscode.cc
Instead_ OMCIITF omcimgr/voipmediaprofile.cc
INSTEAD_OMCIITF omcimgr/voipsupplement.cc
INSTEAD_OMCIITF omciMgr/ voipvoicectp.cc
INSTEAD_OMCIITF omcimgr/tcpudpconfig.cc
INSTEAD_OMCIITF omcimgr/rtppmhistdata.cc
INSTEAD_OMCIITF omcimgr/sipagentconfigdata.cc
INSTEAD_OMCIITF omcimgr/sipagentpmhistdata.cc
Instead_ OMCIITF omcimgr/sipcallinitpmhistdata.cc
INSTEAD_OMCIITF omcimgr/sipuserdata.cc
INSTEAD_OMCIITF omciMgr/ rtpprofiledata.cc
Sed-i "s/\ #include \" apiomciconverter.h\ "//g" omcimgr/commontypes.h
Sed-i "s/\ #include \" appsendreceive.h\ "/\ #include \" appsendreceive.h\ "\\n\ #include \" libvoiceconvlayer.h\ "\\n/g" omcimgr/oltg.cc
Sed-i "s/\ #include \" networkdialplan.h\ "/\ #include \" networkdialplan.h\ "\\n#include \" libvoiceconvlayer.h\ "\\n/g" omcimgr/networkdialplan.cc
Sed-i "s/\ #include \" voiplinestatus.h\ "/\ #include \" voiplinestatus.h\ "\\n#include \" libvoiceconvlayer.h\ "\\n/g" omcimgr/voiplinestatus.cc
Sed-i "s/\ #include \" potsunipptp.h\ "/\ #include \" potsunipptp.h\ "\\n#include \" libvoiceconvlayer.h\ "\\n/g" omcimgr/ potsunipptp.cc
Cp/repo/matthewx/src/libvoiceconvlayer.h lib_export/
cp/repo/matthewx/src/voiceconvlayerstub.cc sst/stub/
Sed-i "S/omciconvertersip.h/voice_convlayer_msg.h/g" sst/stub/stubspec.cc
Sed-i "S/MSGTOOMCIMAINSTUB.O/MSGTOOMCIMAINSTUB.O \\\\\\n voiceconvlayerstub.o/g" Sst/stub/Makefile
Sed-i "s/} e_voip_msg_type;/} e_voip_msg_type;\\n\\ntypedef enum\\n{\\n\\tvoip_omciv1=1,\\n\\tvoip_omciv2=2\\n} E_ Voip_type;\\n/g "Export/voice_convlayer_msg.h
HG Remove Export/voiceconvlayerheader/apiomciconverter.h Export/voiceconvlayerheader/convertrtpprofiledata.h Export/voiceconvlayerheader/gmiconverter.h Export/voiceconvlayerheader/h248msgdevicertp.h export/ Voiceconvlayerheader/h248msgprimarymgc.h Export/voiceconvlayerheader/h248msgtermination.h export/ Voiceconvlayerheader/omciconvertersip.h export/voiceconvlayerheader/convertiphostconfigdata.h export/ Voiceconvlayerheader/convertsipagentconfigdata.h export/voiceconvlayerheader/h248msgactheartbeat.h export/ Voiceconvlayerheader/h248msgdevicevoipprocessing.h export/voiceconvlayerheader/h248msgpsvheartbeat.h export/ Voiceconvlayerheader/h248msgtransactransport.h export/voiceconvlayerheader/omciconvertmsgcomutil.h export/ Voiceconvlayerheader/convertmgcconfigdata.h export/voiceconvlayerheader/convertvoiceserviceprofiledata.h export/ Voiceconvlayerheader/h248msgdevicelinephy.h Export/voiceconvlayerheader/h248msgdigitmap.h export/ Voiceconvlayerheader/h248msgsecondarymgc.h Export/voiceconvlayerheaDer/omciconvcfgtype.h Export/voiceconvlayerheader/omciconvertmsgproxy.h export/voiceconvlayerheader/ ConvertNetworkDialPlanTable.h export/voiceconvlayerheader/convertvoipmediaprofiledata.h export/ Voiceconvlayerheader/h248msgdevicephysical.h Export/voiceconvlayerheader/h248msgmediagateway.h export/ Voiceconvlayerheader/h248msgtermidformat.h export/voiceconvlayerheader/omciconverterh248.h
Use of the shell