Hello Rohit,

 

the best way to start is reading this awesome tutorial published by Daniel a couple of years ago: https://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb

It’s still valid and a good starting point.

 

BR

Henning

 

Von: sr-users <sr-users-bounces@lists.kamailio.org> Im Auftrag von Rohit Kumar
Gesendet: Donnerstag, 31. Dezember 2020 12:30
An: sr-users@lists.kamailio.org
Betreff: [SR-Users] Unable to connect sip with Kamailio

 

Hello everyone,

 

I'm beginner in Kamailio, I want to connect my asterisk Server with Kamailio. Can you please help me in this context. I shall be very thankful to you.

 

Regards, 

Rohit Kumar

 

On Thu, Dec 31, 2020, 16:31 <sr-users-request@lists.kamailio.org> wrote:

Send sr-users mailing list submissions to
        sr-users@lists.kamailio.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
or, via email, send a message with subject or body 'help' to
        sr-users-request@lists.kamailio.org

You can reach the person managing the list at
        sr-users-owner@lists.kamailio.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of sr-users digest..."


Today's Topics:

   1. using kamailio 5.4 with the websocket or xmlhttprequest
      (Daniel Hermann N'don)
   2. Re: using kamailio 5.4 with the websocket or xmlhttprequest
      (Antony Stone)
   3. Re: using kamailio 5.4 with the websocket or xmlhttprequest
      (Daniel Hermann N'don)
   4. Using a specific log level for "script" ? (Chaigneau, Nicolas)


----------------------------------------------------------------------

Message: 1
Date: Wed, 30 Dec 2020 14:15:19 +0000
From: Daniel Hermann N'don <danielhermann.ndon@outlook.com>
To: "sr-users@lists.kamailio.org" <sr-users@lists.kamailio.org>
Subject: [SR-Users] using kamailio 5.4 with the websocket or
        xmlhttprequest
Message-ID:
        <MWHPR05MB291167705F86195717CA7E3181D70@MWHPR05MB2911.namprd05.prod.outlook.com>

Content-Type: text/plain; charset="iso-8859-1"

Hello everyone, I'm a beginner in kamailio technology, and I would like to know how to communicate with kamailio from the web.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20201230/bbd33686/attachment-0001.htm>

------------------------------

Message: 2
Date: Wed, 30 Dec 2020 15:35:16 +0100
From: Antony Stone <Antony.Stone@kamailio.open.source.it>
To: "Kamailio \(SER\) - Users Mailing List"
        <sr-users@lists.kamailio.org>
Subject: Re: [SR-Users] using kamailio 5.4 with the websocket or
        xmlhttprequest
Message-ID: <202012301535.16629.Antony.Stone@kamailio.open.source.it>
Content-Type: Text/Plain;  charset="iso-8859-15"

On Wednesday 30 December 2020 at 15:15:19, Daniel Hermann N'don wrote:

> Hello everyone, I'm a beginner in kamailio technology, and I would like to
> know how to communicate with kamailio from the web.

Please define "communicate".

What are you trying to achieve?

Antony.

--
"Can you keep a secret?"
"Well, I shouldn't really tell you this, but... no."


                                                   Please reply to the list;
                                                         please *don't* CC me.



------------------------------

Message: 3
Date: Wed, 30 Dec 2020 17:12:01 +0000
From: Daniel Hermann N'don <danielhermann.ndon@outlook.com>
To: "Kamailio (SER) - Users Mailing List"
        <sr-users@lists.kamailio.org>
Subject: Re: [SR-Users] using kamailio 5.4 with the websocket or
        xmlhttprequest
Message-ID:
        <MWHPR05MB29119A032BEDA31EBDF33E9D81D70@MWHPR05MB2911.namprd05.prod.outlook.com>

Content-Type: text/plain; charset="iso-8859-1"

how to send request to kamailio from the web?
and how to show received xhttp request ?
________________________________
De : sr-users <sr-users-bounces@lists.kamailio.org> de la part de Antony Stone <Antony.Stone@kamailio.open.source.it>
Envoy? : mercredi 30 d?cembre 2020 14:35
? : Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
Objet : Re: [SR-Users] using kamailio 5.4 with the websocket or xmlhttprequest

On Wednesday 30 December 2020 at 15:15:19, Daniel Hermann N'don wrote:

> Hello everyone, I'm a beginner in kamailio technology, and I would like to
> know how to communicate with kamailio from the web.

Please define "communicate".

What are you trying to achieve?

Antony.

--
"Can you keep a secret?"
"Well, I shouldn't really tell you this, but... no."


                                                   Please reply to the list;
                                                         please *don't* CC me.

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20201230/2b6bcf24/attachment-0001.htm>

------------------------------

Message: 4
Date: Wed, 30 Dec 2020 17:14:53 +0000
From: "Chaigneau, Nicolas" <nicolas.chaigneau@capgemini.com>
To: "Kamailio (SER) - Users Mailing List"
        <sr-users@lists.kamailio.org>
Subject: [SR-Users] Using a specific log level for "script" ?
Message-ID:
        <AM9PR02MB6547E8E35EEC6DCC82B22904E6D70@AM9PR02MB6547.eurprd02.prod.outlook.com>

Content-Type: text/plain; charset="us-ascii"

Hello,


Is it possible to set a specific log level for the Kamailio script ?
I've seen that the < debugger > module allows to do that with modules or < core > :

https://kamailio.org/docs/modules/5.4.x/modules/debugger.html#dbg.p.mod_level


So I've tried to do :

modparam("debugger", "mod_level_mode", 1)
modparam("debugger", "mod_hash_size", 5)
modparam("debugger", "mod_level", "my_module=3") // this works
modparam("debugger", "mod_level", "core=3") // also works
modparam("debugger", "mod_level", "script=3") // nope...


But it doesn't seem to work for < script >... :/


Regards,
Nicolas.

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20201230/1da77854/attachment-0001.htm>

------------------------------

Subject: Digest Footer

_______________________________________________
sr-users mailing list
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


------------------------------

End of sr-users Digest, Vol 187, Issue 30
*****************************************