Commit a20f9c8a authored by rennoch's avatar rennoch
Browse files

PSTN progress indicator #6(originating access ISDN)

parent dddeb0ec
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -3002,7 +3002,7 @@ module SipIsup_IMS_TCFunctions {
					f_awaitingINVITE(mw_INVITE_Request_IMS(*,*,*,*));
					//Check message body : PSTN XML progress indicator #6(originating access ISDN)
					if (not (match(vc_pstnTransit_remote.ProgressIndicator[0],
								mw_ProgressIndicatorType(?,{bit2str('0000110'B)}))))
								mw_ProgressIndicatorType(?,{bit2str(c_PI_6)}))))
						{log("unexpected progress indicator"); setverdict (fail);}
					
					f_sendResponse(m_Response_18XonINVITE(c_statusLine180,vc_callId, vc_cSeq,vc_caller_From, vc_caller_To, vc_via,vc_contact));
@@ -3042,12 +3042,12 @@ module SipIsup_IMS_TCFunctions {
					f_awaitingINVITE(mw_INVITE_Request_IMS(*,*,*,*));
					//Check message body : PSTN XML progress indicator #6(originating access ISDN)
					if (not (match(vc_pstnTransit_remote.ProgressIndicator,
								{mw_ProgressIndicatorType(?,{bit2str('0000110'B)}),
								{mw_ProgressIndicatorType(?,{bit2str(c_PI_6)}),
								 mw_ProgressIndicatorType(?,{bit2str(PX_ProgressIndicator)})}						 
							 ) or							 
							match(vc_pstnTransit_remote.ProgressIndicator,
									{mw_ProgressIndicatorType(?,{bit2str(PX_ProgressIndicator)}),
									 mw_ProgressIndicatorType(?,{bit2str('0000110'B)})}						 
									 mw_ProgressIndicatorType(?,{bit2str(c_PI_6)})}						 
						)   )	 )
						{log("unexpected progress indicator"); setverdict (fail);}
					
+6 −0
Original line number Diff line number Diff line
@@ -922,6 +922,12 @@ const Bit7 c_PI_3 := '0000011'B;

/* Value 'Interworking has occurred and has resulted in a telecommunication service change' of bit field element 'Progress description' in ISDN IE 'Progress Indicator' */
const Bit7 c_PI_5 := '0000101'B;

/* Value 'originating access ISDN' of bit field element 'Progress description' in ISDN IE 'Progress Indicator' */
const Bit7 c_PI_6 := '0000110'B;

/* Value 'In-band information or an appropriate pattern is now available' of bit field element 'Progress description' in ISDN IE 'Progress Indicator' */
const Bit7 c_PI_8 := '0001000'B;
} /* end group Constants */

group Functions {