Commit 6a7ab123 authored by Michael Proestler's avatar Michael Proestler
Browse files

Testcase Verification

Fix issue with content-type in multipart-mime
parent ceb1725b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -144,7 +144,7 @@ int sip_codec_message_body::encode_message_body(const LibSip__MessageBodyTypes::
          loggers::get_instance().warning("sip_codec_message_body::encode_message_body: Failed to set XML body content-type");
          loggers::get_instance().warning("sip_codec_message_body::encode_message_body: Failed to set XML body content-type");
          return -1;
          return -1;
        }
        }
        ::osip_body_set_contenttype(body, "application/resource-lists+xml");
        ::osip_body_set_contenttype(body, "application/pidf+xml");
      } else if (ps.ischosen(LibSip__MessageBodyTypes::MIME__Encapsulated__Parts::ALT_msdBody)) {
      } else if (ps.ischosen(LibSip__MessageBodyTypes::MIME__Encapsulated__Parts::ALT_msdBody)) {
        loggers::get_instance().warning("sip_codec_message_body::encode_message_body: Unsupported decoding of ALT_msdBody");
        loggers::get_instance().warning("sip_codec_message_body::encode_message_body: Unsupported decoding of ALT_msdBody");
      } else {
      } else {
+15 −0
Original line number Original line Diff line number Diff line
@@ -15,6 +15,21 @@ PX_SIP_REGISTRATION := true
# ATS Configuration
# ATS Configuration
PX_ESINET_TS_SUBSCRIBER_PORT := 5080              # SIP Port of the ATS
PX_ESINET_TS_SUBSCRIBER_PORT := 5080              # SIP Port of the ATS
PX_ESINET_TS_SUBSCRIBER_IPADDR := "127.0.0.1"       # IP Address of the ATS
PX_ESINET_TS_SUBSCRIBER_IPADDR := "127.0.0.1"       # IP Address of the ATS
PX_ESINET_TS_UPSTREAM_PORT := 5080
PX_ESINET_TS_UPSTREAM_IPADDR := "127.0.0.1"

# Caller
PX_IMS_SUT_UE1_HOME_DOMAIN := "esinet.io";
PX_IMS_SUT_UE1_PUBLIC_USER := "caller";

# Emergency Queue
PX_IMS_SUT_EMERGENCY_SERVICE := "112"
PX_IMS_SUT_EMERGENCY_HOME_DOMAIN := "esinet.io"

# SUT Configuration
PX_SUT_ESRP_SIP_PORT := 5060
PX_SUT_ESRP_SIP_IPADDR := "127.0.0.1"
PX_SUT_ESRP_SIP_HOME_DOMAIN := "esinet.io"


[LOGGING]
[LOGGING]
# In this section you can specify the name of the log file and the classes of events
# In this section you can specify the name of the log file and the classes of events
+2 −0
Original line number Original line Diff line number Diff line
rm -f *.log
sipp -t t1 -trace_msg -m 1 -sf Scenario.xml
 No newline at end of file
+2 −0
Original line number Original line Diff line number Diff line
rm -f *.log
sipp -t t1 -trace_msg -m 1 -sf Scenario.xml
 No newline at end of file
+4 −4
Original line number Original line Diff line number Diff line
@@ -1536,7 +1536,7 @@ module AtsESRP_TestCases {
      // Test control
      // Test control


      // Test component configuration
      // Test component configuration
      f_init_userprofile(c_userProfile_UE1atSUThome);
      f_init_userprofile(c_userProfile_ESINetUpstreamElement);
      f_initSipUrl(c_userProfile_UE1atSUThome);
      f_initSipUrl(c_userProfile_UE1atSUThome);
      f_init_interfaceprofile(c_interfaceProfile_IMS_SUT_PCSCF1);
      f_init_interfaceprofile(c_interfaceProfile_IMS_SUT_PCSCF1);


@@ -1557,7 +1557,7 @@ module AtsESRP_TestCases {
                                              vc_contact,
                                              vc_contact,
                                              m_Require_100rel,
                                              m_Require_100rel,
                                              m_route(
                                              m_route(
                                                      { m_routeBody_currIpAddr_1("esrp1.unify.plugtests.net") }
                                                      { m_routeBody_currIpAddr_1(PX_SUT_ESRP_SIP_IPADDR,PX_SUT_ESRP_SIP_PORT) }
                                                      ),
                                                      ),
                                              -,
                                              -,
                                              m_Supported_100rel,
                                              m_Supported_100rel,
@@ -1631,7 +1631,7 @@ module AtsESRP_TestCases {
                                              vc_contact,
                                              vc_contact,
                                              m_Require_100rel,
                                              m_Require_100rel,
                                              m_route(
                                              m_route(
                                                      { m_routeBody_currIpAddr_1("esrp1.unify.plugtests.net") }
                                                      { m_routeBody_currIpAddr_1(PX_SUT_ESRP_SIP_IPADDR,PX_SUT_ESRP_SIP_PORT) }
                                                      ),
                                                      ),
                                              -,
                                              -,
                                              m_Supported_100rel,
                                              m_Supported_100rel,
@@ -1688,7 +1688,7 @@ module AtsESRP_TestCases {
                                              vc_contact,
                                              vc_contact,
                                              m_Require_100rel,
                                              m_Require_100rel,
                                              m_route(
                                              m_route(
                                                      { m_routeBody_currIpAddr_1("esrp1.unify.plugtests.net") }
                                                      { m_routeBody_currIpAddr_1(PX_SUT_ESRP_SIP_IPADDR,PX_SUT_ESRP_SIP_PORT) }
                                                      ),
                                                      ),
                                              -,
                                              -,
                                              m_Supported_100rel,
                                              m_Supported_100rel,
Loading