[Spce-user] adding permanent registrations/contacts fails following DB restore

Gavin Sweet gavin.sweet at skyracktelecom.com
Mon Apr 22 13:30:27 EDT 2013


Hi Andreas - thanks for your reply

> Can you check with "ngcp-kamctl proxy ul show --brief" whether the
> contact is there? Since registrations need to be present in the
> kamailio cache, the ngcp backend doesn't write such contacts directly
> into the db, but initiates an xmlrpc call to kamailio, which in turn
> syncs it into the db.

I updated the addresses in provisioning.xmlhosts to align with the correct
IPs. I guess these were incorrect because this lab box was restored from the
data on the production server.
I then did as you  requested to see the cache and also made a restart
("service kamailio-proxy restart"), but unfortunately new contacts are still
not being written back in to DB, whether creating on GUI or API.

I thought maybe this was some kind of access problem, so I looked at
constants.yml but was unclear exactly what should be set how.
The only difference that I could see between production and lab was in the
"ossbss:   provisioning:    acl: " section.
On production we have "pass: PW_PROV_PROXY"
On lab we have "pass: Aj7uUyzoqfusKkUT4j4d" (a hash I assume?)

So I tied setting the lab box the same, and restarting the proxy, but this
didn't work, still cant get a contact to go into DB.
 
> Also, did you change anything in regards to local ip addresses? Are the
> ips and ports where kamailio and other services are running on the same
> as in the provisioning.xmlhosts table?

Is there anywhere else (in the DB, not the config) where there are important
local host variables stored?

Thanks again
Gavin





More information about the Spce-user mailing list