[SR-Users] [EXTERNAL] Re: webrtc setup

Daniel Siemens dwsiemens at msts.com
Thu Feb 25 14:44:49 CET 2021


Hello,


1st off No,  I'm not sure I'm configured on the end point right.
I'm set as follows
                                Asterisk server Address  = sip.multiservice.com
                                Websocket Port is 4443
                                Webocket path is /ws
                                Using my sip creds for my asterisk account


In my messages log   I will log 3 tries for Kamailio

2021-02-25T07:42:34.000215-06:00 ec2-sipproxy01.multiservice.com rtpengine: DEBUG: [core] timer run time = 0.000088 sec
2021-02-25T07:42:36.000212-06:00 ec2-sipproxy01.multiservice.com rtpengine: DEBUG: [core] timer run time = 0.000084 sec
2021-02-25T07:42:38.000569-06:00 ec2-sipproxy01.multiservice.com rtpengine: DEBUG: [core] timer run time = 0.000054 sec
2021-02-25T07:42:39.128324-06:00 ec2-sipproxy01.multiservice.com /usr/sbin/kamailio[11702]: INFO: <script>: HTTP Request Received
2021-02-25T07:42:39.128408-06:00 ec2-sipproxy01.multiservice.com /usr/sbin/kamailio[11702]: WARNING: <script>: Bad host sip.multiservice.com:4443
2021-02-25T07:42:40.000191-06:00 ec2-sipproxy01.multiservice.com rtpengine: DEBUG: [core] timer run time = 0.000053 sec
2021-02-25T07:42:41.000210-06:00 ec2-sipproxy01.multiservice.com rtpengine: DEBUG: [core] timer run time = 0.000087 sec
2021-02-25T07:42:42.000259-06:00 ec2-sipproxy01.multiservice.com rtpengine: DEBUG: [core] timer run time = 0.000057 sec
2021-02-25T07:42:44.000177-06:00 ec2-sipproxy01.multiservice.com rtpengine: DEBUG: [core] timer run time = 0.000052 sec
2021-02-25T07:42:46.000515-06:00 ec2-sipproxy01.multiservice.com rtpengine: DEBUG: [core] timer run time = 0.000319 sec
2021-02-25T07:42:48.000148-06:00 ec2-sipproxy01.multiservice.com rtpengine: DEBUG: [core] timer run time = 0.000054 sec
2021-02-25T07:42:49.000510-06:00 ec2-sipproxy01.multiservice.com rtpengine: DEBUG: [core] timer run time = 0.000051 sec
2021-02-25T07:42:51.000212-06:00 ec2-sipproxy01.multiservice.com rtpengine: DEBUG: [core] timer run time = 0.000088 sec
2021-02-25T07:42:53.000308-06:00 ec2-sipproxy01.multiservice.com rtpengine: DEBUG: [core] timer run time = 0.000055 sec
2021-02-25T07:42:54.000224-06:00 ec2-sipproxy01.multiservice.com rtpengine: DEBUG: [core] timer run time = 0.000093 sec
2021-02-25T07:42:54.319747-06:00 ec2-sipproxy01.multiservice.com /usr/sbin/kamailio[11705]: INFO: <script>: HTTP Request Received
2021-02-25T07:42:54.319822-06:00 ec2-sipproxy01.multiservice.com /usr/sbin/kamailio[11705]: WARNING: <script>: Bad host sip.multiservice.com:4443
2021-02-25T07:42:56.000262-06:00 ec2-sipproxy01.multiservice.com rtpengine: DEBUG: [core] timer run time = 0.000055 sec
2021-02-25T07:42:57.196302-06:00 ec2-sipproxy01.multiservice.com systemd[1]: Created slice User Slice of dwsiemens.
2021-02-25T07:42:57.201074-06:00 ec2-sipproxy01.multiservice.com systemd[1]: Started Session 2164 of user dwsiemens.
2021-02-25T07:42:58.001006-06:00 ec2-sipproxy01.multiservice.com rtpengine: DEBUG: [core] timer run time = 0.000499 sec
2021-02-25T07:42:59.000246-06:00 ec2-sipproxy01.multiservice.com rtpengine: DEBUG: [core] timer run time = 0.000054 sec
2021-02-25T07:43:01.000197-06:00 ec2-sipproxy01.multiservice.com rtpengine: DEBUG: [core] timer run time = 0.000071 sec
2021-02-25T07:43:03.000189-06:00 ec2-sipproxy01.multiservice.com rtpengine: DEBUG: [core] timer run time = 0.000055 sec
2021-02-25T07:43:04.000201-06:00 ec2-sipproxy01.multiservice.com rtpengine: DEBUG: [core] timer run time = 0.000056 sec
2021-02-25T07:43:05.000198-06:00 ec2-sipproxy01.multiservice.com rtpengine: DEBUG: [core] timer run time = 0.000070 sec
2021-02-25T07:43:07.000194-06:00 ec2-sipproxy01.multiservice.com rtpengine: DEBUG: [core] timer run time = 0.000055 sec
2021-02-25T07:43:09.000429-06:00 ec2-sipproxy01.multiservice.com rtpengine: DEBUG: [core] timer run time = 0.000293 sec
2021-02-25T07:43:09.523757-06:00 ec2-sipproxy01.multiservice.com /usr/sbin/kamailio[11706]: INFO: <script>: HTTP Request Received
2021-02-25T07:43:09.523834-06:00 ec2-sipproxy01.multiservice.com /usr/sbin/kamailio[11706]: WARNING: <script>: Bad host sip.multiservice.com:4443
2021-02-25T07:43:10.000245-06:00 ec2-sipproxy01.multiservice.com rtpengine: DEBUG: [core] timer run time = 0.000093 sec
2021-02-25T07:43:12.000443-06:00 ec2-sipproxy01.multiservice.com rtpengine: DEBUG: [core] timer run time = 0.000320 sec

Thanks.





From: sr-users <sr-users-bounces at lists.kamailio.org> On Behalf Of David Villasmil
Sent: Wednesday, February 24, 2021 4:23 PM
To: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
Subject: [EXTERNAL] Re: [SR-Users] webrtc setup

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

Hello,

You need to provide all logs from kamailio.
First off, is the phone actually reaching kamailio's port?

In your question you paste
IP:127.0.0.1:30814<https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2F127.0.0.1%3A30814%2F&data=04%7C01%7CDWSIEMENS%40msts.com%7C5f781fc962874fed012e08d8d912efdd%7C95e2a768a0fd4363bde4fbd963fc1153%7C1%7C1%7C637498022691560838%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=I1jQW6uIbfHLPyX7lEcyErnmPVbjQeCIY0iatWboljs%3D&reserved=0>, are you sure the phone is configured properly?

On Wed, 24 Feb 2021 at 19:24, Daniel Siemens <dwsiemens at msts.com<mailto:dwsiemens at msts.com>> wrote:
I have an asterisk server on an internal network   10.123.245.18.

I have a  kamailio server at 10.123.244.193
On this server is nginx coturn &  rtpengine.

The kamailio  also has an elastic IP from AWS

When I connect from a raspberry phone app served by nginx

The phone reports Registration failed

The log entries are   START:REGISTER from  sip:32897 at dnsname   (IP:127.0.0.1:38014<https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2F127.0.0.1%3A38014%2F&data=04%7C01%7CDWSIEMENS%40msts.com%7C5f781fc962874fed012e08d8d912efdd%7C95e2a768a0fd4363bde4fbd963fc1153%7C1%7C1%7C637498022691570829%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=LcmfE1QgKEzmwNbvjRTfF3W%2FvKqHIitZkU8CDu1uVkI%3D&reserved=0>)


What do I need to do to get the registration to happen?


In the client  side using Raspberry phone    is says web socket error.

Thanks.



------------------------------------------------------------------
This email is intended solely for the use of the
addressee and may contain information that is
confidential, proprietary, or both. If you receive
this email in error please immediately notify
the sender and delete the email.
------------------------------------------------------------------
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users<https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.kamailio.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fsr-users&data=04%7C01%7CDWSIEMENS%40msts.com%7C5f781fc962874fed012e08d8d912efdd%7C95e2a768a0fd4363bde4fbd963fc1153%7C1%7C1%7C637498022691570829%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=30dw4KlwHbjpk8FYHKcredVTapmbdAgtMHuRnT4nuWA%3D&reserved=0>
--
Regards,

David Villasmil
email: david.villasmil.work at gmail.com<mailto:david.villasmil.work at gmail.com>
phone: +34669448337

------------------------------------------------------------------
This email is intended solely for the use of the
addressee and may contain information that is
confidential, proprietary, or both. If you receive
this email in error please immediately notify
the sender and delete the email.
------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210225/453e6f63/attachment.htm>


More information about the sr-users mailing list