Skip to content

Commit 761b0b7

Browse files
committed
Update README.md
1 parent 83c25c3 commit 761b0b7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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);
663664
var 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) {
13771378
var sipPeer = <create/get sip peer>;
13781379

13791380
var voiceHttpSettings = {
1380-
httpVoiceV2AppId: "abcd-1234"
1381+
httpVoiceV2AppId: "abcd-1234"
13811382
}
13821383
await sipPeer.createOriginationSettingsAsync({voiceProtocol: "HTTP", httpSettings: voiceHttpSettings})
13831384
```

0 commit comments

Comments
 (0)