El Viernes, 15 de Enero de 2010, Daniel-Constantin Mierla escribió:
does not require b2bua and it is not that complex to implement (code for auth is there, just needs the structure to hold active registration states to refresh at expire time), I was even thinking to do it at some point, but the work to get 3.0.0 out kept me busy.
You can use sipsak (via crond) or maybe sems to register cotacts pointing to your sip server, e.g., username@yourporxyipandport, and then you simply route inbound calls as usually.
But also ensure that your Kamailio and sipsak are not behind NAT. If not, in case the provider performs NAT "fixing" it would send incoming calls to the source IP from which sipsak sends the REGISTER.
then sipsak should use kamailio as outbond proxy.
Or it could avoid using Kamailio as outbound proxy and set REGISTER "Contact" to the binding address of Kamailio :)
(but this wouldn't work if the provider ignores the "Contact" URI and instead takes the public source address:port :(