Re: [SR-Users] Dialog profile not defined

2020-12-10 Thread Gertjan Wolzak
Hello Henning, Thank you, will keep digging... Dialog does work now, so priority is a bit lower. Gertjan On 12/10/20 11:21 AM, Henning Westerholt wrote: Hi Gertjan, there is no usage of the htable API etc.. in the dialog module. So if there is a dependency in your setup, it can be only be

Re: [SR-Users] Dialog profile not defined

2020-12-10 Thread Gertjan Wolzak
Hello Kamailions, Well, I think I found the cause of my issue where the Dialog profile was not defined.. Well it was. I had not enabled antiflood, by not enabling antiflood, the htable module was also not loaded... I guess the us of profiles_with_value parameter needs htable? Is that

Re: [SR-Users] Dialog profile not defined

2020-12-06 Thread Gertjan Wolzak
Thank you Joel for the tip. But that is also not it. I tried of course, but when you look at the Dialog module documentation is says: modparam("dialog", "profiles_with_value", "caller ; my_profile") So there are spaces in the modparam config for the dialog profiles. Its just so strange

Re: [SR-Users] Dialog profile not defined

2020-12-05 Thread Gertjan Wolzak
Thanks again Sergiu, /Hmmm... if dialog params are wrapped in a ifdef condition, then do you have something like #!define WITH_DIALOG at the top?/ But the #!define WITH_DIALOG is to choose between loading module parameters or not loading module parameters... When you do not add #!ifdef

Re: [SR-Users] Dialog profile not defined

2020-12-04 Thread Gertjan Wolzak
Hello Sergiu, Thank you for the pointer, the line 1576 is: get_profile_size("callee", "$avp(custid)", "$avp(concurrent)"); That is where Kamailio refuses to start And as you mentioned my error in the IF statement after correction you pointed out, Kamailio still refuses on the fact

[SR-Users] Dialog profile not defined

2020-12-03 Thread Gertjan Wolzak
fined DecĀ  3 09:12:08 proxy01 kamailio[74102]: ERROR: [core/route.c:1166]: fix_actions(): fixing failed (code=-6) at cfg:/usr/local/etc/kamailio/kamailio.cfg:1576 Is someone able to see where I go wrong and point me in the right direction? Thank you. Rgds, Gertjan Wolzak ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] Reading presence state

2019-07-19 Thread Gertjan Wolzak
To: "sr-users" , "Gertjan Wolzak" Sent: Friday, July 19, 2019 10:43:39 AM Subject: Re: [SR-Users] Reading presence state Hello Gertjan, if you just want to monitor the dialog count of a user internally in your cfg, you don't need to use the presence modules. This can

Re: [SR-Users] Reading presence state

2019-07-15 Thread Gertjan Wolzak
by querying the presentity table, but that wont work to check if an extension is not in a call due to the expires value an dthe clean_period parameters. With extension I mean user.. Thank you. Rgds, Gertjan From: "Henning Westerholt" To: "sr-users" Cc: "Gertj

[SR-Users] Reading presence state

2019-07-08 Thread Gertjan Wolzak
Hello Kamailions, I have been able to get the presence configured, subscribers see the status of their subscriptions, this is working fine, for internal, incoming external and external calls. This was solved by enabling use_pubruri_avps in the pua_dialoginfo module. Now I want to be able

[SR-Users] Presence publish manipulation

2019-06-26 Thread Gertjan Wolzak
Hello Kamailions, I'm running into the following challenge. A kamailio setup where phones register with their mac address as uid and a password. Users have to login to the system by dialing a special number where they have to enter their internal extension and a pin code. Now the system

Re: [SR-Users] Fwd: Re: reading php script result with exec_avp

2019-06-07 Thread Gertjan Wolzak
Hello Daniel, The result shows something.. {1 2 INVITE 0_372743387@10.88.77.184} 4(71763) DEBUG: exec [exec_hf.c:293]: print_hf_var(): SIP_HF_FROM="0015659a9931" ;tag=3513769255 {1 2 INVITE 0_372743387@10.88.77.184} 4(71763) DEBUG: exec [exec_hf.c:293]: print_hf_var():

Re: [SR-Users] Fwd: Re: reading php script result with exec_avp

2019-06-07 Thread Gertjan Wolzak
Thanks again Daniel, Ive run the scenario with debug enabled: {1 2 INVITE 0_3892118735@10.88.77.184} 6(71459) exec: *** cfgtrace:request_route=[FROMUPDATE_EXTERN] c=[/etc/kamailio/kamailio.cfg] l=1688 a=63 n=assign {1 2 INVITE 0_3892118735@10.88.77.184} 6(71459) exec: ***

[SR-Users] Fwd: Re: reading php script result with exec_avp

2019-06-06 Thread Gertjan Wolzak
s do not work. I am stil thinking that my php script is not presenting the value in the correct manner... Should a value presented by an echo command be read by the exec_avp command? Rgds, Gertjan Wolzak Forwarded Message Subject:Re: [SR-Users] reading php script

Re: [SR-Users] reading php script result with exec_avp

2019-06-06 Thread Gertjan Wolzak
, are you sure that the script is executed? You give a relative path and kamailio changes working directory to / if you don't give -w parameter? Try with absolute path. Cheers, Daniel On 05.06.19 14:10, Gertjan Wolzak wrote: Hello Kamailions, I have the following challenge. I want to create

[SR-Users] reading php script result with exec_avp

2019-06-05 Thread Gertjan Wolzak
Hello Kamailions, I have the following challenge. I want to create a time dependent callerid, based on the time of a outgoing call a callerid will be set. I have a php script, that provides me an id number which relates to an cli. When I run that php script from the console, the id is shown

Re: [SR-Users] TLS challenge

2019-02-07 Thread Gertjan Wolzak
. Thanks for now. Rgds, Gertjan Wolzak ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

[SR-Users] TLS challenge

2019-02-05 Thread Gertjan Wolzak
ult] method = TLSv1.2 verify_certificate = no require_certificate = no ca_list = /etc/kamailio/tls/cacert.pem I have tried forcing the socket on the sending kamailio, but that does not work. Any feedback on what I am doing wrong or where I can find information to extend my knowledge would

Re: [SR-Users] Setup dmq_usrloc

2018-12-17 Thread Gertjan Wolzak
Hello Kamailions, Reading and understanding is a skill in it self.. Learned a bit more of that this morning. To be able to use the dmq_ursloc, just use: if(is_method("KDMQ")) { dmq_handle_message(); } So, I have registrar replication working, on with reading

[SR-Users] Setup dmq_usrloc

2018-12-17 Thread Gertjan Wolzak
Hello Kamailions, Im trying to setup registration replication with the use of the dmq and dmq_usrlog modules. I have configured two servers, configured kamailio on both. When I register a sip client on the one I get a nice KDMQ message on the second server, but the second server reacts

Re: [SR-Users] Reading the P-Assserted-identity header

2017-11-02 Thread Gertjan Wolzak
Alex and Daniel, Thank you for the feedback, the tip from Daniel helped me pinpoint the problem. And the the one from Alex showed that. The problem was between keyboard and chair, I should have seen that the SBC removed the PAI. Once I changed that, the PAI arrived at Kamailio and

[SR-Users] Reading the P-Assserted-identity header

2017-11-01 Thread Gertjan Wolzak
Hello Kamailions, I receive anonymous calls where the PAI has a prefix which I need to strip before forwarding the call to a proxy. I am trying to read the the header with $hdr(P-Asserted-Identity) and I tried the $ai pseudovariable, but I get an empty reply back every time. xlog("PAI is

[SR-Users] Manipulate From URI username

2017-10-04 Thread Gertjan Wolzak
uest_route=[MOMANX] c=[/usr/local/etc/kamailio/kamailio.cfg] l=1091 a=45 n=strip 29(9610) exec: *** cfgtrace:request_route=[MOMANX] c=[/usr/local/etc/kamailio/kamailio.cfg] l=1093 a=5 n=route Does anyone see what I am doing wrong? Help would be appreciated. Rgds, Gert

Re: [SR-Users] kamcmd uac commands not working

2017-07-26 Thread Gertjan Wolzak
Hello Daniel, Yes, that are the parameters I've set. But just found out why the kamcmd uac commands were not working. Looks like you have to have a succesfull registry to be able to give the uac.reg_xxx command. Once I had a succesfull registration, the command works. So, I will continue