File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ This SDK stable for node versions 7 and above
2828| 1.4.0 | Added TnOptions endpoints and functionality, along with SMS options on sip peers. |
2929| 1.6.0 | Added create origination settings for sip peers |
3030| 1.7.0 | Added get products to account |
31+ | 1.7.1 | Fix TnOptions.create() callback bug |
3132
3233
3334## Install
@@ -663,7 +664,7 @@ numbers.RateCenter.list(query, callback);
663664var data = {
664665 peerName: " A New SIP Peer" ,
665666 isDefaultPeer: false ,
666- shortMessagingProtocol: " SMPP" , // `HTTP` for use with the v2 messaging API
667+ shortMessagingProtocol: " SMPP" , // `HTTP` for use with the v2 messaging API
667668 siteId: selectedSite,
668669 voiceHosts: [ // optional
669670 {
@@ -672,7 +673,7 @@ var data = {
672673 }
673674 }
674675 ],
675- smsHosts: [ // optional
676+ smsHosts: [ // optional
676677 {
677678 host: {
678679 hostName: " 1.1.1.1"
@@ -1377,7 +1378,7 @@ catch (e) {
13771378var sipPeer = < create/ get sip peer> ;
13781379
13791380var voiceHttpSettings = {
1380- httpVoiceV2AppId: " abcd-1234"
1381+ httpVoiceV2AppId: " abcd-1234"
13811382}
13821383await sipPeer .createOriginationSettingsAsync ({voiceProtocol: " HTTP" , httpSettings: voiceHttpSettings})
13831384` ` `
You can’t perform that action at this time.
0 commit comments