Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I_perform_user_authorization_request(): no int value param passed #1099

Closed
riccardovarotto opened this issue Apr 27, 2017 · 10 comments
Closed

Comments

@riccardovarotto
Copy link

Description

Using I-CSCF Kamailio module with 5.0.1 version we got the error:
"I_perform_user_authorization_request(): no int value param passed"

Same configuration file works well on 5.0.0 version

Troubleshooting

Reproduction

Debugging Data

1(26715) ERROR: *** cfgtrace:request_route=[register] c=[/etc/KAMAILIO_ASTERISK_CFG/IMS_5/icscf/./kamailio.cfg] l=374 a=26 n=I_perform_user_authorization_request
1(26715) ERROR: [core/sr_module.c:1766]: get_int_fparam(): Unexpected param type: 1280329042
1(26715) ERROR: ims_icscf [registration.c:78]: I_perform_user_authorization_request(): no int value param passed
1(26715) ERROR: *** cfgtrace:request_route=[register] c=[/etc/KAMAILIO_ASTERISK_CFG/IMS_5/icscf/./kamailio.cfg] l=375 a=26 n=send_reply

log_ko.gz

kamailio.cfg.txt

(paste your debugging data here)

Log Messages

(paste your log messages here)

SIP Traffic

(paste your sip traffic here)

Possible Solutions

Additional Information

  • Kamailio Version - output of kamailio -v
(paste your output here)
  • Operating System:
(paste your output here)
@miconda
Copy link
Member

miconda commented Apr 27, 2017

This is about configuring kamailio, use sr-users@lists.kamailio.org mailing lists for such discussions.

The bug tracker here is to report bugs in the C code.

Look also at the docs for the function you report having problem with its parameters:

@riccardovarotto
Copy link
Author

riccardovarotto commented Apr 27, 2017

Yes, but I think something wrong enter on C parsing code of version 5.0.1 of the second parameter of the above configuration function.

@miconda
Copy link
Member

miconda commented Apr 27, 2017

There were no recent changes in that module in branch 5.0:

commit 78f0b44532b0a2a7a97068e0f68832dec6b1b5b2
Author: Victor Seva <linuxmaniac@torreviejawireless.org>
Date:   Mon Feb 13 15:29:35 2017 +0100

    ims_icscf: Rename module interface file #82

    (cherry picked from commit 149b76b99a6c6f89cd5e95d33b9d9ac11208fd3f)

commit 728c7e477634f30f251dee804ffa505c675bb2e4
Author: Victor Seva <linuxmaniac@torreviejawireless.org>
Date:   Mon Jan 16 09:58:41 2017 +0100

    ims_icscf: fix compiler warnings
...

@ngvoice may comment, but again it feels like a config issue.

@riccardovarotto
Copy link
Author

The problem is not in that module as on log:

1(26715) ERROR: [core/sr_module.c:1766]: get_int_fparam(): Unexpected param type: 1280329042

@miconda
Copy link
Member

miconda commented Apr 27, 2017

get_int_fparam() is a helper function that didn't change probably for more than 5 years. The error is triggered by the module, when trying to use the helper function.

Show what you have in config at line 374

@kamailio-sync
Copy link

kamailio-sync commented Apr 27, 2017 via email

@riccardovarotto
Copy link
Author

Thank you

@ngvoice
Copy link
Member

ngvoice commented Apr 28, 2017

Fixed in Commit c270da3 for branch 5.0.

@ngvoice ngvoice closed this as completed Apr 28, 2017
@riccardovarotto
Copy link
Author

It works well!

Thank you

@uts09
Copy link
Contributor

uts09 commented May 4, 2018

Getting same error in 4.4.7. Can you please share the patch file for 4.4.7?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants