Q.850到SIP 的代码转换表

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

ThedefaultcodeisNORMAL_CLEARING(ifyoudonotspecifyone)Thecodesaredocumentedinsrc/switch_channel.candSIPProtocolMessagesIEstandsforInformationElementQ.850toSIPCodeTableThefollowingtabledescribesthemappingsimplementedbyFreeSwitch(seemod_sofia.c:hangup_cause_to_sip).Unspecifiedcausescodes(novalueintheSIPEquiv.columninthetable)aretranslatedtoSIP480TemporarilyUnavailablebyFreeSwitch.Thetablealsocontainsnon-standardcodesabove127(ISUPandISDNonlyspecifycodesupto127).ThesecodesareusedinternallytoFreeSwitchtoindicateotherstates.(ThesecodesdonotmapdirectlytoSIPerrorcodeseither.)ThecompletelistofSWITCH_CAUSE_codes(switch_call_cause_t)isdefinedininclude/switch_types.h.SeeITU-TQ.850standardforaformaldefinitionofstandardtelephonydisconnectcausecodesforISDN,andthemappingbetweenQ.931(DSSS1)andISUPcodes.SeeITUQ.1912.5foraformaldefinitionofinteroperabilitybetweenISUPandSIP,especiallysection6.11whichspecifiestheReasonheaderandgivesthemappingofthedisconnectcausecodesbetweenISUPandSIP.AnothersetofmappingsaretheQ.SIG/SIPmappingsfromRFC4497section8.4.1.(Q.SIGisoneofmanyextensionstoQ.931usedforPBX-to-PBXsignallingonprivatelinks.)InpracticeitappearsthatFreeSwitchimplementsneitherQ.1912.5norRFC4497.ITU-TQ.850CodeSIPEquiv.EnumerationCauseDescription0UNSPECIFIEDUnspecified.Noothercausecodesapplicable.Thisisusuallygivenbytherouterwhennoneoftheothercodesapply.Thiscauseusuallyoccursinthesametypeofsituationsascause1,cause88,andcause100.1404UNALLOCATED_NUMBERUnallocated(unassigned)number[Q.850value1]Thiscauseindicatesthatthecalledpartycannotbereachedbecause,althoughthecalledpartynumberisinavalidformat,itisnotcurrentlyallocated(assigned).2404NO_ROUTE_TRANSIT_NETHangup_CausesQ.850toSIPCodeTable1Noroutetospecifiedtransitnetwork(nationaluse)[Q.850]Thiscauseindicatesthattheequipmentsendingthiscausehasreceivedarequesttoroutethecallthroughaparticulartransitnetwork,whichitdoesnotrecognize.Theequipmentsendingthiscausedoesnotrecognizethetransitnetworkeitherbecausethetransitnetworkdoesnotexistorbecausethatparticulartransitnetwork,whileitdoesexist,doesnotservetheequipmentwhichissendingthiscause.3404NO_ROUTE_DESTINATIONNoroutetodestination[Q.850]Thiscauseindicatesthatthecalledpartycannotbereachedbecausethenetworkthroughwhichthecallhasbeenrouteddoesnotservethedestinationdesired.Thiscauseissupportedonanetworkdependentbasis.6CHANNEL_UNACCEPTABLEchannelunacceptable[Q.850]Thiscauseindicatesthatthechannelmostrecentlyidentifiedisnotacceptabletothesendingentityforuseinthiscall.7CALL_AWARDED_DELIVEREDcallawarded,beingdeliveredinanestablishedchannel[Q.850]Thiscauseindicatesthattheuserhasbeenawardedtheincomingcall,andthattheincomingcallisbeingconnectedtoachannelalreadyestablishedtothatuserforsimilarcalls(e.g.packet-modex.25virtualcalls).16NORMAL_CLEARINGnormalcallclearing[Q.850]Thiscauseindicatesthatthecallisbeingclearedbecauseoneoftheusersinvolvedinthecallhasrequestedthatthecallbecleared.Undernormalsituations,thesourceofthiscauseisnotthenetwork.17486USER_BUSYuserbusy[Q.850]ThiscauseisusedtoindicatethatthecalledpartyisunabletoacceptanothercallbecauseHangup_CausesQ.850toSIPCodeTable2theuserbusyconditionhasbeenencountered.Thiscausevaluemaybegeneratedbythecalleduserorbythenetwork.Inthecaseofuserdetermineduserbusyitisnotedthattheuserequipmentiscompatiblewiththecall.18408NO_USER_RESPONSEnouserresponding[Q.850]Thiscauseisusedwhenacalledpartydoesnotrespondtoacallestablishmentmessagewitheitheranalertingorconnectindicationwithintheprescribedperiodoftimeallocated.19480NO_ANSWERnoanswerfromuser(useralerted)[Q.850]Thiscauseisusedwhenthecalledpartyhasbeenalertedbutdoesnotrespondwithaconnectindicationwithinaprescribedperiodoftime.Note-ThiscauseisnotnecessarilygeneratedbyQ.931proceduresbutmaybegeneratedbyinternalnetworktimers.20480SUBSCRIBER_ABSENTsubscriberabsent[Q.850]Thiscausevalueisusedwhenamobilestationhasloggedoff,radiocontactisnotobtainedwithamobilestationorifapersonaltelecommunicationuseristemporarilynotaddressableatanyuser-networkinterface.SofiaSIPwillnormallyraiseUSER_NOT_REGISTEREDinsuchsituations.21603CALL_REJECTEDcallrejected[Q.850]Thiscauseindicatesthattheequipmentsendingthiscausedoesnotwishtoacceptthiscall,althoughitcouldhaveacceptedthecallbecausetheequipmentsendingthiscauseisneitherbusynorincompatible.Thenetworkmayalsogeneratethiscause,indicatingthatthecallwasclearedduetoaHangup_CausesQ.850toSIPCodeTable3supplementaryserviceconstraint.Thediagnosticfieldmaycontainadditionalinformationaboutthesupplementaryserviceandreasonforrejection.22410NUMBER_CHANGEDnumberchanged[Q.850]Thiscauseisreturnedtoacallingpartywhenthecalledpartynumberindicatedbythecallingpartyisnolongerassigned,Thenewcalledpartynumbermayoptionallybeincludedinthediagnosticfield.Ifanetworkdoesnotsupportthiscause,causeno:1,unallocated(unassigned)numbershallbeused.23410REDIRECTION_TO_NEW_DESTINATIONThiscauseisusedbyageneralISUPprotocolmechanismthatcanbeinvokedbyanexchangethatdecidesthatthecallshouldbeset-uptoadifferentcallednumber.Suchanexchangecaninvokearedirectionmechanism,byuseofthiscausevalue,torequestap

1 / 11
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功