Skip to content
Discussion options

You must be logged in to vote

hi @zcc0077 . I am not clear where you want to timeout.
TransactionRequest ctx has only effect on building connection, but not on response. It returns you transaction object on which you wait for response until transaction timeouts from SIP timers. More on this below
Ofcourse you can wrap this with timeout on how long you want to wait.

sipgo is currently more on low level API, comparing like std http, I avoid wrapping too much. I see some potential like wrapping this stuff for things where you want to just send request and get response. In this case ctx behavior would be extended.

As for transaction timeouts. You need to watch also on SIP timers. So transaction can timeout tx.Done() due t…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@emiago
Comment options

Answer selected by zcc0077
@zcc0077
Comment options

@zcc0077
Comment options

@emiago
Comment options

@emiago
Comment options

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