<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Vyshakh Babji on Medium]]></title>
        <description><![CDATA[Stories by Vyshakh Babji on Medium]]></description>
        <link>https://medium.com/@vyshakh.babji?source=rss-d2b27ff4f9b0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*sPFPsjWgu6LwxtF_hpvphg.jpeg</url>
            <title>Stories by Vyshakh Babji on Medium</title>
            <link>https://medium.com/@vyshakh.babji?source=rss-d2b27ff4f9b0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 20:44:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vyshakh.babji/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Match the Ringout call in Call-log records]]></title>
            <link>https://medium.com/ringcentral-developers/match-the-ringout-call-in-call-log-records-bb53e9c1f20c?source=rss-d2b27ff4f9b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/bb53e9c1f20c</guid>
            <category><![CDATA[subscription]]></category>
            <category><![CDATA[ringcentral]]></category>
            <category><![CDATA[webhooks]]></category>
            <category><![CDATA[api]]></category>
            <dc:creator><![CDATA[Vyshakh Babji]]></dc:creator>
            <pubDate>Tue, 06 Aug 2019 19:31:01 GMT</pubDate>
            <atom:updated>2019-08-08T23:00:42.589Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/734/1*umqrUSFpmKNGNnj4ariy0g.png" /></figure><h3>Match the Ringout Call in Call-log records</h3><p>When you initiate a <a href="https://www.ringcentral.com/office/features/click-to-call/overview.html">Ringout</a> via Softphone or Click To Call using /ring-out API endpoint, it initiates 2 legs of the call. One of them is an inbound call to the “from” number and then a second leg to the “to” number. For more details on what Ringout is and how to start using it go <a href="https://medium.com/ringcentral-developers/ringcentral-ringout-5b18228ab2b7">here</a>.</p><p>For you to associate the Ringout calls to the call-log records, you will need to run Subscription with <em>/presence </em>event filter with query parameter <em>detailedTelephonyState=true. </em>To learn how to set up a subscription make sure to read these two articles: <a href="https://medium.com/ringcentral-developers/api-spotlight-presence-e9a725f2afa6">Article on Presence API</a> and <a href="https://medium.com/ringcentral-developers/common-questions-on-webhooks-8dd3550f4525">Article on WebHooks</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*PsybwG1ViuF-_c2_5mZ8IA.png" /></figure><h3>Below are the steps for matching <strong>Ringout</strong> calls in CallLog records:</h3><ol><li><strong>Initiate Subscription:</strong></li></ol><p>Run Subscription using WebHooks or Pubnub by subscribing to Presence Event Filter. This is how the response looks like when you do a post to subscription for Pubnub:</p><p><strong>Request:</strong></p><pre>POST <a href="https://platform.ringcentral.com/restapi/v1.0/subscription">https://platform.ringcentral.com/restapi/v1.0/subscription</a></pre><pre>{<br>  &quot;eventFilters&quot;: [<br>    &quot;/restapi/v1.0/account/~/extension/~/presence?detailedTelephonyState=true&quot;<br>  ],<br>  &quot;deliveryMode&quot;: {<br>    &quot;transportType&quot;: &quot;PubNub&quot;,<br>    &quot;encryption&quot;: &quot;true&quot;<br>  }<br>}</pre><p><strong>Response:</strong></p><pre>{<br>  &quot;uri&quot;: &quot;<a href="https://platform.ringcentral.com/restapi/v1.0/subscription/fddc8b91-2a16-49da-97e8-e2334a8fe61f">https://platform.ringcentral.com/restapi/v1.0/subscription/fddc8b91-2a16-49da-97e8-e2334a8fe61f</a>&quot;,<br>  &quot;id&quot;: &quot;fddc8b91-2a16-49da-97e8-e2334a8fe61f&quot;,<br>  &quot;creationTime&quot;: &quot;2019-06-26T20:39:27.024Z&quot;,<br>  &quot;status&quot;: &quot;Active&quot;,<br>  &quot;eventFilters&quot;: [<br>    &quot;/restapi/v1.0/account/809646016/extension/809646016/presence?detailedTelephonyState=true&quot;<br>  ],<br>  &quot;expirationTime&quot;: &quot;2019-06-26T20:54:27.024Z&quot;,<br>  &quot;expiresIn&quot;: 899,<br>  &quot;deliveryMode&quot;: {<br>    &quot;transportType&quot;: &quot;PubNub&quot;,<br>    &quot;encryption&quot;: true,<br>    &quot;address&quot;: &quot;1087876542488493_abec10bc&quot;,<br>    &quot;subscriberKey&quot;: &quot;sub-c-b8b9cd8c-e906-11e2-b383-02ee2ddab7fe&quot;,<br>    &quot;encryptionAlgorithm&quot;: &quot;AES&quot;,<br>    &quot;encryptionKey&quot;: &quot;4NVeN/AxLM0/HQL5zFzYJQ==&quot;<br>  }<br>}</pre><p><strong>2. Initiate a Ringout:</strong></p><p>As I mentioned earlier in this post, Ringout is a 2 legged call. The first leg is an inbound call to “from” number and the second leg is an outbound call to “to” number.</p><p><strong>Request:</strong></p><pre>POST /restapi/v1.0/account/1133926004/extension/1133926004/ring-out  </pre><pre>{<br>  &quot;from&quot;: {<br>    &quot;phoneNumber&quot;: &quot;+17203861294*101&quot;<br>  },<br>  &quot;to&quot;: {<br>    &quot;phoneNumber&quot;: &quot;+16505154891&quot;<br>  },<br>  &quot;playPrompt&quot;: true<br>}</pre><p><strong>Response:</strong></p><pre>{<br>  &quot;uri&quot;: &quot;<a href="https://platform.ringcentral.com/restapi/v1.0/account/809646016/extension/809646016/ring-out/s-a931a3de3db64089ab075b6358074d30">https://platform.ringcentral.com/restapi/v1.0/account/809646016/extension/809646016/ring-out/s-a931a3de3db64089ab075b6358074d30</a>&quot;,<br>  &quot;id&quot;: &quot;s-a931a3de3db64089ab075b6358074d30&quot;,<br>  &quot;status&quot;: {<br>    &quot;callStatus&quot;: &quot;InProgress&quot;,<br>    &quot;callerStatus&quot;: &quot;InProgress&quot;,<br>    &quot;calleeStatus&quot;: &quot;InProgress&quot;<br>  }<br>}</pre><p><strong>3. Listen and Pick event notification that suits your use-case:</strong></p><p>For this example I decided to pick “telephonyStatus”: “CallConnected” for the notification method. You could also have picked “telephonyStatus”: “NoCall” as the notification method as well. You will find the sessionID for this Ringout call in this notification. You can add the sessionID to your database or a table to maintain all the necessary information from these notifications, which could be useful for call matching. As a best practice I suggest that you also keep track of “extensionId”, “timestamp”, “sessionId”, and “startTime” for each active call records from the notification.</p><pre>*************** SUBSCRIPTION NOTIFICATION: ****************<br>{<br>  &quot;uuid&quot;: &quot;2155205627849528355&quot;,<br>  &quot;event&quot;: &quot;/restapi/v1.0/account/809646016/extension/809646016/presence?detailedTelephonyState=true&quot;,<br>  &quot;timestamp&quot;: &quot;2019-06-26T20:49:15.035Z&quot;,<br>  &quot;subscriptionId&quot;: &quot;04b96d0a-bc80-4245-9fde-4017e7510a55&quot;,<br>  &quot;ownerId&quot;: &quot;809646016&quot;,<br>  &quot;body&quot;: {<br>    &quot;extensionId&quot;: 809646016,<br>    &quot;telephonyStatus&quot;: &quot;CallConnected&quot;,<br>    &quot;activeCalls&quot;: [<br>      {<br>        &quot;id&quot;: &quot;49fa405fc2b34fd2935cfdbad3db43c1&quot;,<br>        &quot;direction&quot;: &quot;Outbound&quot;,<br>        &quot;from&quot;: &quot;+16505154891&quot;,<br>        &quot;to&quot;: &quot;+17203861294&quot;,<br>        &quot;telephonyStatus&quot;: &quot;CallConnected&quot;,<br>        &quot;sessionId&quot;: &quot;235163626016&quot;,<br>        &quot;startTime&quot;: &quot;2019-06-26T20:49:04.715Z&quot;,<br>        &quot;partyId&quot;: &quot;p-7f23706e161647d3a6a36249b8772a2c-1&quot;,<br>        &quot;telephonySessionId&quot;: &quot;s-7f23706e161647d3a6a36249b8772a2c&quot;<br>      },<br>      {<br>        &quot;id&quot;: &quot;e3977faeb67f45dfa7be71f0196b73a3&quot;,<br>        &quot;direction&quot;: &quot;Inbound&quot;,<br>        &quot;fromName&quot;: &quot;Anonymous&quot;,<br>        &quot;from&quot;: &quot;anonymous&quot;,<br>        &quot;toName&quot;: &quot;TESTER Babji&quot;,<br>        &quot;to&quot;: &quot;101&quot;,<br>        &quot;telephonyStatus&quot;: &quot;CallConnected&quot;,<br>        &quot;sessionId&quot;: &quot;235163639016&quot;,<br>        &quot;startTime&quot;: &quot;2019-06-26T20:49:09.819Z&quot;,<br>        &quot;partyId&quot;: &quot;p-b39c26323c964190aea973a948ff5798-3&quot;,<br>        &quot;telephonySessionId&quot;: &quot;s-b39c26323c964190aea973a948ff5798&quot;<br>      }<br>    ],<br>    &quot;sequence&quot;: 1252,<br>    &quot;presenceStatus&quot;: &quot;Busy&quot;,<br>    &quot;userStatus&quot;: &quot;Available&quot;,<br>    &quot;dndStatus&quot;: &quot;TakeAllCalls&quot;,<br>    &quot;meetingStatus&quot;: &quot;Disconnected&quot;,<br>    &quot;message&quot;: &quot;This is s Test&quot;,<br>    &quot;allowSeeMyPresence&quot;: true,<br>    &quot;ringOnMonitoredCall&quot;: true,<br>    &quot;pickUpCallsOnHold&quot;: true,<br>    &quot;totalActiveCalls&quot;: 2<br>  }<br>}</pre><p><strong>4. Pull call-log and match the records:</strong></p><p>When you pull the call-records with detailed view, the records show the exact details of the call flow along with information on each leg of the call. You could match the active call records of the subscription notification to call-log records by matching the sessionIDs of the call. However, if you need all the information on each leg of the call, I would suggest you use the account-level call log.</p><p><strong>Request:</strong></p><pre>GET <a href="https://platform.ringcentral.com/restapi/v1.0/account/accountId/extension/extensionId/call-log">/restapi/v1.0/account/~/extension/~/call-log</a> </pre><p><strong>Response:</strong></p><pre>{<br>  &quot;uri&quot;: &quot;<a href="https://platform.ringcentral.com/restapi/v1.0/account/809646016/extension/809646016/call-log?view=Detailed&amp;page=1&amp;perPage=100">https://platform.ringcentral.com/restapi/v1.0/account/809646016/extension/809646016/call-log?view=Detailed&amp;page=1&amp;perPage=100</a>&quot;,<br>  &quot;records&quot;: [<br>    {<br>      &quot;uri&quot;: &quot;<a href="https://platform.ringcentral.com/restapi/v1.0/account/809646016/extension/809646016/call-log/E3PIkjJolHk_zUA?view=Detailed">https://platform.ringcentral.com/restapi/v1.0/account/809646016/extension/809646016/call-log/E3PIkjJolHk_zUA?view=Detailed</a>&quot;,<br>      &quot;id&quot;: &quot;E3PIkjJolHk_zUA&quot;,<br>      &quot;sessionId&quot;: &quot;235163626016&quot;,<br>      &quot;startTime&quot;: &quot;2019-06-26T20:49:04.907Z&quot;,<br>      &quot;duration&quot;: 20,<br>      &quot;type&quot;: &quot;Voice&quot;,<br>      &quot;direction&quot;: &quot;Outbound&quot;,<br>      &quot;action&quot;: &quot;RingOut PC&quot;,<br>      &quot;result&quot;: &quot;Call connected&quot;,<br>      &quot;to&quot;: {<br>        &quot;phoneNumber&quot;: &quot;+17203861294&quot;,<br>        &quot;extensionNumber&quot;: &quot;101&quot;,<br>        &quot;location&quot;: &quot;Georgetown, CO&quot;<br>      },<br>      &quot;from&quot;: {<br>        &quot;extensionId&quot;: &quot;809646016&quot;,<br>        &quot;name&quot;: &quot;TESTER Babji&quot;<br>      },<br>      &quot;extension&quot;: {<br>        &quot;uri&quot;: &quot;<a href="https://platform.ringcentral.com/restapi/v1.0/account/809646016/extension/809646016">https://platform.ringcentral.com/restapi/v1.0/account/809646016/extension/809646016</a>&quot;,<br>        &quot;id&quot;: 809646016<br>      },<br>      &quot;transport&quot;: &quot;PSTN&quot;,<br>      &quot;lastModifiedTime&quot;: &quot;2019-06-26T20:49:46.209Z&quot;,<br>      &quot;billing&quot;: {<br>        &quot;costIncluded&quot;: 0,<br>        &quot;costPurchased&quot;: 0<br>      },<br>      &quot;legs&quot;: [<br>        {<br>          &quot;startTime&quot;: &quot;2019-06-26T20:49:04.715Z&quot;,<br>          &quot;duration&quot;: 20,<br>          &quot;type&quot;: &quot;Voice&quot;,<br>          &quot;direction&quot;: &quot;Outbound&quot;,<br>          &quot;action&quot;: &quot;RingOut PC&quot;,<br>          &quot;result&quot;: &quot;Accepted&quot;,<br>          &quot;to&quot;: {<br>            &quot;phoneNumber&quot;: &quot;+16505154891&quot;,<br>            &quot;location&quot;: &quot;South San Francisco, CA&quot;<br>          },<br>          &quot;from&quot;: {<br>            &quot;phoneNumber&quot;: &quot;+17203861294&quot;,<br>            &quot;extensionNumber&quot;: &quot;101&quot;,<br>            &quot;extensionId&quot;: &quot;809646016&quot;,<br>            &quot;name&quot;: &quot;TESTER Babji&quot;<br>          },<br>          &quot;extension&quot;: {<br>            &quot;uri&quot;: &quot;<a href="https://platform.ringcentral.com/restapi/v1.0/account/809646016/extension/809646016">https://platform.ringcentral.com/restapi/v1.0/account/809646016/extension/809646016</a>&quot;,<br>            &quot;id&quot;: 809646016<br>          },<br>          &quot;reason&quot;: &quot;Accepted&quot;,<br>          &quot;reasonDescription&quot;: &quot;The call connected to and was accepted by this number.&quot;,<br>          &quot;transport&quot;: &quot;PSTN&quot;,<br>          &quot;billing&quot;: {<br>            &quot;costIncluded&quot;: 0,<br>            &quot;costPurchased&quot;: 0<br>          },<br>          &quot;legType&quot;: &quot;RingOutClientToSubscriber&quot;<br>        },<br>        {<br>          &quot;startTime&quot;: &quot;2019-06-26T20:49:04.907Z&quot;,<br>          &quot;duration&quot;: 20,<br>          &quot;type&quot;: &quot;Voice&quot;,<br>          &quot;direction&quot;: &quot;Outbound&quot;,<br>          &quot;action&quot;: &quot;RingOut PC&quot;,<br>          &quot;result&quot;: &quot;Call connected&quot;,<br>          &quot;to&quot;: {<br>            &quot;phoneNumber&quot;: &quot;+17203861294&quot;,<br>            &quot;extensionNumber&quot;: &quot;101&quot;,<br>            &quot;location&quot;: &quot;Georgetown, CO&quot;<br>          },<br>          &quot;from&quot;: {<br>            &quot;extensionId&quot;: &quot;809646016&quot;,<br>            &quot;name&quot;: &quot;TESTER Babji&quot;<br>          },<br>          &quot;extension&quot;: {<br>            &quot;uri&quot;: &quot;<a href="https://platform.ringcentral.com/restapi/v1.0/account/809646016/extension/809646016">https://platform.ringcentral.com/restapi/v1.0/account/809646016/extension/809646016</a>&quot;,<br>            &quot;id&quot;: 809646016<br>          },<br>          &quot;transport&quot;: &quot;PSTN&quot;,<br>          &quot;legType&quot;: &quot;RingOutClientToCaller&quot;,<br>          &quot;master&quot;: true<br>        }<br>      ]<br>    }<br>  ],<br>  &quot;paging&quot;: {<br>    &quot;page&quot;: 1,<br>    &quot;perPage&quot;: 100,<br>    &quot;pageStart&quot;: 0,<br>    &quot;pageEnd&quot;: 0<br>  },<br>  &quot;navigation&quot;: {<br>    &quot;firstPage&quot;: {<br>      &quot;uri&quot;: &quot;<a href="https://platform.ringcentral.com/restapi/v1.0/account/809646016/extension/809646016/call-log?view=Detailed&amp;page=1&amp;perPage=100">https://platform.ringcentral.com/restapi/v1.0/account/809646016/extension/809646016/call-log?view=Detailed&amp;page=1&amp;perPage=100</a>&quot;<br>    },<br>    &quot;lastPage&quot;: {<br>      &quot;uri&quot;: &quot;<a href="https://platform.ringcentral.com/restapi/v1.0/account/809646016/extension/809646016/call-log?view=Detailed&amp;page=1&amp;perPage=100">https://platform.ringcentral.com/restapi/v1.0/account/809646016/extension/809646016/call-log?view=Detailed&amp;page=1&amp;perPage=100</a>&quot;<br>    }<br>  }<br>}</pre><p>That&#39;s it. Now you are ready to rock and roll :)</p><p>For more awesome tutorials <a href="https://medium.com/ringcentral-developers">checkout our blog</a>, or to learn more about the <strong>RingCentral Developers Program</strong> and start building cool integrations with voice, SMS, team messaging, meetings fax, and more — visit <a href="https://developer.ringcentral.com/">https://developers.ringcentral.com/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bb53e9c1f20c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ringcentral-developers/match-the-ringout-call-in-call-log-records-bb53e9c1f20c">Match the Ringout call in Call-log records</a> was originally published in <a href="https://medium.com/ringcentral-developers">RingCentral Developers</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to block a particular IP Address on Mac]]></title>
            <link>https://medium.com/ringcentral-developers/how-to-block-a-particular-ip-address-on-mac-a587805972e5?source=rss-d2b27ff4f9b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/a587805972e5</guid>
            <category><![CDATA[mac]]></category>
            <category><![CDATA[ip-address]]></category>
            <category><![CDATA[computers]]></category>
            <category><![CDATA[tips]]></category>
            <category><![CDATA[firewall]]></category>
            <dc:creator><![CDATA[Vyshakh Babji]]></dc:creator>
            <pubDate>Tue, 02 Jul 2019 18:01:01 GMT</pubDate>
            <atom:updated>2019-07-03T23:22:26.908Z</atom:updated>
            <content:encoded><![CDATA[<h3>Block Access to Particular IP Address on Mac</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_fmcQyRZM9CZYcpYMttwng.jpeg" /></figure><p>Recently, I was testing my <a href="https://github.com/ringcentral/ringcentral-web-phone">WebRTC SDK</a> for Disaster Recovery. I hit a roadblock when I wanted to block access to a few IP addresses on the go while running the <a href="https://searchdisasterrecovery.techtarget.com/definition/disaster-recovery-DR-test">DR tests</a>. Fortunately, I found out the solution after digging through several stack overflow articles and reading through the manual for OSX terminal.</p><p>Here is how you could block certain IP addresses on the fly if you are ever hit with this roadblock.</p><ol><li>You need to edit the <strong>PacketFilter Configuration </strong>file. You can find this file in the path /etc/pf.conf</li></ol><pre>$ sudo vim /etc/pf.conf</pre><p>2.<strong> </strong>Add the IP Address you need to block</p><pre>block drop from any to [IP ADDRESS] </pre><pre>Example:  ### block ip address</pre><pre>block drop from any to 192.168.1.1</pre><p>3. Quit VIM and load the config file by running the below command<strong>:</strong></p><pre>$ pfctl -e -f /etc/pf.conf</pre><ul><li><strong>e</strong> is for enabling the packet filter</li><li>-f is for loading the rules contained in the file</li></ul><p>You have successfully blocked access to the IP address.</p><p>4. Now, if you want to disable the rule, just run this:</p><pre>$ pfctl -d</pre><p>That’s it. Now you are ready to rock and roll :)</p><p>If you’re looking to learn more- then here are some other resources you can check out:</p><p>1. <a href="https://stackoverflow.com/questions/3737262/block-list-table-ip-mac-email-name-username">Block list table (IP, Mac, email, name, username)</a><br>2. <a href="https://apple.stackexchange.com/questions/154374/how-to-edit-the-hosts-to-block-ip-address">How to edit the hosts to block IP address?</a><br>3. <a href="https://superuser.com/questions/144738/why-is-ip-to-mac-address-translation-needed">Why is IP to MAC address translation needed?</a><br>4. <a href="https://stackoverflow.com/questions/15579620/how-to-block-100-000-individual-ip-addresses">How to Block 100,000+ Individual IP addresses</a></p><p>For more awesome tutorials <a href="https://medium.com/ringcentral-developers">checkout our blog</a>, or to learn more about the <strong>RingCentral Developers Program</strong> and start building cool integrations with voice, SMS, team messaging, meetings fax, and more — visit <a href="https://developer.ringcentral.com/">https://developers.ringcentral.com/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a587805972e5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ringcentral-developers/how-to-block-a-particular-ip-address-on-mac-a587805972e5">How to block a particular IP Address on Mac</a> was originally published in <a href="https://medium.com/ringcentral-developers">RingCentral Developers</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[RingCentral WebRTC SDK support for Unified SDP plan]]></title>
            <link>https://medium.com/ringcentral-developers/ringcentral-webrtc-sdk-support-for-unified-sdp-plan-881e03cce2d2?source=rss-d2b27ff4f9b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/881e03cce2d2</guid>
            <category><![CDATA[webrtc]]></category>
            <category><![CDATA[ringcentral]]></category>
            <dc:creator><![CDATA[Vyshakh Babji]]></dc:creator>
            <pubDate>Thu, 17 Jan 2019 00:53:05 GMT</pubDate>
            <atom:updated>2019-01-24T19:03:45.367Z</atom:updated>
            <content:encoded><![CDATA[<h3>RingCentral WebPhone SDK support for upcoming Chrome release (Unified SDP plan)</h3><p>Google Chrome is rolling out Chrome 72 Stable starting from Jan 29, 2019. This release is going to be an interesting one for WebRTC Technology consumers and webRTC developer community. Google had previously announced Unified SDP plan support from M71 (experiment ) onwards <a href="https://www.w3.org/">World Wide Web Consortium</a> (W3C) issues the first public notice about the same (<a href="https://webrtc.org/web-apis/chrome/unified-plan/">link</a>).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/361/1*sENpSQSByWBTcnQG-KoVVA.png" /></figure><p>Google had started working on the project to support unified SDP early 2016, and finally the wait is over. However, Chrome is going to support both “Unified SDP Plan” and “Plan B” for couple more releases while the webRTC consumers and developers start to update their applications. Chrome plans to remove support for “Plan B” sometime soon, so it is necessary to keep all the webRTC applications be up-to-date to make a transition to “Unified SDP Plan”. You can find the “Applications May Break! Please Update Your Code!” notice <a href="https://groups.google.com/forum/?utm_medium=email&amp;utm_source=footer#!msg/discuss-webrtc/aPRI0-l7lvY/b62_7SkuAwAJ">here</a>.</p><p><strong>RingCentral WebPhone SDK’s approach to solving this problem:</strong></p><p>I have tackled this problem on RingCentral WebPhone SDK by explicitly setting the RTCPeerConnection constructor’s SDP semantics to “Plan B”. This avoids the incompatibility issue with Chrome browsers versions between ≤71 and 72≥ .</p><pre>new RTCPeerConnection({..., sdpSemantics: &#39;plan-b&#39;});</pre><p>Github reference to code: <a href="https://github.com/ringcentral/ringcentral-web-phone/blob/master/src/ringcentral-web-phone.js#L179">https://github.com/ringcentral/ringcentral-web-phone/blob/master/src/ringcentral-web-phone.js#L179</a></p><pre>rtcConfiguration: {                    <br>rtcpMuxPolicy: &#39;negotiate&#39;,                    <br>sdpSemantics:&#39;plan-b&#39;                <br>}</pre><blockquote>SDK version 0.6.1 which was released on Nov 30, 2018 and future releases will support “Plan B”. We will support “Unified SDP plan” after Chrome ≥72 is released. Please upgrade the WebPhone SDK to the latest version which you can find <a href="https://github.com/ringcentral/ringcentral-web-phone/releases">here</a> (v0.6.2). This version is based on SipJS v0.11.6.</blockquote><p>You can also disable the use of the Unified Plan on Chrome browser by setting the flag to disable the “Use Unified Plan SDP Semantics” by using the “Disabled” option to avoid any interoperability problem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/830/1*1dox0DwvuCA2lQN6MHTQ2g.png" /></figure><p><strong>Next Steps :</strong></p><p>I will be releasing a new version of SDK to handle various feature enhancement requests in the near future. I will also keep the SDK up to date with any changes concerning to “Unified SDP Plan” as well.</p><p>I strongly suggest the developers from RingCentral Developer Community to upgrade to the latest version of the SDK. Also, please keep an eye on RingCentral Developer Blog posts for the latest updates with regards to webRTC SDK and RingCentral Platform APIs and Platform products.</p><p>Feel free to comment on this blog to add more commonly seen WebRTC SDK issues/errors and I shall edit this blog and add few more tips/quirks on how to handle those issues.</p><p>That&#39;s it. Now you are ready to rock and roll :)</p><p>To learn more about <strong>RingCentral Developer Program</strong> and start building cool integrations using RingCentral API’s visit <a href="https://developer.ringcentral.com/">https://developer.ringcentral.com/</a></p><p>For other RingCentral Developer Program related articles, visit our medium page by <a href="https://medium.com/ringcentral-developers"><em>clicking here</em></a>.</p><p><strong>Learn more about our Developer Program here: </strong><a href="https://developer.ringcentral.com/">https://developer.ringcentral.com/</a></p><p><strong>References :</strong></p><p><a href="https://webrtc.org/web-apis/chrome/unified-plan/">Unified Plan SDP format - transition plan | WebRTC</a></p><p><a href="https://bugs.chromium.org/p/chromium/issues/detail?id=465349">https://bugs.chromium.org/p/chromium/issues/detail?id=465349</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=881e03cce2d2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ringcentral-developers/ringcentral-webrtc-sdk-support-for-unified-sdp-plan-881e03cce2d2">RingCentral WebRTC SDK support for Unified SDP plan</a> was originally published in <a href="https://medium.com/ringcentral-developers">RingCentral Developers</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Good RingCentral WebRTC call flow]]></title>
            <link>https://medium.com/@vyshakh.babji/good-ringcentral-webrtc-call-flow-19b817863ed5?source=rss-d2b27ff4f9b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/19b817863ed5</guid>
            <category><![CDATA[api]]></category>
            <category><![CDATA[webrtc]]></category>
            <dc:creator><![CDATA[Vyshakh Babji]]></dc:creator>
            <pubDate>Thu, 27 Dec 2018 23:50:09 GMT</pubDate>
            <atom:updated>2018-12-27T23:51:01.893Z</atom:updated>
            <content:encoded><![CDATA[<h3>RingCentral WebRTC call flow example</h3><p>Here is a quick article on how a good WebRTC incoming and outgoing call looks like when you use RingCentral WebRTC SDK to make an outbound and inbound calls.</p><p><strong>Successful registration:</strong></p><p>This is how a successful new Registration looks like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/389/1*kxVvCzSia7WVxs3wjpq0VQ.png" /></figure><p>Sip logs look like this:</p><pre>Thu Dec 27 2018 11:44:03 GMT-0800 (Pacific Standard Time) | sip.transport | sending WebSocket message:</pre><pre>REGISTER sip:sip.ringcentral.com SIP/2.0<br>Via: SIP/2.0/WSS e86hucb5pffa.invalid;branch=z9hG4bK1417429<br>Max-Forwards: 70<br>To: &lt;sip:<a href="/service/mailto:17203861294*101@sip.ringcentral.com">17203861294*101@sip.ringcentral.com</a>&gt;<br>From: &lt;sip:<a href="/service/mailto:17203861294*101@sip.ringcentral.com">17203861294*101@sip.ringcentral.com</a>&gt;;tag=1uajqe9b9u<br>Call-ID: pp1urjk7bnn3a1v8gppusp<br>CSeq: 3396 REGISTER<br>P-rc-endpoint-id: 85e7dee1-7ecf-4351-8f14-97af8c14b8ab<br>Client-id:HzXLrhSlTFyqVjXlgWeoMQ<br>Contact: &lt;sip:bsofk4c2@e86hucb5pffa.invalid;transport=ws&gt;;reg-id=1;+sip.instance=&quot;&lt;urn:uuid:2a1f7a91-6cd8-41ed-89f0-2c9191a9797d&gt;&quot;;expires=600<br>Allow: ACK,CANCEL,INVITE,MESSAGE,BYE,OPTIONS,INFO,NOTIFY,REFER<br>Supported: path, gruu, outbound<br>User-Agent: WebPhoneDemo/1.0.0 Macintosh-Intel-Mac-OS-X-10_12_6 RCWEBPHONE/0.6.2<br>Content-Length: 0</pre><pre>sip-0.11.6.js:516 Thu Dec 27 2018 11:44:03 GMT-0800 (Pacific Standard Time) | sip.transport | received WebSocket text message:</pre><pre>SIP/2.0 401 Unauthorized<br>Via: SIP/2.0/WSS e86hucb5pffa.invalid;branch=z9hG4bK1417429<br>From: &lt;sip:<a href="/service/mailto:17203861294*101@sip.ringcentral.com">17203861294*101@sip.ringcentral.com</a>&gt;;tag=1uajqe9b9u<br>To: &lt;sip:<a href="/service/mailto:17203861294*101@sip.ringcentral.com">17203861294*101@sip.ringcentral.com</a>&gt;;tag=3OguAt<br>Call-ID: pp1urjk7bnn3a1v8gppusp<br>CSeq: 3396 REGISTER<br>Content-Length: 0<br>Www-Authenticate: Digest realm=&quot;sip.ringcentral.com&quot;, nonce=&quot;XCUsrlwlK4Kx80Mun4RX0sC0pdoVpikq&quot;</pre><pre>sip-0.11.6.js:516 Thu Dec 27 2018 11:44:03 GMT-0800 (Pacific Standard Time) | sip.transport | sending WebSocket message:</pre><pre>REGISTER sip:sip.ringcentral.com SIP/2.0<br>Via: SIP/2.0/WSS e86hucb5pffa.invalid;branch=z9hG4bK2149718<br>Max-Forwards: 70<br>To: &lt;sip:<a href="/service/mailto:17203861294*101@sip.ringcentral.com">17203861294*101@sip.ringcentral.com</a>&gt;<br>From: &lt;sip:<a href="/service/mailto:17203861294*101@sip.ringcentral.com">17203861294*101@sip.ringcentral.com</a>&gt;;tag=1uajqe9b9u<br>Call-ID: pp1urjk7bnn3a1v8gppusp<br>CSeq: 3397 REGISTER<br>Authorization: Digest algorithm=MD5, username=&quot;210074559016&quot;, realm=&quot;sip.ringcentral.com&quot;, nonce=&quot;XCUsrlwlK4Kx80Mun4RX0sC0pdoVpikq&quot;, uri=&quot;sip:sip.ringcentral.com&quot;, response=&quot;ffc2b8a3551929a4d8647287ec4107bb&quot;<br>P-rc-endpoint-id: 85e7dee1-7ecf-4351-8f14-97af8c14b8ab<br>Client-id:HzXLrhSlTFyqVjXlgWeoMQ<br>Contact: &lt;sip:bsofk4c2@e86hucb5pffa.invalid;transport=ws&gt;;reg-id=1;+sip.instance=&quot;&lt;urn:uuid:2a1f7a91-6cd8-41ed-89f0-2c9191a9797d&gt;&quot;;expires=600<br>Allow: ACK,CANCEL,INVITE,MESSAGE,BYE,OPTIONS,INFO,NOTIFY,REFER<br>Supported: path, gruu, outbound<br>User-Agent: WebPhoneDemo/1.0.0 Macintosh-Intel-Mac-OS-X-10_12_6 RCWEBPHONE/0.6.2<br>Content-Length: 0</pre><pre>sip-0.11.6.js:516 Thu Dec 27 2018 11:44:03 GMT-0800 (Pacific Standard Time) | sip.transport | received WebSocket text message:</pre><pre>SIP/2.0 200 OK<br>Via: SIP/2.0/WSS e86hucb5pffa.invalid;branch=z9hG4bK2149718<br>From: &lt;sip:<a href="/service/mailto:17203861294*101@sip.ringcentral.com">17203861294*101@sip.ringcentral.com</a>&gt;;tag=1uajqe9b9u<br>To: &lt;sip:<a href="/service/mailto:17203861294*101@sip.ringcentral.com">17203861294*101@sip.ringcentral.com</a>&gt;;tag=1tgi72<br>Call-ID: pp1urjk7bnn3a1v8gppusp<br>CSeq: 3397 REGISTER<br>Content-Length: 0<br>Contact: &lt;sip:bsofk4c2@e86hucb5pffa.invalid;transport=ws&gt;;expires=57</pre><pre>index.js:156 UA Registered</pre><p>When the user sends a Register, the header contains AOR and the expiration time for the validity of registration in the headers. The server(registrar) returns 401 Unauthorized response with Www-Authenticate header, which contains data used to encrypt user’s communications password. It also contains a nonce along with the name of the encryption algorithm that the client must use. The user sends another REGISTER with Authorization header with users encrypted password. If the password is received by the registrar , the 200 OK response is sent, which in turn signifies successful registration.</p><p><strong>Outbound Call flow:</strong></p><p>A successful outbound call flow looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1016/1*FeqAfJVJpS1IFCWKnu7wrA.png" /></figure><p>Full log for an outbound call is available here :</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3481c5d3c4365c13e0d12f5e520e55bc/href">https://medium.com/media/3481c5d3c4365c13e0d12f5e520e55bc/href</a></iframe><p><strong>Inbound Call flow:</strong></p><p>A successful inbound call flow looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/678/1*ggvcdLe7fYxkgsTcPnuv6A.png" /></figure><p>Full log for an inbound call is available here :</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/bdae8d42f3bf0b19125b52274bbb02ec/href">https://medium.com/media/bdae8d42f3bf0b19125b52274bbb02ec/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=19b817863ed5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Troubleshooting WebRTC application on client-side using Developer Console]]></title>
            <link>https://medium.com/@vyshakh.babji/troubleshooting-webrtc-application-on-client-side-using-developer-console-51a8a2df2b90?source=rss-d2b27ff4f9b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/51a8a2df2b90</guid>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Vyshakh Babji]]></dc:creator>
            <pubDate>Wed, 26 Dec 2018 23:49:18 GMT</pubDate>
            <atom:updated>2018-12-26T23:51:13.865Z</atom:updated>
            <content:encoded><![CDATA[<p>WebRTC SDK allows you to enable console logging</p><p><em>traceSip : true </em>parameter setting on SDK allows you to set incoming and outgoing SIP request/responses to be logged in the browser console. These SIP request/responses could be viewed on console logs.</p><p>Web Console output on Chrome:</p><ul><li>Navigate to the WebRTC application page</li><li>On the top right corner click on the 3 dots at the end ​of ​the ​address ​bar ​to ​pull ​down ​the ​menu</li><li>​Click on More ​Tools, ​then ​click Developer ​Tools</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/783/0*kalGpSQNIsWSinXR.png" /></figure><p>Console logs look similar to this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IUPvbZlkrjLPCwiuepVsRw.png" /></figure><p>For inspecting the network frames for your WebRTC application, on your developer tools tab, switch to Network tab, add <strong>WS (WebSocket) </strong>filter. You will now be able to inspect WebSocket traffic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H-C6d4RviT2hE0wcDUObJQ.png" /></figure><p>Chrome also allows you to turn on logging for WebRTC applications in order to debug WebRTC related issues. It is furthermore possible to filter the log output to WebRTC in order to reduce the noise.</p><p>When launching Chrome from the command line, here’s an example for how to turn on logging and filter it to WebRTC :</p><pre>chrome.exe --enable-logging --vmodule=*/webrtc/*=2 --no-sandbox</pre><p>This example is from Windows, so please replace chrome.exe with the path to the main Chrome binary on the platform you will be testing on (e.g. on Mac this would typically be Google\ Chrome.app/Contents/MacOS/Google\ Chrome). Note also that the --no-sandbox parameter is currently only needed on Windows and since it turns off Chrome’s security sandbox, please use only for testing trusted code.</p><p>You can refer <a href="https://www.chromium.org/for-testers/enable-logging">here</a> for more settings and setting proper verbosity levels for logging and changing any other logging settings for chrome.</p><p>For watching the output in the terminal and seeing the logs on Windows machines, I recommend <a href="https://code.google.com/p/sawbuck/">Sawbuck</a>. <strong>Sawbuck</strong> is a log viewer and controller for Windows Chrome logging, and for other applications or plugins that use the <a href="http://src.chromium.org/viewvc/chrome/trunk/src/base/logging.h?view=markup">logging facility in Chrome base</a>. Configure the Chrome provider to “All” and uncheck “Text Only” in the “Enable Mask” column, and hit Ctrl+E to start capturing.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=51a8a2df2b90" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Downloading Call log using RingCentral Call Log API endpoint — Quick Tip]]></title>
            <link>https://medium.com/ringcentral-developers/downloading-call-log-using-ringcentral-call-log-api-endpoint-quick-tip-1ac27aaa82bc?source=rss-d2b27ff4f9b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/1ac27aaa82bc</guid>
            <category><![CDATA[how-to]]></category>
            <category><![CDATA[api]]></category>
            <dc:creator><![CDATA[Vyshakh Babji]]></dc:creator>
            <pubDate>Mon, 19 Nov 2018 19:07:10 GMT</pubDate>
            <atom:updated>2018-11-19T19:07:10.237Z</atom:updated>
            <content:encoded><![CDATA[<h3>Downloading Call log using RingCentral Call Log API endpoint — Quick Tip</h3><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*PsybwG1ViuF-_c2_5mZ8IA.png" /></figure><p>RingCentral offers Call Log API call-log to fetch call-log records for completed calls approximately 30 seconds after the end of the call</p><p>Here is the API endpoint for fetching call-log:</p><p>v1.0/account/{accountId}/extension/{extensionId}/call-log</p><p>When using the Online Account Portal, the calls are presented in a single merged view. You can see that here:</p><p>Login to service.ringcentral.com (production) or service.devtest.ringcentral.com (sandbox) → Call Log</p><h3>Call Log API</h3><p>There are several routes available for accessing specific types of call log data.</p><p>The base route for accessing call log data is scoped to the Account Level or the Extension Level depending upon the role of the authenticated access_token user.</p><p><strong>Account-Level Call Log</strong> <strong>data</strong> (this is data for the entire account):</p><pre>/restapi/v1.0/account/{accountId}/call-log /restapi/v1.0/account/{accountId}/call-log/{callRecordId}</pre><p>or <strong>Extension-Level</strong> <strong>Call Log data</strong> (this is data for only a specific extension within your RingCentral account):</p><pre>/restapi/v1.0/account/{accountId}/extension/{extensionId}/call-log /restapi/v1.0/account/{accountId}/extension/{extensionId}/call-log/{callRecordId}</pre><p>A call record can be associated with multiple extensions. There are several ways to associate and retrieve the simple/detailed call log with call legs and then match each call leg to the associated extension.</p><p>You retrieve <strong>Simple Call Log</strong> records with call legs by retrieving the Call Log endpoint with the view=Simple query parameter, for example v1.0/account/{accountId}/extension/{extensionID}/call-log?view=Simple. Extension Level Call Log List are the Call Logs associated with the currently authenticated access_token user account credentials.</p><p>You retrieve <strong>Detailed Call Log</strong> records with call legs by retrieving the Call Log endpoint with the view=Detailed query parameter, for example v1.0/account/{accountId}/extension/{extensionID}/call-log?view=Detailed. Detailed Call Log is available if you wish to obtain the details of a single call log item, you could fetch a single record, you could use sessionId or id query parameter to fetch per sessionId or per call record id. When the simple Call Log data does not provide enough granularity you can leverage the Detailed Call Log data at both the Account and Extension level.</p><p>The call-log API by default can fetch up to 100 call records at a time. You can specifically fetch the number of records to be retrieved via call-log api by using perPage=XXX query parameter. As call-log API call belongs to heavy api group , we recommend you to fetch not more than 200 records per api call.</p><h3>Next Steps</h3><p>Feel free to comment on this blog to add more commonly seen Call Log issues/errors and I shall edit this blog and add few more tips/quirks on how to handle those issues.</p><p>Thats it. Now you are ready to rock and roll :)</p><p>To learn more about <strong>RingCentral Developer Program</strong> and start building cool integrations using RingCentral API’s visit <a href="https://developer.ringcentral.com/">https://developer.ringcentral.com/</a></p><p>For other RingCentral Developer Program related articles, visit our medium page by <a href="https://medium.com/ringcentral-developers"><em>clicking here</em></a>.</p><p><strong>Learn more about our Developer Program here: </strong><a href="https://developer.ringcentral.com/">https://developer.ringcentral.com/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1ac27aaa82bc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ringcentral-developers/downloading-call-log-using-ringcentral-call-log-api-endpoint-quick-tip-1ac27aaa82bc">Downloading Call log using RingCentral Call Log API endpoint — Quick Tip</a> was originally published in <a href="https://medium.com/ringcentral-developers">RingCentral Developers</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Downloading Call log using RingCentral Call Log API endpoint]]></title>
            <link>https://medium.com/@vyshakh.babji/downloading-call-log-using-ringcentral-call-log-api-endpoint-e5adef3a1251?source=rss-d2b27ff4f9b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/e5adef3a1251</guid>
            <category><![CDATA[api]]></category>
            <dc:creator><![CDATA[Vyshakh Babji]]></dc:creator>
            <pubDate>Thu, 02 Aug 2018 22:12:23 GMT</pubDate>
            <atom:updated>2018-08-13T21:20:39.564Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*PsybwG1ViuF-_c2_5mZ8IA.png" /></figure><p>RingCentral offers Call Log API call-log to fetch call-log records for completed calls approximately 30 seconds after the end of the call</p><p>Here is the API endpoint for fetching call-log:</p><p>v1.0/account/{accountId}/extension/{extensionId}/call-log</p><p>When using the Online Account Portal, the calls are presented in a single merged view. You can see that here:</p><p>Login to service.ringcentral.com (production) or service.devtest.ringcentral.com (sandbox) → Call Log</p><h3>Call Log Access</h3><p>There are several routes available for accessing specific types of call log data.</p><p>The base route for accessing call log data is scoped to the Account Level or the Extension Level depending upon the role of the authenticated access_token user.</p><p>Account-Level Call Log data (this is data for the entire account):</p><pre>/restapi/v1.0/account/{accountId}/call-log /restapi/v1.0/account/{accountId}/call-log/{callRecordId}</pre><p>or Extension-Level Call Log data (this is data for only a specific extension within your RingCentral account):</p><pre>/restapi/v1.0/account/{accountId}/extension/{extensionId}/call-log /restapi/v1.0/account/{accountId}/extension/{extensionId}/call-log/{callRecordId}</pre><p>A call record can be associated with multiple extensions. There are several ways to associate and retrieve the simple/detailed call log with call legs and then match each call leg to the associated extension.</p><p>You retrieve Simple Call Log records with call legs by retrieving the Call Log endpoint with the view=Simple query parameter, for example v1.0/account/{accountId}/extension/{extensionID}/call-log?view=Simple. Extension Level Call Log List are the Call Logs associated with the currently authenticated access_token user account credentials.</p><p>You retrieve Detailed Call Log records with call legs by retrieving the Call Log endpoint with the view=Detailed query parameter, for example v1.0/account/{accountId}/extension/{extensionID}/call-log?view=Detailed. Detailed Call Log is available if you wish to obtain the details of a single call log item, you could fetch a single record, you could use sessionId or id query parameter to fetch per sessionId or per call record id.</p><p>When the simple Call Log data does not provide enough granularity you can leverage the Detailed Call Log data at both the Account and Extension level.</p><p>The call-log API by default can fetch up to 100 call records at a time. You can specifically fetch the number of records to be retrieved via call-log api by using perPage=XXX query parameter. As call-log API call belongs to heavy api group , we recommend you to fetch not more than 200 records per api call.</p><p>Thats it. Now you are ready to rock and roll :)</p><p>To learn more about <strong>RingCentral Developer Program</strong> and start building cool integrations using RingCentral API’s visit <a href="https://developer.ringcentral.com/">https://developer.ringcentral.com/</a></p><p>For other RingCentral Developer Program related articles, visit our medium page by <a href="https://medium.com/ringcentral-developers"><em>clicking here</em></a>.</p><p><strong>Learn more about our Developer Program here:</strong><a href="https://developer.ringcentral.com/">https://developer.ringcentral.com/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e5adef3a1251" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SMS APIs — Tips, Tricks and Quirks]]></title>
            <link>https://medium.com/ringcentral-developers/sms-apis-tips-tricks-and-quirks-982d2f705ae9?source=rss-d2b27ff4f9b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/982d2f705ae9</guid>
            <category><![CDATA[sms]]></category>
            <category><![CDATA[ringcentral]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[api]]></category>
            <dc:creator><![CDATA[Vyshakh Babji]]></dc:creator>
            <pubDate>Wed, 01 Aug 2018 20:58:21 GMT</pubDate>
            <atom:updated>2018-08-07T19:07:18.205Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PsybwG1ViuF-_c2_5mZ8IA.png" /></figure><p>The Business SMS feature has been a popular offering by RingCentral. It allows you to send professional text and multimedia messages to colleagues, clients, and departments from your business number. In this article we’ll cover benefits of RingCentral SMS along with various tips for using the SMS API.</p><h3>RingCentral SMS Benefits</h3><p>There are multiple benefits to using RingCentral for SMS including the following popular reasons:</p><ul><li><strong>Single number</strong>: You can use one business number for calling , texting, faxing and sending multimedia files. You can send and receive unlimited local texts with up to 1000 characters between extensions within your organization or to any local numbers.*</li><li><strong>Multiple endpoints: </strong>There are several ways you could send and receive text messages with RingCentral SMS features — RingCentral Desktop app, Glip , RingCentral Mobile App and also via RingCentral iWatch app.</li><li><strong>Custom integrations:</strong> RingCentral’s SMS API allows you to integrate SMS feature within your custom application. We already have 100s of our customers using this feature in their private and publicly available custom softwares, home grown and publicly available CRM applications.</li></ul><p>To get access to the APIs, you need to signup to RingCentral Developer Program and create your developer account and create a RingCentral Application. For further information on this, you could visit : <a href="https://developer.ringcentral.com/library/getting-started.html">https://developer.ringcentral.com/library/getting-started.html</a></p><p>You could also read this article: <a href="https://medium.com/ringcentral-developers/use-message-sync-api-to-archive-your-sms-fax-and-voicemail-messages-cd23748e188f">https://medium.com/ringcentral-developers/use-message-sync-api-to-archive-your-sms-fax-and-voicemail-messages-cd23748e188f</a> and read this section :<strong> Create a new RingCentral app</strong></p><h3><strong>General Errors while using SMS APIs and Tips to resolve them:</strong></h3><h4><strong>Choosing the right “From” number from your extension to send SMS via API</strong></h4><p>RingCentral account can have multiple user extensions and each user extension is assigned to one or more Digital Lines or Direct Numbers.</p><p>Lets assume user John Smith is assigned ext. 105 and ext. 105 has:</p><ul><li>Digital Line — +1 (408) XXX XXXX</li><li>Direct Numbers — +1 (650) XXX XXXX and +1 (619) XXX XXXX.</li></ul><p>You can choose one of the above numbers as “From” number for sending SMSs . No other numbers can be assigned as “From” numbers.</p><p>Using the API, you can get a list of these numbers by calling the following API an filtering for numbers that have SmsSender , MmsSender, or InternationalSmsSender in the features array:</p><pre>GET /restapi/v1.0/account/{acctId}/extension/{extId}/phone-numbers</pre><p>You will get a response like the following:</p><pre>{<br>  &quot;uri&quot; : &quot;<a href="https://platform.ringcentral.com/restapi/v1.0/account/809646016/extension/809646016/phone-number?page=1&amp;perPage=100">https://platform.ringcentral.com/restapi/v1.0/account/809646016/extension/809646016/phone-number?page=1&amp;perPage=100</a>&quot;,<br>  &quot;records&quot; : [<br>    {<br>      &quot;id&quot; : 556104016,<br>      &quot;phoneNumber&quot; : &quot;+1720XXXXXXX&quot;,<br>      &quot;paymentType&quot; : &quot;Local&quot;,<br>      &quot;location&quot; : &quot;Smoky Hill, CO&quot;,<br>      &quot;type&quot; : &quot;VoiceFax&quot;,<br>      &quot;usageType&quot; : &quot;DirectNumber&quot;,<br>      &quot;status&quot; : &quot;Normal&quot;,<br>      &quot;country&quot; : {<br>        &quot;uri&quot; : &quot;<a href="https://platform.ringcentral.com/restapi/v1.0/dictionary/country/1">https://platform.ringcentral.com/restapi/v1.0/dictionary/country/1</a>&quot;,<br>        &quot;id&quot; : &quot;1&quot;,<br>        &quot;name&quot; : &quot;United States&quot;<br>      },<br><strong>      &quot;features&quot; : [ &quot;InternationalSmsSender&quot;, &quot;CallerId&quot;, &quot;MmsSender&quot;, &quot;SmsSender&quot; ]</strong><br>    }<br>  ]<br>  ...<br>}</pre><p>If you use another number that does not belong to the extension that authorized your access token, you will get the following 403 error message:</p><pre>Phone number doesn’t belong to extension</pre><h4>Missing SMS permission</h4><p>If there is no SMS permission added to the RC Developer App , you will get a 403 Forbidden error with error message —</p><pre>In order to call this API endpoint, application needs to have [SMS] permission</pre><p>with error code CMN 401 — Insufficient Permission</p><h4>Missing SMS feature</h4><p>If the number that belongs to extension doesn’t have SMS feature enabled for it, you will get the following 403error MSG 252:</p><pre>Invalid sender phone number [${fromPhoneNumber}]: SMS messages are not supported for this number</pre><p>Also, if the number is a fax only, number, you will receive the following 403 error MSG 241:</p><pre>Invalid sender phone number [${fromPhoneNumber}]: cannot send SMS message from fax-only number</pre><h4>Server issues while sending SMS:</h4><p>There are chances that something went wrong on the server side , and you recieve HTTP Status 503 with error code — MSG 290 and the following error message</p><pre>Sending SMS to ${toPhoneNumber} failed. Please try later</pre><p>Just retry sending message after couple seconds — to be precise read the Retry After response header and resend the SMS after the stated number of seconds.</p><h3>Next Steps</h3><p>Feel free to comment on this blog to add more commonly seen SMS issues/errors and I shall edit this blog and add few more tips/quirks on how to handle those issues.</p><p>Thats it. Now you are ready to rock and roll :)</p><p>To learn more about <strong>RingCentral Developer Program</strong> and start building cool integrations using RingCentral API’s visit <a href="https://developer.ringcentral.com/">https://developer.ringcentral.com/</a></p><p>For other RingCentral Developer Program related articles, visit our medium page by <a href="https://medium.com/ringcentral-developers"><em>clicking here</em></a>.</p><p><strong>Learn more about our Developer Program here:</strong><a href="https://developer.ringcentral.com/">https://developer.ringcentral.com/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=982d2f705ae9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ringcentral-developers/sms-apis-tips-tricks-and-quirks-982d2f705ae9">SMS APIs — Tips, Tricks and Quirks</a> was originally published in <a href="https://medium.com/ringcentral-developers">RingCentral Developers</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Relationship between RingCentral Personal Contacts and Call-log API]]></title>
            <link>https://medium.com/ringcentral-developers/relationship-between-ringcentral-personal-contacts-and-call-log-api-endpoint-9aee7a6841e?source=rss-d2b27ff4f9b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/9aee7a6841e</guid>
            <category><![CDATA[api]]></category>
            <dc:creator><![CDATA[Vyshakh Babji]]></dc:creator>
            <pubDate>Thu, 14 Jun 2018 17:50:31 GMT</pubDate>
            <atom:updated>2018-06-27T17:06:17.866Z</atom:updated>
            <content:encoded><![CDATA[<p>RingCentral allows you to save Personal Contacts into the address book. You can store up to 10,000 contacts for each personal extension.</p><p>You can find a tutorial on importing Personal Contacts into your RingCentral Account: <a href="https://success.ringcentral.com/articles/RC_Knowledge_Article/5-10-Importing-Personal-Contacts">https://success.ringcentral.com/articles/RC_Knowledge_Article/5-10-Importing-Personal-Contacts</a></p><p>And likewise, the following tutorial explains how an account administrator can add personal contacts to his or her own extension: <a href="https://success.ringcentral.com/articles/RC_Knowledge_Article/5-10-Editing-Grouped-Contacts">https://success.ringcentral.com/articles/RC_Knowledge_Article/5-10-Editing-Grouped-Contacts</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zMHsfNdUqnYS2HaoEYyHsQ.png" /></figure><p>When there are no personal contacts saved at the extension level, the RingCentral Service Web Call-log list looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kiTdbeSs4YhGBRYHun_eOA.png" /></figure><p>And when calling the Call Log API, you can expect a response like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/916/1*nk-2j-I110KPJs52nf8fFA.png" /></figure><p>After saving the contact number in the Personal Contact this is how it shows up in the Service Web Online portal</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*th75nej3iA0c-8emH9BB4A.png" /></figure><p>And likewise, the contact name is shown in the Call Log API Response:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/1*sb_uWCTVcZfwgjZezd3jxg.png" /></figure><p>Here is the <strong>Admin level</strong> view for call-log from another extension on RingCentral’s Service Web Online Portal:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*th75nej3iA0c-8emH9BB4A.png" /></figure><p>And the corresponding Call Log API Response:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/794/1*Vu0U4W4XgwjsbmlDCk6Yzw.png" /></figure><p>Hopefully you enjoyed this quick overview on the correlation between RingCentral Contacts and the RingCentral Call Log/ Call Log API. Meanwhile, stay tuned for more up coming API spotlight blogs.</p><p><strong>Learn more about our Developer Program here: </strong><a href="https://developer.ringcentral.com/">https://developer.ringcentral.com/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9aee7a6841e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ringcentral-developers/relationship-between-ringcentral-personal-contacts-and-call-log-api-endpoint-9aee7a6841e">Relationship between RingCentral Personal Contacts and Call-log API</a> was originally published in <a href="https://medium.com/ringcentral-developers">RingCentral Developers</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Integrating RingCentral Developer Application with Workato]]></title>
            <link>https://medium.com/ringcentral-developers/integrating-ringcentral-developer-application-with-workato-357c4f8681a0?source=rss-d2b27ff4f9b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/357c4f8681a0</guid>
            <category><![CDATA[workato]]></category>
            <category><![CDATA[app-directory]]></category>
            <category><![CDATA[ringcentral]]></category>
            <category><![CDATA[oauth2]]></category>
            <category><![CDATA[ringcentral-developer]]></category>
            <dc:creator><![CDATA[Vyshakh Babji]]></dc:creator>
            <pubDate>Thu, 22 Feb 2018 00:16:55 GMT</pubDate>
            <atom:updated>2018-06-20T00:51:35.851Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/796/1*_cxgeqc3L_K8KdrTaH1oJA.png" /></figure><p>We can now integrate RingCentral Developer application on both production and sandbox environment with Workato using Http OAuth2.0 Connector that is available on Workato’s App Connection.</p><blockquote>Workato is an enterprise-class, no-code Integration and Automation platform that is trusted by over 18,000 businesses. You can seamlessly integrate RingCentral with CRM systems like Salesforce, Hubspot etc, or with any of our 1000+ apps without coding. Workato allows you to automate your workflows, and do bi-directional data syncs between your apps.</blockquote><p>By integration RingCentral with , you could seamlessly automate the workflows with RingCentral calls and SMS or automate the calling feature , send faxes and SMS from over 1000 other apps in timely and effective manner, in-turn gives ability to track customers’ touch points and eliminate hopping between the apps.</p><blockquote>With Workato’s prebuilt package of recipes with RingCentral ready to be installed and used, users can now — Log new calls in Salesforce (create new lead or event for lead) , Log new calls in Hubspot (create new contact or engagement call log activity for contact) , Send out a SMS to call recipient when there is a missed call in RingCentral, Send out SurveyMonkey Feedback Survey once RingCentral call has ended</blockquote><p>Its interesting to see how easy it is to connect RingCentral Developer App with Workato and build your own recipe with Workato. Here is the step by step process on how to connect your RC Developer App With Workato using Http OAuth 2.0 connector .</p><p><strong>Workato setup:</strong></p><ol><li>Signup for workato account. Workato provides free trail account as well. <a href="https://www.workato.com/users/sign_up"><em>Click here</em></a> to explore signup options. If you already have a workato account, <a href="https://www.workato.com/users/sign_in"><em>Click here</em></a> to Sign In .</li><li>Click on <strong>App Connections</strong> on Workato menu bar.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*odzVfpVbLuqxM3wr0xTssA.png" /></figure><p>3. Click on <strong>Create New Connection</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_Icg1cA_6UN9aKj-v9rlrw.png" /></figure><p>4. Select HTTP (OAuth2) under <strong>Application</strong> dropdown menu . You will see text boxes to add auth URL, token URL, Client ID and secret</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/899/1*o290lqeJGmSQlP7PT9V4MA.png" /></figure><p><strong>RingCentral App Setup :</strong></p><ol><li>Signup or SignIn for RingCentral Developer Account. RingCentral provides free trail developer account . <a href="https://developer.ringcentral.com/login.html#/"><em>Click here</em></a> to explore Sign up options. If you are already a RingCentral customer, Sign In using your RingCentral Credentials.</li><li>Create a Sandbox Developer Application on RC Developer portal. Its easy-just follow the wizard that allows you to create a sandbox app. <a href="https://developer.ringcentral.com/library/getting-started.html"><em>Click here</em></a> to learn more on how to setup your Sandbox application.</li><li>Make sure to add OAuth Redirect URI that is mentioned in the Workato’s Connection setup page.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/737/1*hADQ4Mv8AtSAVSF5zgci-w.png" /></figure><p>4. On creating your app , you will have Client ID and secret which you can place into Workato’s Connection page</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/829/1*SPQFfwTPNUX6J08fVIoORw.png" /></figure><p>Go back to Workato’s Connection page and fill up all the details .</p><ol><li>OAuth2 auth URL : <a href="https://platform.devtest.ringcentral.com/restapi/oauth/authorize?response_type=code"><em>https://platform.devtest.ringcentral.com/restapi/oauth/authorize?response_type=code</em></a></li><li>OAuth2 token URL : <a href="https://platform.devtest.ringcentral.com/restapi/oauth/token/"><em>https://platform.devtest.ringcentral.com/restapi/oauth/token</em></a></li></ol><p>3. OAuth2 Client ID : RC Developer app Client ID</p><p>4. OAuth2 Client Secret : RC Developer app Client Secret</p><p>5. Now click on Connect. This will take you to RC unified login page. Enter you sandbox credentials (production credentials if you are connecting your production app). Authorize your app to connect to Workato.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/439/1*-geFQ9WVovXW4fnM-EJjIA.png" /></figure><p>This is how your Workato Connection setup looks like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/950/1*FUqpM4e4SpWCpXBaldAbSw.png" /></figure><p>Thats it. Now you are ready to rock and roll :)</p><p><a href="https://apps1.ringcentral.com/apps?compatibility=ringcentral&amp;q=workato"><em>Click here</em></a> for additional information on <strong>Workato Integration with RingCentral</strong>.</p><p>To learn more about <strong>RingCentral Developer Program</strong> and start building cool integrations using RingCentral API’s visit <a href="https://developer.ringcentral.com/">https://developer.ringcentral.com/</a></p><p>For other RingCentral Developer Program related articles, visit our medium page by <a href="https://medium.com/ringcentral-developers"><em>clicking here</em></a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=357c4f8681a0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ringcentral-developers/integrating-ringcentral-developer-application-with-workato-357c4f8681a0">Integrating RingCentral Developer Application with Workato</a> was originally published in <a href="https://medium.com/ringcentral-developers">RingCentral Developers</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>