Re: [SR-Users] getting source IP from Contact header

2017-03-22 Thread Kordován Szabolcs
Hello, You can use {uri.host} transformation. Regards, Szabolcs 2017-03-22 18:23 GMT+01:00 Ali Taher : > Hello everyone, > > > > I’m trying to get the host part from the contact header in the sip invite > packet. > > > > Fo

Re: [SR-Users] ACC - Cdr enabled

2017-03-20 Thread Kordován Szabolcs
on: OK > > *** 1. row *** >id: 61975 >method: INVITE > from_tag: 40511 >to_tag: >callid: 40511-2397@172.16.213.21 > sip_code: 503 >sip_reason: Service Unavailable > > thanks, > >

Re: [SR-Users] ACC - Cdr enabled

2017-03-20 Thread Kordován Szabolcs
Hi, How do you mean 'hangup cause'? ISUP cause call? If the server supports isup cause it can insert an additional header (eg. X-Asterisk-HangupCauseCode) but it is not mandatory. I think you have to know the name of the header which contains the cause code and you can read it. if (is_present_hf(

Re: [SR-Users] No cdr after Kamailio 5.0 restart

2017-03-20 Thread Kordován Szabolcs
currently > testing it. We will try push it upstream as soon as possible. We will > answer on this thread when a fix is upstream. > > Regards, > Paul > > Am 14.03.2017 um 22:00 schrieb Kordován Szabolcs: > > Hello Daniel, > > Sorry for my reply, I didn't r

Re: [SR-Users] No cdr after Kamailio 5.0 restart

2017-03-14 Thread Kordován Szabolcs
Hello Daniel, Sorry for my reply, I didn't receive your mail. So, only the active calls are affected. The new call, from invite to bye-ok, is recorded into table acc and acc_cdrs. Regards, Szabolcs 2017-03-14 11:13 GMT+01:00 Kordován Szabolcs : > Hi, > > I use acc module for crea

[SR-Users] No cdr after Kamailio 5.0 restart

2017-03-14 Thread Kordován Szabolcs
Hi, I use acc module for create cdr into db and also make acc log into db. After restart Kamailio cdr won't be created but acc log will be inserted into db. In the syslog also I see just the acc log. The dialog will be remove from db. I have read many threads. I know that it should work. Thanks