0目录1.基本呼叫流程2.智能业务流程1移动呼叫流程(局内)BSC-OMSCeMGWHLRBSC-T1.CMServiceRequest4.LOCREQ5.locreq6.PagingRequest2.AddRequest7.Pagingesponse3.AddReply8.AssignmentRequest9.AssignmentComplete16.CONNECT13.AssignmentComplete14.ModifyRequest15.ModifyReply12.AssignmentRequest10.AddRequest11.AddReply17.ModifyRequest18.ModifyReplyConversation19.ModifyRequest20.ModifyReply2Conversation21.ClearRequest22SubtractRequest23SubtractReply24.ClearCommand27.SubtractRequest29.SubtractReply25.ClearComplete26.ClearCommand28.ClearComplete..BSC-OMSCeMGWHLRBSC-T移动呼叫流程(局内)3移动呼叫流程(局间)BSCMSCe-OMGW-OHLRMSCe-TMGW-TBSCCMServiceRequestLOCREQROUTREQroutreqlocreqAddRequestAddReplyAssignmentRequestAddRequestAddReplyAssignmentCompleteINVITE100PagingRequestPagingResponse180PRACKfor180200forPRACKCONNECTModifyRequestModifyReplyNotifyReplyNotifyRequestNotifyReplyAddRequestAddReplyAddRequestAddReplyAssignmentRequestAssignmentCompleteNotifyRequestModifyRequestModifyReplyModifyRequestModifyReply4移动呼叫流程(局间)BSCMSCe-OMGW-OHLRMSCe-TMGW-TBSCCONNECT200forINVITEACKfor200ClearRequestBYESubtractRequestSubtractReply200forBYEClearCommandClearCompleteModifyRequestModifyReplySubtractRequestSubtractReplySubtractRequestSubtractReplyClearCommandClearCompleteSubtractRequestSubtractReplyModifyRequestModifyReplyConversation5早前转MSCVLR始发系统abcdefhg始呼LOCREQ(DGTDIAL)HLRMSCROUTREQ(MIN)ROUTREQ(MIN)routreq(ACCDEN=Busy)进行呼叫前转routreq(ACCDEN=Busy)locreq(TERMLIST,REDIND)早前转的场景:无条件前转遇忙前转(含隐含前转)无应答前转(含隐含前转)激活了免打扰业务;移动台没有登记;移动台去活;没有激活呼叫传递。6始发系统MSCVLRabcdefhg始呼LOCREQ(DGTDIAL)HLRMSCROUTREQ(MIN)ROUTREQ(MIN)routreq(TLDN)ij呼叫建立routreq(TLDN)locreq(TERMLIST,REDIND)k移动台变忙REDREQ(REDREASON=Busy)lmnoredreqTRANUMREQ(REDREASON=Busy)tranumreq(TERMLIST,REDIND)呼叫释放呼叫前转晚前转晚前转的场景遇忙前转(含隐含前转)呼叫冲突时无应答前转(含隐含前转)MS对寻呼消息未作出响应MS或用户对振铃信号没有响应对呼叫等待通知用户没有响应789101112目录1.基本呼叫流程2.智能业务流程13WIN网络参考模型SCPHLRMSC/VLRIPSCPT1T2T3T8T52392390623608/23714WIN消息和触发器主叫信令流程:Origination_Attempt_Authorized—始发申请Calling_Routing_Address_Available—分析信息O_Answer----主叫应答O_Disconnect----主叫拆线被叫信令流程:Initial_Termination—分析信息Location—位置申请Called_Routing_Address_Available—分析信息T_Answer—被叫应答T_Disconnect—被叫拆线15regnot触发器列表triggerAddressListDestinationAddress,SCP地址WIN_TriggerListTDP-RTriggerType36,Origination_Attempt_Authorized,37,Calling_Routing_Address_Available,41,O_Disconnect70,T_DisconnectTDP-NTriggerType40,O_Answer69,T_Answer登记,插入触发器列表16triggerAddressListDestinationAddressSCP地址WIN_TriggerListTDP-RTriggerType38,Initial_Termination、39,Called_Routing_Address_Available70,T_DisconnectTDP-NTriggerType69,T_AnswerDestinationAddressHLR地址WIN_TriggerListTDP-RTriggerType34,Locationlocreq触发器列表做被叫,插入触发器列表17ROUTREQ触发器列表triggerAddressListDestinationAddress,SCP地址WIN_TriggerListTDP-RTriggerType70,T_DisconnectTDP-NTriggerType69,T_Answer做被叫,插入触发器列表18WIN主叫流程MSCSCPOdisconnect[]anylzd[]ANLYZD[MSCID,TRANSCAP,WINCAP,MSID,MDN,BILLID,DGTSDIAL,DESTDGT,TRIGTYPE,TOD,TDO]OANSWER[MSCID,MSID,BILLID,TRIGTYPE,TOD,TDO]ODISCONNECT[MSCID,MSID,BILLID,TRIGTYPE,RELCAUSE,TOD,TDO]orreq[DMH_SVCID]ORREQ[MSCID,MSID,MDN,BILLID,DGTSDIAL,TRIGTYPE]Q+PQ+PQ+PRESRESRESUNIORREQ重要参数•MSCID:主叫所在服务MSC的MSCID值,在主叫话单中要填对应的区号,表示漫游地位置•BILLINGID:此次呼叫消息流程的标志,一次呼叫中主叫流程billingID是唯一的,它是由mscid+3个字节随机数组成•digits(Dialed):表示用户所拨的号码•主叫号码:不带86的移动号码•MIN/ESN/MDN:MDN带86的移动号码•LocationAreaID/ServingCellID:边界漂移用19MSCSCPtdisconnect[DMH_SVCID]IAManylzd[]ANLYZD[MSCID,MSID,MDN,BILLID,RoutingInfo,REDIND,TRIGTYPE,TOD,TDO]TANSWER[MSCID,MSID,BILLID,TRIGTYPE,TOD,TDO]TDISCONNECT[MSCID,MSID,BILLID,TRIGTYPE,RELCAUSE,TOD,TDO]anylzd[DMH_SVCID]ANLYZD[MSCID,BILLID,DGTSDIAL,MSID,TRIGTYPE]locreqLOCREQGMSCHLRlocreqLOCREQQ+PQ+PQ+PRESRESRESUNIWIN被叫流程ANLYZD重要参数MSCID:始发MSC/GMSC的MSCID值,在被叫话单中要填对应的区号,表示主叫实际位置BILLINGID:此次呼叫消息流程的标志,一次呼叫中主叫流程billingID是唯一的,它是由mscid+3个字节随机数组成digits(Dialed):为收到的被叫号码主叫号码:不带86的移动号码MIN/ESN/MDN:MDN带86的移动号码20SEARCH消息MSC/SSPSCPHLRORREQ[MSCID,MSID,MDN,BILLID,DGTSDIAL,TRIGTYPE]orreq[DMH_SVCID]ANLYZD[MSCID,TRANSCAP,WINCAP,MSID,MDN,BILLID,DGTSDIAL,RoutingInfo,TRIGTYPE,TOD,TDO]SEARCH[SDAEL,DATAKEY]search[SDAEL]CCDIR[MSCID,MSID,BILLID]ccdir/RETURNERRORanlyzd[]被叫忙、无应答SERACH消息的用途如被叫也是C网用户,SCP会根据被叫MDN号码向被叫HLR发SEARCH消息,被叫归属HLR在searchres响应消息中会将被叫漫游地的mscid带回来,这样就获得被叫当前的位置信息,SCP可以根据主被叫的当前位置实现精确计费,即实现同城特例SEARCH重要参数DatabaseKey:填被叫用户的MDNServiceDataAccessElementList:DataID填写被叫用户的服务MSCIDsearch重要参数ServiceDataAccessElementListDataID:被叫用户的服务MSCIDDataValue:被叫用户的服务MSCID的值21CCDIR消息MSC/SSPSCPHLRORREQ[MSCID,MSID,MDN,BILLID,DGTSDIAL,TRIGTYPE]orreq[DMH_SVCID]ANLYZD[MSCID,TRANSCAP,WINCAP,MSID,MDN,BILLID,DGTSDIAL,RoutingInfo,TRIGTYPE,TOD,TDO]SEARCH[SDAEL,DATAKEY]search[SDAEL]CCDIR[MSCID,MSID,BILLID]ccdir/RETURNERRORanlyzd[]被叫忙、无应答CCDIR消息的用途相当于INAP中的ActiveTest,由SCP发起,检测MSC的业务进程是否还存活周期:在ANSWER之前,约20秒;在ANSWER之后,约12分钟发送对象:主叫流程给始发MSC;被叫流程在ANSWER之前,给始发MSC/GMSC;在ANSWER之后,给被叫服务MSC被叫GT:主叫流程从ORREQ中提取;被叫流程在ANSWER之前,从ANLYZD(38触发器)中提取;在ANSWER之后,从OANSWER中提取CCDIR消息的使用MSC:如业务呼叫还在,返回空的result;如业务呼叫已释放,返回errorSCP:收到result,无动作;收到error,结束业务进程、释放资源,同时以OANSWER或TANSWER携带的TOD/TDO时间作为呼叫起始时间,以收到error的系统时间作为呼叫结束时间,产生话单