Hello Daniel,

I have done some extensive testing this time to be sure and it looks like 
Kamailio doesn't crash anymore, which is good. So issue solved, thank you.

I have only these errors in logs, which are normal and I think I can handle 
them:

```
Oct 26 09:48:51 system /usr/local/sbin/kamailio[11856]: INFO: <script>:  
REGISTRAR: registrar successful, status 1, contacts inserted: M=REGISTER 
RURI=sip:example.com F=sip:proxy.example.com T=sip:al...@example.com 
IP=10.37.145.129 destination -  UA=kamailio (4.4.0-dev5 (i386/linux))
Oct 26 09:48:51 system /usr/local/sbin/kamailio[11855]: WARNING: db_postgres 
[km_dbase.c:277]: db_postgres_submit_query(): postgres result check failed with 
code 7 (PGRES_FATAL_ERROR)
Oct 26 09:48:51 system /usr/local/sbin/kamailio[11855]: WARNING: db_postgres 
[km_dbase.c:281]: db_postgres_submit_query(): postgres query command failed, 
connection status 0, error [ERROR:  duplicate key value violates unique 
constraint "pua_pua_idx"#012DETAIL:  Key (etag, tuple_id, call_id, from_tag)=(, 
, 7fb9d7fe-11854, 925159b1c018b9f775ed54c55b81927f-1383) already exists.#012]
Oct 26 09:48:51 system /usr/local/sbin/kamailio[11855]: ERROR: db_postgres 
[km_dbase.c:290]: db_postgres_submit_query(): 0xb6606c68 PQsendQuery Error: 
ERROR:  duplicate key value violates unique constraint "pua_pua_idx"#012DETAIL: 
 Key (etag, tuple_id, call_id, from_tag)=(, , 7fb9d7fe-11854, 
925159b1c018b9f775ed54c55b81927f-1383) already exists.#012 Query: insert into 
pua 
(pres_id,pres_uri,call_id,from_tag,expires,desired_expires,flag,to_tag,cseq,record_route,contact,remote_contact,version,extra_headers,event,watcher_uri,etag,tuple_id
 ) values 
('','sip:s...@proxy.example.com:5060','7fb9d7fe-11854','925159b1c018b9f775ed54c55b81927f-1383',1445852931,1445852931,8192,'4260ae64576ca2ee5520eccf59d42b8c-c6c6',10,'','sip:regi...@example.com:5060','sip:prese...@proxy.example.com',0,'',64,'sip:regi...@example.com:5060','','')
Oct 26 09:48:51 system /usr/local/sbin/kamailio[11855]: ERROR: <core> 
[db_query.c:235]: db_do_insert_cmd(): error while submitting query
Oct 26 09:48:51 system /usr/local/sbin/kamailio[11855]: ERROR: db_postgres 
[km_dbase.c:580]: db_postgres_store_result(): invalid query, execution aborted
Oct 26 09:48:51 system /usr/local/sbin/kamailio[11855]: ERROR: db_postgres 
[km_dbase.c:581]: db_postgres_store_result(): driver error: PGRES_FATAL_ERROR, 
ERROR:  duplicate key value violates unique constraint "pua_pua_idx"#012DETAIL: 
 Key (etag, tuple_id, call_id, from_tag)=(, , 7fb9d7fe-11854, 
925159b1c018b9f775ed54c55b81927f-1383) already exists.#012
Oct 26 09:48:51 system /usr/local/sbin/kamailio[11855]: WARNING: db_postgres 
[km_dbase.c:627]: db_postgres_insert(): unexpected result returned
Oct 26 09:48:51 system /usr/local/sbin/kamailio[11855]: ERROR: db_postgres 
[km_dbase.c:934]: db_postgres_replace(): insert failed
Oct 26 09:48:51 system /usr/local/sbin/kamailio[11855]: ERROR: pua 
[pua_db.c:642]: convert_temporary_dialog_puadb(): Failed replace db
Oct 26 09:48:51 system /usr/local/sbin/kamailio[11855]: ERROR: pua 
[send_subscribe.c:698]: subs_cback_func(): Could not convert temporary dialog 
into a dialog
```

---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/377#issuecomment-151066985
_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to