Re: [SR-Users] remove_hf() does not remove the complete line

2022-08-11 Thread Bernd Krueger-Knauber
Hello Henning, thanks for your response. We had a problem were a BYE was not sended by the pbx. So I wanted to test if it makes a difference if only the Record-Route entry is in the header of the INVITE. But in general, I will call this a bug in kamailio. There is nothing written about

Re: [SR-Users] remove_hf() does not remove the complete line

2022-08-11 Thread Bernd Krueger-Knauber
Hi, if I remove only 1 of 2 it is not against the standard, because one Via header line is still inside. But if I modify the documentation I would write: "Attention: it is not working with a Via header field" Then everyone thinks: ok, that is the only point where it will not work. But how

[SR-Users] remove_hf() does not remove the complete line

2022-08-09 Thread Bernd Krueger-Knauber
Hi, I tried to remove a Via header line with: remove_hf("Via"); Original I have this 2 lines: Via: SIP/2.0/TCP xxx.xxx.xxx.xxx;branch=z9hG4bK370b.21720bb33c4f8264fde4e7994d288a57.0;i Via: SIP/2.0/TCP

Re: [SR-Users] Problem with update/retrigger a htable

2022-11-21 Thread Bernd Krueger-Knauber
ints of what happens. Also, dump the htable via rpc to see its content. Cheers, Daniel On 21.11.22 08:50, Bernd Krueger-Knauber wrote: Hi members, I run into a problemm with htable. For user push notifications I need a loop. So I did the following for a first test: modparam("htable&q

[SR-Users] Problem with update/retrigger a htable

2022-11-20 Thread Bernd Krueger-Knauber
Hi members, I run into a problemm with htable. For user push notifications I need a loop. So I did the following for a first test: modparam("htable", "htable", "user=>size=3;autoexpire=5") ... event_route[htable:mod-init] {     xinfo("htable init");     $sht(user=>testkey) = "testvalue"; }

[SR-Users] Re: sendig 4 byte udp nat pings

2023-02-17 Thread Bernd Krueger-Knauber
Hi, I don't think that your ideas are possible. I need to send the keepalive to the PBX on the same ip:port connection which is in use. If I add something static, this will not work. Am 17.02.2023 um 12:19 schrieb Daniel-Constantin Mierla: On 17.02.23 11:44, Bernd Krueger-Knauber wrote

[SR-Users] Re: sendig 4 byte udp nat pings

2023-02-17 Thread Bernd Krueger-Knauber
Ok, one step further. I need to use save() to add the phone as 'contact' when I get a REGISTER I get now keepalive packets to the phone, but ... I need them also to the PBX. I can not add the PBX as contact, because it does not register. I think there is no possibilty to add a manual entry in

[SR-Users] Re: sendig 4 byte udp nat pings

2023-02-17 Thread Bernd Krueger-Knauber
Mierla: Hello, On 17.02.23 08:32, Bernd Krueger-Knauber wrote: Hi, The usrloc keepalive sends only via SIP OPTIONS.. Is this right? So it is not what I want Do I need some usrloc settings? Btw. I use kamailio 5.6 usrloc sends only SIP (OPTIONS) keepalives, if you want the 4-bytes UDP keepalive

[SR-Users] Re: sendig 4 byte udp nat pings

2023-02-17 Thread Bernd Krueger-Knauber
Thank you for this hints. I will try if I can manage one of the possibilities. Am 17.02.2023 um 12:19 schrieb Daniel-Constantin Mierla: On 17.02.23 11:44, Bernd Krueger-Knauber wrote: Ok, one step further. I need to use save() to add the phone as 'contact' when I get a REGISTER I get now

[SR-Users] Re: sendig 4 byte udp nat pings

2023-02-17 Thread Bernd Krueger-Knauber
13:15 schrieb Daniel-Constantin Mierla: Well, if you don't know the ip:port of the pbx and the pbx does not register ... but you should know something about the PBX, how do you send traffic to it and how do you trust the traffic from it? On 17.02.23 12:39, Bernd Krueger-Knauber wrote: Hi, I

[SR-Users] sendig 4 byte udp nat pings

2023-02-16 Thread Bernd Krueger-Knauber
Hi, maybe I'm stupid, but I can not find out how to send 4 byte UDP NAT packets to the sip server. loadmodule "nathelper.so" modparam("nathelper", "natping_interval", 15) modparam("nathelper|registrar", "received_avp", "$avp(s:rcv)") I'm a absolute beginner with kamailio and the page about

[SR-Users] Re: sendig 4 byte udp nat pings

2023-02-16 Thread Bernd Krueger-Knauber
Hi, The usrloc keepalive sends only via SIP OPTIONS.. Is this right? So it is not what I want Do I need some usrloc settings? Btw. I use kamailio 5.6 Best regards, Bernd __ Kamailio - Users Mailing List - Non Commercial Discussions To

[SR-Users] Kamailio 5.6.4 and htable dbmode=1

2023-07-13 Thread Bernd Krueger-Knauber
Hi, I just tried to use sqlite and htable to load and save the values. At start I can see in the log, that all parameters are correct and that htable want to load the values from the table. No errors. But if I stop kamailio, nothing is written to the tables. At start I can see: kamailio[]:

[SR-Users] Fwd: Kamailio 5.6.4 and htable dbmode=1

2023-07-17 Thread Bernd Krueger-Knauber
Weitergeleitete Nachricht Betreff:Re: [SR-Users] Kamailio 5.6.4 and htable dbmode=1 Datum: Mon, 17 Jul 2023 09:50:37 +0200 Von:Bernd Krueger-Knauber An: mico...@gmail.com Hi Daniel, thank you for your response. As you can see in the provided debug output

[SR-Users] Kamailio 5.6.4 and htable dbmode=1

2023-07-17 Thread Bernd Krueger-Knauber
7.07.2023 um 08:48 schrieb Daniel-Constantin Mierla: Hello, is dbmode=1 in htable definition? If you run rpc command htable.store for the htable, are the records saved to database? Cheers, Daniel On 13.07.23 17:45, Bernd Krueger-Knauber wrote: Hi, I just tried to use sqlite and htable to load

[SR-Users] 5.6.4 debian htable dbmode=1 not writing at shutdown

2023-07-24 Thread Bernd Krueger-Knauber
Hi, I have still the problem that my htables are not written into a sqlite db when I shutdown kamailio. Manual writing via: kamcmd htable.store ... is working. As I can see in the logs with highest loglevel, the function destroy() is never called. ht_db_url.len is > 0 ht_db_init_con()

[SR-Users] pseudo variable in include_file not possible

2023-11-13 Thread Bernd Krueger-Knauber via sr-users
Hi, since we use git also for our kamailio stuff, we need to check in also host specific stuff. (same kamailio.cfg but different addresses and ... ) For this I thought an include_file for different hosts would be nice, but I can not check in the different host specific files, because I can

[SR-Users] Incoming IPv6 is send to IPv4 of the PBX instead of IPv6

2024-04-22 Thread Bernd Krueger-Knauber via sr-users
Hi, I set up a transparent kamailo proxy for IPv4 and IPv6. The PBX which should be reached can handle both. Now I have the case that the phone comes in on IPv6, but kamailio sends it out via IPv4. If I ping the PBX on the kamailio server (debian) I get the IPv6 address, since it is

[SR-Users] Re: Incoming IPv6 is send to IPv4 of the PBX instead of IPv6

2024-04-22 Thread Bernd Krueger-Knauber via sr-users
But ... now I have the opposite. I always use IPv6 for outgoing. I would like to use the same address family for outgoing as it is incoming. (if possible) Bernd __ Kamailio - Users Mailing List - Non Commercial Discussions To

[SR-Users] Re: Incoming IPv6 is send to IPv4 of the PBX instead of IPv6

2024-04-22 Thread Bernd Krueger-Knauber via sr-users
Hi Sergey, you nailed it! Thank you for your fast response. If you know where to look it appears simple. But if you have no idea from where the problem comes from ... Best regards, Bernd __ Kamailio - Users Mailing List - Non Commercial