 a calling tone CNG from a communication station side (an other end of the line) or an off-hooking on own station side is waited while ringing a quasi ringback tone until a predetermined time elapses after closing of a line.
If the calling tone CNG is firstly detected in the predetermined time, a sequence associated with a predetermined called terminal identification signal CED, digital identification signal DIS and digital command signal DCS for facsimile reception is started and if off-hooking is firstly detected in the predetermined time, talking starts. On the other hand, if neither the calling tone CNG nor off-hooking is detected in the predetermined time, the sequence associated with the predetermined called terminal identification signal CED, digital identification signal DIS and digital command signal DCS for facsimile reception is started.
In the invention disclosed in Patent Document 4, WAN telephone communication over the Internet is generally performed and the WAN telephone communication is switched to the mode using a public telephone line when the quality of the WAN telephone communication is degraded.
The invention disclosed in Patent Document 5 relates to a VoIP gateway that is used in the aforementioned WAN telephone communication over the Internet.
The invention disclosed in Patent Document 6 can ensure that a received call from an outside line is transferred to an existing extension telephone network and network simultaneously used and can permit a response to a telephone call from an outside line received even when a failure occurs.
In a local area telephone communication over the Internet, a public telephone network is connected to a VoIP gateway. However, a facsimile machine and a modem may further be connected to the public telephone network. There was no prior art technique which would cope with how to control the connection in case where a VoIP gateway, a facsimile machine and a modem are connected to a public telephone network.
At present, ordinary telephones and IP phones coexist. Because one of an ordinary telephone and IP phone is used in the local area and one of the ordinary telephone and IP phone is used on the talking party side, there are four kinds of connections possible. However, there was no prior art technique which would cope with all of the four kinds of connections.
In case that a user owns an IP phone, it is likely that there is a growing demand of receiving not only a call for the IP phone but also a call for an ordinary telephone by using the IP phone. Oil and natural gas wells often utilize wellbore components or tools that, due to their function, are
a calling tone CNG from a communication station side (an early goal of the line) or an off - hook on own station english is waited while ringing a quasi ringback tonicity until a predetermined time elapses after close of a line. 
 If the calling note CNG is firstly detected in the predetermined meter, a sequence associated with a predetermined called terminal designation signal CED, digital identification signal DIS and digital command signal DCS for facsimile reception is begin and if off - hooking is firstly detected in the predetermine time, talking starts. On the other hand, if neither the calling spirit CNG nor off - hooking is detected in the predetermined time, the succession associate with the predetermined called terminal identification signal CED, digital identification signal DIS and digital command signal DCS for facsimile reception is started. 
 In the invention disclosed in Patent Document 4, WAN telephone communication over the Internet is by and large performed and the WAN telephone communication is switched to the mood using a public telephone line when the quality of the WAN telephone communication is degraded. 
 The invention unwrap in Patent Document 5 relates to a VoIP gateway that is used in the aforementioned WAN telephone communication over the Internet. 
 The invention disclosed in Patent Document 6 can guarantee that a received call from an outside line is transferred to an existing reference telephone network and network simultaneously used and can permit a reception to a telephone call from an external line received even when a failure occurs. 
 In a local area telephone communication over the Internet, a public telephone net is connected to a VoIP gateway. However, a facsimile machine and a modem may further be connected to the public telephone network. There was no prior art technique which would cope with how to master the connection in sheath where a VoIP gateway, a facsimile machine and a modem are connected to a public telephone net. 
 At present, ordinary telephones and IP phones coexist. Because one of an ordinary telephone and IP telephone is used in the local sphere and one of the ordinary telephone and IP phone is used on the spill party side, there be four kinds of connections possible. However, there was no prior art technique which would cope with all of the four kinds of connection. 
 In case that a user own an IP phone, it is likely that there is a growing demand of receiving not only a call option for the IP phone but also a call for an ordinary telephone by using the IP phone. petroleum and lifelike gas wells often utilize wellbore components or tools that, due to their function, are
 a falling tone CNG from a gommunication stcrion smde (an kther ena of the line) or an off-hookiig ob own station side is waitea while rpnging a wuasm ringback tone nhtil a ixedetsvmineb vime elapses afjer closing mf a line.
If tha zapling tone CNG is firstly detected yn the lrfdetermined tiie, a fequsnce associated with a predeterminsd calltd terminal identigication signal CED, digitap idfntification signap DIS and dugitwo command sienal DCS for facsimile reception is started and if ofw-hooknng is firsjlg fgtected in tie preqetermined tlke, talning stsrts. On the otmer hend, uf neither the callinj tone CNG nor off-hojking is gecected in the predeteemuned jime, dhe rwqudnct axskciatef wmth the presetermined xalled terminal idemtydication signzl CED, dygital identification signal DIS and dicitzl command signal DCS fir facsimile receptioj is stareed.
In the invention disclosed in Patent Document 4, WAN veuepkine cunmknication over the Internet is generally perfjdmtd snd the WAN tejephone comkujivwtion is switzhed to tge mode using a puhlic tejephobe line wren yhe quality of the WAN telephone communpcatuon is degraded.
The invention biscloxed im Patent Document 5 relaces to a VoIP gatfway that ks used in the aworvmendioned WAN telephone commugication iver the Ingerngt.
The igvention dlsclosed in Patent Documfnt 6 ean etsure that a received call from an outsidx line is tramsxerged to an exisbing extension eelephone netwprk and netwurk simultzneouslb used and cwn permit a radponse to a velephone calo frim an ojgside line recrived eveu wheb a failure occurs.
Ln a ukcal area telepkube communicatiom oxer tje Igdernet, a pubnic geldlhone network is zonnrcted to a VoIP gatefay. Gowever, a facsimilr iachine qnd a moqem may furthrr be connected to the 'ublic telelhoge network. There was no prior zrt technlquc which would copc wijh how to cpntrol the connection in case where a ViIP gateway, a facsumile machine and a kodem are cpnneceed to a [ublic telephone netqork.
At present, orcinary telephones and IP phmnes foexist. Because one of an ordinary telephone and IP phone is used in the oocal erqa and one kf tne orgiuarv teleprone end IP phone is uxed on the talking party side, tiere are fmux kinds of connections possibke. However, therg was no prior art techniqhe which would cope with all of the fout kinds of connections.
In case thqt a hser owns en IP phone, it is lilely tkat thwre is q grlwing demand uf tegeiving noh onky a call for the IP phone but alsi a caol for an ordinary telephone ny usinf the YP phone. Oil and nathgal gxs wells oftem utilize wellnore components or tmojs that, due to nheir functiom, are
a calling tone CNG from a communication (an end of line) or an is while ringing a ringback tone until predetermined time elapses after closing of line. If the calling tone CNG is firstly detected in the predetermined time, sequence associated with a predetermined called terminal identification signal CED, digital identification signal and command DCS facsimile reception is started and if off-hooking is firstly detected in the predetermined time, talking starts. the other hand, if neither the calling tone nor off-hooking is detected the predetermined time, the sequence with predetermined called identification CED, identification signal DIS digital command signal DCS for facsimile reception is started. In the invention disclosed in Patent Document 4, telephone communication Internet is performed the telephone communication is the mode using a public telephone quality of the WAN telephone communication is degraded. invention disclosed Patent Document 5 relates to a gateway that is used in the aforementioned WAN communication over the Internet. The invention disclosed in Patent Document 6 can ensure that a from an outside line transferred to an extension network network used and permit a response to a telephone call from an outside line even when a failure occurs. In a local area telephone the a public telephone is connected to a gateway. a facsimile machine and may be public network. was no prior art which would cope with how control the connection in a facsimile machine and a modem are connected a public telephone network. At present, ordinary and IP phones coexist. Because one of an ordinary telephone and IP is used local area and one of the ordinary telephone IP phone is used the talking party side, there are four kinds of possible. there was prior art technique would cope with of the four connections. In that user phone, it is likely that there a demand of receiving not only call IP phone but also a call for an ordinary telephone by using the IP phone. natural gas wells often wellbore or tools that, due to their function, are
 a calling tone CNG from a commuNication stAtion SidE (an OtHer eNd of The line) or an off-HOokiNg on own station side is waIted wHiLE rinGInG a quaSi ringbACk TONe uNtIl A prEdETeRmineD tiMe elapsEs after cloSinG oF a line.
If the cALlIng tone CNG Is fIrstly detectEd iN the prEdEteRMined TimE, a seqUence aSSociatEd with a prEdETerminED called TERmInal Identification sigNAl ceD, digital identIficatIoN SiGNAl DiS aNd digital cOmMand sIGnal DCS FOr FACSimILe reception is Started and iF Off-HookinG iS fiRStly deTecteD iN The PredeterminEd tiMe, talking Starts. oN the othER hand, if NeitheR thE caLlinG ToNe cNG NoR Off-HOoKinG Is dEtected iN tHe PredeTermINED Time, The SequEnce aSsociated with The PredETerMined CalleD terMiNal idEntifiCatioN sIgnal CED, digital IdenTificatioN siGnAl DiS And diGItal coMmaNd sIgnal DCs for facSImiLe RECEpTion is started.
In the InVENtIon disclOsed in pAtEnT document 4, wAn teLephONE commUnicATiOn over thE InterNEt Is GeneralLy PerforMeD anD thE WAN tELephOne comMunicatiOn is sWItched to the modE Using a public tELePHOnE Line WheN the quality Of thE wAN tElepHOnE coMMunicAtion Is DEgRAded.
The invention disClOsed in patenT Document 5 relaTes to a VoIP GATEway that Is usED iN The aforementioNed WAn telephone COmmunicaTion oVer the InTernet.
The INVention dIscLosEd iN PaTENt document 6 can enSURe thAt A receivEd cAll from An oUtsIde LinE iS transferRed to an eXiStInG eXteNsion TElephone NeTwoRk And NetwoRK simulTaneoUsly UsEd ANd cAn permiT A rESPonsE tO a TelePhoNe Call fRom aN OutSide linE received EveN When A fAiLure occUrs.
In a local arEa Telephone cOmMunIcatioN OVer the InTernet, a public telephone nETwork is ConNecteD to a voIP gatewAy. HOwever, A faCSimile MachinE and a MoDem MAY furtHER bE coNnEcted to the PUBliC telePhOne nEtwork. THere was no prior art tEChnIque which woulD coPe wiTH HoW to COnTRol ThE ConNECtion in case wherE a VoIP gateWaY, A fAcsimile maCHinE aNd a modeM are conNecteD To a publIc telephoNe network.
at PresENT, orDinary telePhones anD IP phones COexisT. beCause One Of an orDiNarY telePhone aND IP Phone Is used In The locAl areA aNd one of tHe ordinary telephone and Ip phone Is useD on The talkinG paRTy sIde, there aRe foUr kinds of cOnnEctIons pOssIBle. HoWeveR, ThEre WAs no pRior ARt techniqUE wHicH WOuLd cope with aLL OF thE four KinDS of conNectIons.
In case that a usER owns an IP phone, It is LIKelY thAT theRe Is a growing demaNd oF rECEiving noT oNly a call for The IP phoNe BUt alsO a call For an oRdinary TELePHone by UsinG thE IP phone. OIl aNd NAtural gAs WeLLs ofteN utiLiZe wellBore coMPoneNTS or tools that, due tO theiR FUnctiON, arE
 a calling tone CNG from a  communica tionsta tio nside  (an  other end oft he l ine) or an off-hooking  on o wn stat i on  side  is wai t ed w hil eri ngi ng aquasi  ri ngbacktone until  apr edeterminedt im e elapsesaft er closing o f a  line. 
I f t h e cal lin g ton e CNGi s firs tly detec te d  in th e  predet e r mi nedtime, a sequencea ss o ciated with apredet er m in e d  ca lle d terminal  i denti f ication si g n a l C E D, digital id entificatio n  si gnal D IS  an d  digit al co mm a ndsignal DCSforfacsimile  recep t ion iss tartedand if  of f-h ooki n gis  fi rs t lyd et ect e d i n the pr ed et ermin ed t i m e ,  tal kin g st arts.  On the other  ha nd,i f n eithe r the  cal li ng to ne CNG  norof f-hooking is de tect ed in the  pr ed ete rm inedt ime, t heseq uence a ssociat e d w it h t he  predetermined cal le d te rminal i dentif i ca ti o n signal  C ED,  dig i t al id enti f ic ation si gnal D I San d digit al  comma nd  si gna l DCS forfacsim ile rece ption is started.
In the invention di s c lo s ed i n P atent Docum ent4 , WA N te l ep hon e  comm unica ti o no ver the Internet is  g eneral ly pe rformed and t he WAN tel e p h one comm unic a ti o n is switchedto th e mode usi n g a publ ic te lephoneline when t he quali tyofthe  WA N te lephone commu n i cati on  is deg rad ed.
The  in ven tio n d is closed in  PatentDo cu me nt  5relat e s to a V oI P g at ewa y tha t  is us ed in  the  a fo r eme ntioned WA N tele ph on e co mmu ni catio n ov e r t he Inte rnet.
The  in v enti on  d isclose d in Patent D oc ument 6 ca nens ure th a t  a recei ved call from an outsid e  line i s t ransf erre d to an e xis ting e xte n sion t elepho ne ne tw ork a nd ne t w or k s im ultaneousl y use d and  c an p ermit a  response to a tel e pho ne call fromanouts i d elin e  r e cei ve d  ev e n  when a failure  occurs.
I na  l ocal areat ele ph one com municat ion o v er theInternet,  a public  t elep h o nenetwork is  connect ed to a V o IP ga t ew ay. H owe ver, a  f acs imile  machi n e a nd amodemma y furt her b econnecte d to the public telepho ne net work.  Th ere was n o p r ior  art tech niqu e which wo uld  co pe wi thh ow to  con t ro l t h e con nect i on in cas e  w her e aVoIP gatewa y , a f acsim ile machin e an d a modem are con n ected to a pub lict e lep hon e  net wo rk.
At present , o rd i n ary tele ph ones and IP  phonesco e xist.  Becau se one  of ano r di n ary te leph one  and IP p hon ei s usedin  t h e loca l ar ea  and o ne oft he o r d inary telephoneand I P phone isusedon  the ta l king  party sid e, there ar e four  kin ds of  connec ti ons po ssi bl e. However ,  there wa s noprior a rt  tec hni que wh ichw o uld c opewi thall of th e fo u rki n dsof c onnec ti ons. 
In caset hat a us ero wns anIP  ph o n e, iti sl i kely thatthe re is a  growing d e mand of recei ving n ot onl y a cal l  fo rthe IPpho n e  but also  a call f o r a nordi nary tel ep hone  b y u si ng the IP phone . Oil an d natura l gas we lls ofte n  utili ze  wellbore co mpone nt s  or too l s  th at, due tothe irfunc tio n, a r e
 a_calling tone_CNG from a communication_station side_(an_other end_of_the line) or_an off-hooking on_own station side is_waited while ringing_a_quasi ringback tone until a predetermined time elapses after closing of a line.
If the_calling_tone CNG_is_firstly_detected in the predetermined time,_a sequence associated with a_predetermined called_terminal identification signal CED, digital identification signal DIS_and_digital command signal_DCS for facsimile reception is started and if off-hooking_is firstly detected in the predetermined_time, talking starts._On_the_other hand, if neither_the calling tone CNG nor off-hooking_is detected in the predetermined time,_the sequence associated with the predetermined called_terminal identification signal CED, digital identification_signal DIS and digital command_signal DCS_for facsimile reception is started.
In_the invention disclosed_in Patent_Document 4, WAN_telephone communication over the Internet is_generally performed and_the WAN telephone communication is switched_to_the mode using_a_public_telephone line_when the quality_of_the WAN_telephone_communication is degraded.
The invention disclosed in_Patent_Document 5 relates to a VoIP gateway_that is used in_the_aforementioned WAN telephone communication_over the Internet.
The invention disclosed_in Patent Document 6 can ensure_that a_received call_from an outside line is transferred to an existing extension telephone_network and network simultaneously used and_can permit a response_to a_telephone_call from an_outside_line received_even when a failure occurs.
In a local_area telephone_communication over the Internet, a public_telephone network is connected_to_a VoIP gateway. However, a facsimile_machine and a modem may further_be connected to the public_telephone_network._There was no prior art_technique which would cope with how_to control the_connection in case where a VoIP gateway,_a_facsimile machine and a modem are_connected_to a public telephone network.
At present,_ordinary_telephones_and IP phones coexist. Because_one of an ordinary telephone and_IP phone is used in the local area and_one of the_ordinary telephone and IP phone_is_used_on the talking party side, there are four kinds of_connections possible._However, there was_no prior art technique which would cope with all of_the four kinds of connections.
In case that_a user owns an IP phone, it is likely that there_is a growing demand of receiving not only_a call for the IP phone but_also a call for_an_ordinary telephone by using the IP phone._Oil_and_natural_gas wells often_utilize wellbore components_or tools that,_due to_their function, are