add ability to query tnnel id

This commit is contained in:
idk
2019-04-25 23:45:24 -04:00
parent f794cd513f
commit c9b61b818e
3 changed files with 17 additions and 15 deletions

View File

@ -21,8 +21,8 @@ func (c *Client) CreateStreamSession(id int32, dest string) (string, error) {
r, err := c.sendCmd(
"SESSION CREATE STYLE=STREAM ID=%d %s %s DESTINATION=%s %s %s\n",
c.id,
c.from(),
c.to(),
c.from(),
c.to(),
dest,
c.sigtype(),
c.allOptions(),