[OpenSIPS-Users] Proxy on INVITE with auth
igorolhovskiy at gmail.com
Mon Sep 25 09:00:23 EDT 2017
I’m trying to implement scenario, when OpenSIPS would be a proxy for IP auth SIP side and username/pass auth other side.
So, call scenario would be like
1. A -> INVITE -> OpenSIPS B
2. A OpenSIPS -> INVITE -> B
3. A OpenSIPS <- 401 <- B
4. A OpenSIPS -> INVITE (auth) -> B
5. A OpenSIPS <- 200 <- B
6. A <- 200 <- OpenSIPS
But the problem is in CSeq. On step 4, when sending INVITE with Auth CSeq should be changed from original (usually incremented), but on step 6, when replying back to A, it should be original.
I didn’t found better solution, than to manually manipulate with CSeq with append/remove headers.
So, maybe there is more OpenSIPS - wise way of doing this?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users