<!-- Kamailio Project uses GitHub Issues only for bugs in the code or feature requests.
If you have questions about using Kamailio or related to its configuration file, ask on sr-users mailing list:
* http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
If you have questions about developing extensions to Kamailio or its existing C code, ask on sr-dev mailing list
* http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
Please try to fill this template as much as possible for any issue. It helps the developers to troubleshoot the issue.
If you submit a feature request (or enhancement), you can delete the text of the template and only add the description of what you would like to be added.
If there is no content to be filled in a section, the entire section can be removed.
You can delete the comments from the template sections when filling.
You can delete next line and everything above before submitting (it is a comment). -->
### 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
<!-- Explain what you did, what you expected to happen, and what actually happened. -->
### Troubleshooting
#### Reproduction
<!-- If the issue can be reproduced, describe how it can be done. -->
#### 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> [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](https://github.com/kamailio/kamailio/files/961675/log_ko.gz)
[kamailio.cfg.txt](https://github.com/kamailio/kamailio/files/961677/kamailio.cfg.txt)
<!-- If you got a core dump, use gdb to extract troubleshooting data - full backtrace, local variables and the list of the code at the issue location.
gdb /path/to/kamailio /path/to/corefile bt full info locals list
If you are familiar with gdb, feel free to attach more of what you consider to be relevant. -->
``` (paste your debugging data here) ```
#### Log Messages
<!-- Check the syslog file and if there are relevant log messages printed by Kamailio, add them next, or attach to issue, or provide a link to download them (e.g., to a pastebin site). -->
``` (paste your log messages here) ```
#### SIP Traffic
<!-- If the issue is exposed by processing specific SIP messages, grab them with ngrep or save in a pcap file, then add them next, or attach to issue, or provide a link to download them (e.g., to a pastebin site). -->
``` (paste your sip traffic here) ```
### Possible Solutions
<!-- If you found a solution or workaround for the issue, describe it. Ideally, provide a pull request with a fix. -->
### Additional Information
* **Kamailio Version** - output of `kamailio -v`
``` (paste your output here) ```
* **Operating System**:
<!-- Details about the operating system, the type: Linux (e.g.,: Debian 8.4, Ubuntu 16.04, CentOS 7.1, ...), MacOS, xBSD, Solaris, ...; Kernel details (output of `uname -a`) -->
``` (paste your output here) ```
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:
* http://www.kamailio.org/docs/modules/5.0.x/src/modules/ims_icscf.html#idp494...
Yes, but I think something wrong enter on C parsing code of the second parameter of the above configuration function.
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.
The problem is not in that module as on log:
1(26715) ERROR: <core> [core/sr_module.c:1766]: get_int_fparam(): Unexpected param type: 1280329042
`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
Hi,
It's fixed in trunk/Dev and should be cherry-picked for the 5.0 branch, too.
I can take care of that tomorrow.
Thanks, Carsten
Am 27.04.2017 17:35 schrieb "Daniel-Constantin Mierla" < notifications@github.com>:
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
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kamailio/kamailio/issues/1099#issuecomment-297751256, or mute the thread https://github.com/notifications/unsubscribe-auth/AF36ZfcrW70uTl3tpLL9rq4jMHHH_h2mks5r0LXCgaJpZM4NKNWP .
Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
Thank you
Fixed in Commit c270da3cd3200e7074fd7368f0899e679c38c5c2 for branch 5.0.
Closed #1099.
It works well!
Thank you
Getting same error in 4.4.7. Can you please share the patch file for 4.4.7?