{"id":272,"date":"2017-08-20T22:00:19","date_gmt":"2017-08-20T20:00:19","guid":{"rendered":"https:\/\/asdw.de\/?p=272\/"},"modified":"2017-08-20T22:00:19","modified_gmt":"2017-08-20T20:00:19","slug":"phone-call-via-skype-zoiper-in-scriptcase-project","status":"publish","type":"post","link":"https:\/\/asdw.de\/en\/phone-call-via-skype-zoiper-in-scriptcase-project\/","title":{"rendered":"Phone call via Skype \/ Zoiper in Scriptcase project"},"content":{"rendered":"<h2>Call a phone number from within a Scriptcase-Form<\/h2>\n<p>It&#8217;s a simple solution to call a phone number in a Scriptcase project using\u00a0<a href=\"http:\/\/www.skype.com\" target=\"_blank\" rel=\"noopener\">Skype<\/a>\u00a0oder\u00a0<a href=\"http:\/\/www.zoiper.com\/en\" target=\"_blank\" rel=\"noopener\">Zoiper<\/a>\u00a0(free client for IP phone) to show a link on a Form- or Grid-application. If the user clicks onto the link using his PC or smartphone, Skype (or Zoiper) will be startet and call that phone number<\/p>\n<p>1. Create a new field &#8216;call_skype&#8217; and set the property &#8216;Label Field&#8217; to YES.<\/p>\n<p><a href=\"https:\/\/asdw.de\/wp-content\/uploads\/2017\/08\/scriptcase_call_skype_1.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-263\" src=\"https:\/\/asdw.de\/wp-content\/uploads\/2017\/08\/scriptcase_call_skype_1.jpg\" alt=\"Feld call_skype in Form erstellen und als Label setzen\" width=\"665\" height=\"572\" srcset=\"https:\/\/asdw.de\/wp-content\/uploads\/2017\/08\/scriptcase_call_skype_1.jpg 665w, https:\/\/asdw.de\/wp-content\/uploads\/2017\/08\/scriptcase_call_skype_1-300x258.jpg 300w, https:\/\/asdw.de\/wp-content\/uploads\/2017\/08\/scriptcase_call_skype_1-600x516.jpg 600w, https:\/\/asdw.de\/wp-content\/uploads\/2017\/08\/scriptcase_call_skype_1-100x86.jpg 100w, https:\/\/asdw.de\/wp-content\/uploads\/2017\/08\/scriptcase_call_skype_1-150x129.jpg 150w, https:\/\/asdw.de\/wp-content\/uploads\/2017\/08\/scriptcase_call_skype_1-200x172.jpg 200w, https:\/\/asdw.de\/wp-content\/uploads\/2017\/08\/scriptcase_call_skype_1-450x387.jpg 450w\" sizes=\"(max-width: 665px) 100vw, 665px\" \/><\/a><\/p>\n<p>2a. Set the content of the field &#8216;call_skype&#8217; in the load event of the form. In this samle we&#8217;re using the content of the field &#8216;phone number&#8217;.:<\/p>\n<pre style=\"padding-left: 30px;\" class=\"\">{call_skype} = \"&lt;a href='skype:\".$t_call_phone.\"'&gt;\".{phone_number}.\"&lt;\/a&gt;\";<\/pre>\n<p>2b. The field &#8216;call_skype&#8217; could also be set using an Ajax-Event when entering a new number in the field &#8216;phone_number&#8217;:<\/p>\n<p>Ajax Event (phone_number_onChange):<\/p>\n<pre style=\"text-align: left; padding-left: 30px;\" class=\"\">{call_skype} = \"&lt;a href='skype:\".$t_call_phone.\"'&gt;\".{phone_number}.\"&lt;\/a&gt;\";\r\n<\/pre>\n<p>Sample:<\/p>\n<p><a href=\"https:\/\/asdw.de\/wp-content\/uploads\/2017\/08\/scriptcase_call_skype_2.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-265\" src=\"https:\/\/asdw.de\/wp-content\/uploads\/2017\/08\/scriptcase_call_skype_2.jpg\" alt=\"Telefonanruf aus Scriptcase Anwendung\" width=\"873\" height=\"84\" srcset=\"https:\/\/asdw.de\/wp-content\/uploads\/2017\/08\/scriptcase_call_skype_2.jpg 873w, https:\/\/asdw.de\/wp-content\/uploads\/2017\/08\/scriptcase_call_skype_2-300x29.jpg 300w, https:\/\/asdw.de\/wp-content\/uploads\/2017\/08\/scriptcase_call_skype_2-768x74.jpg 768w, https:\/\/asdw.de\/wp-content\/uploads\/2017\/08\/scriptcase_call_skype_2-600x58.jpg 600w, https:\/\/asdw.de\/wp-content\/uploads\/2017\/08\/scriptcase_call_skype_2-100x10.jpg 100w, https:\/\/asdw.de\/wp-content\/uploads\/2017\/08\/scriptcase_call_skype_2-150x14.jpg 150w, https:\/\/asdw.de\/wp-content\/uploads\/2017\/08\/scriptcase_call_skype_2-200x19.jpg 200w, https:\/\/asdw.de\/wp-content\/uploads\/2017\/08\/scriptcase_call_skype_2-450x43.jpg 450w\" sizes=\"(max-width: 873px) 100vw, 873px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Call a phone number from within a Scriptcase-Form It&#8217;s a simple solution to call a phone number in a Scriptcase project using\u00a0Skype\u00a0oder\u00a0Zoiper\u00a0(free client for IP phone) to show a link on a Form- or Grid-application. If the user clicks onto<span class=\"ellipsis\">&hellip;<\/span><\/p>\n<div class=\"read-more\"><a href=\"https:\/\/asdw.de\/en\/phone-call-via-skype-zoiper-in-scriptcase-project\/\">Read more &#8250;<\/a><\/div>\n<p><!-- end of .read-more --><\/p>\n","protected":false},"author":2,"featured_media":270,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[55],"tags":[57,71],"_links":{"self":[{"href":"https:\/\/asdw.de\/en\/wp-json\/wp\/v2\/posts\/272"}],"collection":[{"href":"https:\/\/asdw.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/asdw.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/asdw.de\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/asdw.de\/en\/wp-json\/wp\/v2\/comments?post=272"}],"version-history":[{"count":1,"href":"https:\/\/asdw.de\/en\/wp-json\/wp\/v2\/posts\/272\/revisions"}],"predecessor-version":[{"id":273,"href":"https:\/\/asdw.de\/en\/wp-json\/wp\/v2\/posts\/272\/revisions\/273"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/asdw.de\/en\/wp-json\/wp\/v2\/media\/270"}],"wp:attachment":[{"href":"https:\/\/asdw.de\/en\/wp-json\/wp\/v2\/media?parent=272"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/asdw.de\/en\/wp-json\/wp\/v2\/categories?post=272"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/asdw.de\/en\/wp-json\/wp\/v2\/tags?post=272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}