From 9a945cb68ddb3ae37e0e4c160a5343c1c821c3ec Mon Sep 17 00:00:00 2001 From: Antonis Tsakiridis Date: Mon, 24 Aug 2015 16:22:53 +0300 Subject: [PATCH] Use Always On instead of separate dedicated instance. Trivial fixes --- .../RestCommClient/CliInterface/ssc_sip.cpp | 1 + .../Base.lproj/Main_iPad.storyboard | 37 ++++++++++++++----- .../Base.lproj/Main_iPhone.storyboard | 25 ++++++++++--- .../restcomm-helloworld/ViewController.mm | 16 ++++---- .../restcomm-messenger/CallViewController.h | 2 +- .../SettingsViewController.mm | 2 +- .../restcomm-messenger/ViewController.mm | 4 +- 7 files changed, 59 insertions(+), 28 deletions(-) diff --git a/RestCommClient/RestCommClient/CliInterface/ssc_sip.cpp b/RestCommClient/RestCommClient/CliInterface/ssc_sip.cpp index 4dd1938..30adf75 100644 --- a/RestCommClient/RestCommClient/CliInterface/ssc_sip.cpp +++ b/RestCommClient/RestCommClient/CliInterface/ssc_sip.cpp @@ -211,6 +211,7 @@ ssc_t *ssc_create(su_home_t *home, su_root_t *root, const ssc_conf_t *conf, cons contact = conf->ssc_contact; else contact = "sip:*:5090;transport=tcp"; + //contact = "sip:*:5090;transport=tcp"; /* step: launch the SIP stack */ ssc->ssc_nua = nua_create(root, diff --git a/Samples/restcomm-helloworld/restcomm-helloworld/Base.lproj/Main_iPad.storyboard b/Samples/restcomm-helloworld/restcomm-helloworld/Base.lproj/Main_iPad.storyboard index f7c9e6e..afe0133 100644 --- a/Samples/restcomm-helloworld/restcomm-helloworld/Base.lproj/Main_iPad.storyboard +++ b/Samples/restcomm-helloworld/restcomm-helloworld/Base.lproj/Main_iPad.storyboard @@ -1,8 +1,9 @@ - + - + + @@ -17,28 +18,44 @@ - - + + + + + + diff --git a/Samples/restcomm-helloworld/restcomm-helloworld/Base.lproj/Main_iPhone.storyboard b/Samples/restcomm-helloworld/restcomm-helloworld/Base.lproj/Main_iPhone.storyboard index a143bff..8af5637 100644 --- a/Samples/restcomm-helloworld/restcomm-helloworld/Base.lproj/Main_iPhone.storyboard +++ b/Samples/restcomm-helloworld/restcomm-helloworld/Base.lproj/Main_iPhone.storyboard @@ -1,8 +1,9 @@ - + - + + @@ -17,8 +18,13 @@ - -