Re: [SR-Users] Hangup a call after a certain time from 183

2022-06-13 Thread Alex Balashov
Hi, I think the approach you are contemplating is unnecessarily complicated. :-) Take a look at this option: https://kamailio.org/docs/modules/5.6.x/modules/tm.html#tmp.p.fr_inv_timer If you want to start the timer from the moment of a 183 specifically and not any other non-100 1xx provisional r

[SR-Users] Hangup a call after a certain time from 183

2022-06-13 Thread Antonio Couto
I need to hang up a call after some seconds after received 183 provisional response but before any other SIP message. I am using "rtimer" module to set a callback on time, but how can I search for a call on transaction module in order to terminate the call? I think I am missing something to prepar

Re: [SR-Users] issue using phonenum module

2022-06-13 Thread Daniel-Constantin Mierla
Did you print $var(canonized_ani) in syslog to be sure it has the expected value? Other log messages that can give any hint in syslog (try debug=3)? Cheers, Daniel On 13.06.22 16:21, David Escartín wrote: > hello,  > > i'm using > if (phonenum_match_cn("$var(canonized_ani)", "ZZ", "ani")) { > ...

Re: [SR-Users] ACC CDR accounting

2022-06-13 Thread Daniel-Constantin Mierla
Hello, is the cdrs_table modparam set? I do not use this cdrs generation from acc myself, but seems to be required. Also, note that acc table will always get the event records, cdrs are in another table. Cheers, Daniel On 13.06.22 12:22, Henning Westerholt wrote: > > Hello, > >   > > strange. An

Re: [SR-Users] issue using phonenum module

2022-06-13 Thread David Escartín
hello, i'm using if (phonenum_match_cn("$var(canonized_ani)", "ZZ", "ani")) { where $var(canonized_ani) holds in this case "+576015145834" best regards david El lun, 13 jun 2022 a las 16:16, Ben Kaufman () escribió: > How are you calling the function in Kamailio? It’s possible that the >

Re: [SR-Users] issue using phonenum module

2022-06-13 Thread Ben Kaufman
How are you calling the function in Kamailio? It's possible that the appspot app tries a few variations on formatting that result in success. From the phonum module doc for phonenum_match_cn(num, cnc, pvc) : Note from libphonenumber library docs: country name code is the region that is expec

Re: [SR-Users] issue using phonenum module

2022-06-13 Thread Alex Balashov
My best guess is that `libphonenumber` just isn't perfect ... :-) -- Alex On Mon, Jun 13, 2022 at 9:49 AM David Escartín wrote: > Hello all > > we are using the phonenum_match_cn function to detect valid phone numbers, > but seems there are some numbers like 576015145834 which are no detected a

[SR-Users] issue using phonenum module

2022-06-13 Thread David Escartín
Hello all we are using the phonenum_match_cn function to detect valid phone numbers, but seems there are some numbers like 576015145834 which are no detected as valid ones, $phn(ani=>valid) --> 0 $phn(ani=>ccname) --> $phn(ani=>cctel) --> 0 $phn(ani=>error) --> Invalid number but using https://l

Re: [SR-Users] ACC CDR accounting

2022-06-13 Thread Henning Westerholt
Hello, strange. Any error message or something odd in the log messages? I think you need to start to debug it, e.g. by increasing log level. Maybe somebody else can also share some hints. Cheers, Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https://gilawa.com

[SR-Users] KAZOO module on quorum queues

2022-06-13 Thread David VILLAUME
Hello, Did any of you had any success with Kazoo module with RabbitMq quorum queues ? Regards, David __ Kamailio - Users Mailing List - Non Commercial Discussions * sr-users@lists.kamailio.org Important: keep the mailing list in the recip

Re: [SR-Users] problem getting the rtp packet source port

2022-06-13 Thread Patrick Karton
Thé port in SDP is the port from which the endpoint wants to receive. It is not mandatory to use the same port to send traffic.Unless you know the endpoint will use symetric rtp. There is no way to know in avance which port it will use to send.Le 12 juin 2022 14:40, hamed r a écrit :hello i have p