-
Hi, I used exosip2 to create options by |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
simple. Create request with OPTION method and recipient create client (you have that on readme), and just do transaction request on tx you have Respond channel to grab response, rest you can ignore in this case. Pls close if you figure this out, |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick reply, I'll try ~~~~ |
Beta Was this translation helpful? Give feedback.
-
solved ~~ |
Beta Was this translation helpful? Give feedback.
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,