Hi,
Here's the NGREP trace where
{"event":"REGISTER","tindex":"3639","tlabel":"1889788252"
... is present on the first line itself.
198.24.63.45:48886 -> 198.24.63.39:3927 [AP]
146:{"event":"REGISTER","tindex":"3639","tlabel":"1889788252","PhoneNumber":"42008","DeviceId":"abcd1234abcd1234","CallI
That's what we used:
modparam("uac","auth_realm_avp","$avp(s:auth_realm_avp)")
modparam("uac","auth_username_avp","$avp(s:auth_username_avp)")
modparam("uac","auth_password_avp","$avp(s:auth_password_avp)")
route[HANDLE_PROXY_AUTH_RESPONSE_M]
{
if ($T_reply_code == "407") # there's also
Hello,
I am trying to integrate Kamailio with Radius authentication. Attached you can find my kamailio.cfg file. Can you please tell me what am I doing wrong there? , because every time when I am trying to register an user [any user, even if it's present in users file, radcheck table or an test
Hello,
the cfgtrace is printed now in the config, but the radius auth function
is not executed.
Very likely because you have an if condition on myself:
if(uri == myself)
{
if (is_method("REGISTER"))
{
if (!radius_www_authorize("sipauthdev.frequentis.frq")) {
If the request uri of REG
Hello,
set debug=3 in kamailio.cfg and then look at the syslog -- you should
see a lot of debug messages printed by kamailio, look for those related
to authentication, some of them should give more hints about why the
authorization fails.
Cheers,
Daniel
On 23/09/15 11:14, Marian Pandoranum wrote
Hello
I am trying to use JSONRPC-S Kamailio module to request for example the
content of the location table. More generally, i would like to send RPC
commands to my kamailio server using http request.
For the moment, kamailio server always returns "400 bad request: corrupted
packet".
To send my r
Hello,
can you look at network traffic (e.g., ngrep) or start kamailio with
debug=3 in kamailio.cfg?
You should see what is processed.
At a quick look, you command line is using double quotes to wrap all the
json string, which has other double quotes inside, so the shell will
split that -- but m
Yes, when i send my request i can see (debug is set to 3):
Sep 23 11:52:22 dcloud-03 /usr/sbin/kamailio[22020]: DEBUG: ctl
[../../io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0x7f5bd6304460,
14, 3, 0x1ab22e0), fd_no=2
Sep 23 11:52:22 dcloud-03 /usr/sbin/kamailio[22020]: DEBUG: ctl
[io_listener
Do you send the request to the port on which ctl module is listening? if
yes, that is not correct one, you have to send it to the port for sip
packets.
Cheers,
Daniel
On 23/09/15 12:00, Loïc Boissy wrote:
> Yes, when i send my request i can see (debug is set to 3):
> Sep 23 11:52:22 dcloud-03 /us
Yes, ctl module is listening on port 80 and i send the request on the same
port.
SIP port is 5060.
I am not sure to well understand.
If i set the ctl module listen port to 80, sip port to 5060, i can't send
my http request on port 5060 (connection failed).
best regards.
Loic
2015-09-23 12:07 G
Ctl module is listening for a custom binary protocol, not for jsonrpc
over http.
You need to load xhttp module as well, see the config example at:
http://kamailio.org/docs/modules/4.3.x/modules/jsonrpc-s.html#jsonrpc-s.f.jsonrpc_dispatch
Be sure you have also the tcp_accept_no_cl parameter.
Dan
Forgot to say that you need to listen on tcp for getting http requests
on sip port.
Daniel
On 23/09/15 15:46, Daniel-Constantin Mierla wrote:
> Ctl module is listening for a custom binary protocol, not for jsonrpc
> over http.
>
> You need to load xhttp module as well, see the config example at:
Yep,
That's right.
I made a mistake.
Works well now.
Thak you for your help.
Best regards.
Loic
2015-09-23 16:00 GMT+02:00 Daniel-Constantin Mierla :
> Forgot to say that you need to listen on tcp for getting http requests on
> sip port.
>
> Daniel
>
>
> On 23/09/15 15:46, Daniel-Constantin
Hi,
Thanks very much both of you. But I get this following error :
#service kamailio restart
* Not starting Kamailio SIP Server: invalid configuration file!
*
* 0(39013) ERROR: [cfg.y:3282]: yyparse(): misused command uac_auth
0(39013) : [cfg.y:3426]: yyerror_at(): parse error in config
fi
Hello,
As mentionned in the doc, ul.dump command dumps the content of the location
table.
I use MULTIDOMAIN domain configuration, and i would like to use a RPC
command to recover all contact present in my database (for all domains).
Is there a solution to do that?
Thanks you for you help.
Loic B
Hi,
Uncommented / Added these two lines:
# - mi_fifo params -
modparam("mi_fifo", "fifo_name", "/tmp/kamailio_fifo")
# - ctl params -
modparam("ctl", "binrpc", "unix:/var/run/kamailio/kamailio_ctl")
Still the same error.
--
Ganesh Kumar
On 9/23/15, Infinicalls Infinicalls wro
On Wednesday 23 September 2015 21:52:24 Infinicalls Infinicalls wrote:
> > * 0(39013) ERROR: [cfg.y:3282]: yyparse(): misused command
> >
> > uac_auth
> >
> > 0(39013) : [cfg.y:3426]: yyerror_at(): parse error in config
> >
> > file /usr/local/etc/kamailio/kamailio.cfg, line 332, column 22:
>
Hi,
I moved the uac_auth to the failure route and it compiled without
errors. Thanks. But the problem is calls are not getting through. And
users are unable to connect. Here is my config file.
"
# - UAC -
modparam("uac","auth_realm_avp","$avp(s:auth_realm_avp)")
modparam("uac","auth_usern
Hi,
I am trying to configure MSRP over websocket and using Crocodilr-msrp
client for connecting the same but when I try to transfer any file it gives
me the below error.
Any thoughts is appreciated.
I am able to do audio, vedio and messaging using SIP-JSSIP client and
working fine.
Error - Log
Hi,
I am working on MWI (message waiting indication).
I am using Kamailio as SIP registrar, Asterisk is for call routing. I
can send notify to Kamailio from my VM server but thing is Kamailio is
not handling the notify.
If you have some suggestion about this.
Ansuman Manna - Asergis Telecom writes:
> I am using Kamailio as SIP registrar, Asterisk is for call routing. I
> can send notify to Kamailio from my VM server but thing is Kamailio is
> not handling the notify.
sip registrars do not handle or route notify requests. sip UAs and sip
proxies do.
Hello Daniel,
Just checking if you got what you were looking for. Do let me know if you
need more info on the same.
Thanks,
- Jayesh
On Tue, Sep 22, 2015 at 8:23 PM Jayesh Nambiar wrote:
> Hi,
> Here's the NGREP trace where
> {"event":"REGISTER","tindex":"3639","tlabel":"1889788252"
> ... is
22 matches
Mail list logo