it was my mistake

there must be

#!define WITH_NAT in downloaded https://github.com/kamailio/kamailio/blob/master/misc/examples/kemi/kamailio-basic-kemi.cfg


Marek

Dne 2023-12-22 v 11:36 marek napsal(a):
hi,

trying kamailio 5.7.3 with KEMI pythons3s

sample from https://github.com/kamailio/kamailio/blob/master/misc/examples/kemi/kamailio-basic-kemi-python3s.py

trying simple register with sipsak

sipsak -U  --sip-uri "sip:[email protected]"  -u cervajs -a top_secret


 4(28805) ERROR: PY8 {REGISTER}: app_python3s [apy3s_kemi.c:141]: apy3s_exec_func(): error exception occurred  4(28805) ERROR: PY8 {REGISTER}: app_python3s [apy3s_exception.c:167]: apy3s_handle_exception(): apy3s_exec_func: ksr_request_route((null)): Unhandled exception in the Python code:
Traceback (most recent call last):
  File "/etc/kamailio/kamailio.py", line 31, in ksr_request_route
    if ksr_route_natdetect()==-255 :
  File "/etc/kamailio/kamailio.py", line 238, in ksr_route_natdetect
    if KSR.nathelper.nat_uac_test(19)>0 :
AttributeError: module 'KSR' has no attribute 'nathelper'


i see nat_uac_test in doc

https://kamailio.org/docs/tutorials/5.7.x/kamailio-kemi-framework/modules/#ksrnathelpernat_uac_test


any tips/ideas?


happy christmas

Marek

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:

Reply via email to