Closed denser closed 5 years ago
Both issues should be fixed now, please test once more. Thank you very much for reporting.
Thankyou for answer and now i have normally start b2bua :)
I have a question if you dony mind...
I try to unsuccessfully run a app in mode when i have 2 eth adapters(one local and one real IPs) and want to simulate registration on real IP but relay it to local sip server like it was initiated from local IP where run b2bua.
For now we use ZTE b100 and it do that job but it bare metal and no replace if disaster.
Could you tell me, if there a way to force b2bua work in this condition?
I am noob in GO, noob in VOIP and try to figure out how it works.
What i realize now: i need to replace header "From" and "To" and "Contact" to register but i cant realize what to do next to make calls after register. I have rtpproxy run at 22222 localhost...
I am lost a bit and need your help to move on.
simulate registration on real IP but relay it to local sip server like it was initiated from local IP where run b2bua.
This idea sounds wrong to me. If your registrar memorizes the address of your b2bua instead of the real address of the user UA, then an incoming call to that UA via the registrar will reach the b2bua and b2bua will not know where to send that INVITE further. The current behavior of the b2bua is correct - it receives the incoming REGISTER, does not alter the real address of the UA in the Contact and sends it to your local registrar, so the local registrar later can send incoming call to a correct address (directly or via some proxy).
This is off-topic though.
I am complete rookie in GO. So after make I get compiled app and run it and try to register with soft phone (XXX - real IP address)
So i try to make test and get another error