Skip to content

How to create OPTION message? #80

Closed Answered by emiago
zcc0077 asked this question in Q&A
Discussion options

You must be logged in to vote

simple.

Create request with OPTION method and recipient
req := sip.NewRequest(....)

create client (you have that on readme), and just do transaction request
tx, err := client.TransactionRequest(ctx, req)

on tx you have Respond channel to grab response, rest you can ignore in this case.

Pls close if you figure this out,

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by zcc0077
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants