You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use the Routr proxy for freeswitch.I started the service using the following command, and all services were able to start successfully.But when I registered with the SIP phone to 192.168.80.175:5060, connect received the registration message, but simpledata did not receive any information.
But when I registered with the SIP phone to 192.168.80.175:5060, connect received the registration message, but simpledata did not receive any information.Why is this? The following is the connect log,
2024-03-04 17:48:34.590 [verbose]: (connect) /mods/connect/src/service.ts connect processor received new request {"ref":"5888a5d5495144599538240ed7f428cf","method":"REGISTER","type":"(request)","edgePort":"wangpu02"}
2024-03-04 17:48:34.960 [verbose]: (connect) /mods/connect/src/service.ts connect processor received new request {"ref":"5888a5d5495144599538240ed7f428cf","method":"REGISTER","type":"(request)","edgePort":"wangpu02"}
2024-03-04 17:48:40.378 [verbose]: (connect) /mods/connect/src/service.ts connect processor received new request {"ref":"9bef0f7454224628b2253f49f9c71c1e","method":"REGISTER","type":"(request)","edgePort":"wangpu02"}
The text was updated successfully, but these errors were encountered:
happytulubi
changed the title
simpledata Unable to receive message issue
Routr is unable to proxy messages to freeswitch
Mar 22, 2024
I want to use the Routr proxy for freeswitch.I started the service using the following command, and all services were able to start successfully.But when I registered with the SIP phone to 192.168.80.175:5060, connect received the registration message, but simpledata did not receive any information.
npm run start:edgeport
npm run start:dispatcher
npm run start:connect
npm run start:simpledata
[nodemon] 3.1.0
[nodemon] to restart at any time, enter
rs
[nodemon] watching path(s): mods/**/*
[nodemon] watching extensions: ts
[nodemon] starting
ts-node mods/simpledata/src/runner.ts
2024-03-04 17:37:34.704 [info]: (simpledata) /mods/simpledata/src/service.ts starting routr service {"bindAddr":"0.0.0.0:51907","name":"simpledata"}
2024-03-04 17:37:34.723 [verbose]: (simpledata) /mods/simpledata/src/utils.ts loaded data resources {"total":2}
2024-03-04 17:37:34.760 [verbose]: (simpledata) /mods/simpledata/src/utils.ts loaded data resources {"total":1}
2024-03-04 17:37:34.767 [verbose]: (simpledata) /mods/simpledata/src/utils.ts loaded data resources {"total":5}
2024-03-04 17:37:34.774 [verbose]: (simpledata) /mods/simpledata/src/utils.ts loaded data resources {"total":1}
2024-03-04 17:37:34.791 [verbose]: (simpledata) /mods/simpledata/src/utils.ts loaded data resources {"total":1}
2024-03-04 17:37:34.804 [verbose]: (simpledata) /mods/simpledata/src/utils.ts loaded data resources {"total":1}
2024-03-04 17:37:34.816 [verbose]: (simpledata) /mods/simpledata/src/utils.ts loaded data resources {"total":1}
npm run start:location
[nodemon] 3.1.0
[nodemon] to restart at any time, enter
rs
[nodemon] watching path(s): mods/**/*
[nodemon] watching extensions: ts
[nodemon] starting
ts-node mods/location/src/runner.ts
2024-03-04 17:42:32.599 [verbose]: (grpc-health-check) /node_modules/@fonoster/grpc-health-check/dist/add-health-to-server.js added healthcheck service {}
2024-03-04 17:42:32.609 [info]: (location) /mods/location/src/service.ts using memory as cache provider {}
2024-03-04 17:42:32.619 [info]: (common) /mods/common/dist/service.js starting routr service {"name":"location","bindAddr":"localhost:51902"}
----Here is my configuration----
----edgeport.yaml
kind: EdgePort
apiVersion: v2beta1
ref: edgeport-01
metadata:
region: default
spec:
unknownMethodAction: Discard
processor:
addr: 127.0.0.1:51901
externalAddrs:
- 192.168.80.175
localnets:
- 127.0.0.1/8
methods:
- REGISTER
- MESSAGE
- INVITE
- ACK
- BYE
- CANCEL
transport:
- protocol: tcp
port: 5060
- protocol: udp
port: 5060
----dispatcher.yaml
kind: MessageDispatcher
apiVersion: v2beta1
ref: message-dispatcher
spec:
bindAddr: 0.0.0.0:51901
processors:
- ref: connect
addr: localhost:51904
matchFunc: req => true
methods:
- REGISTER
- MESSAGE
- INVITE
- ACK
- BYE
- CANCEL
----location.yaml
kind: Location
apiVersion: v2beta1
metadata:
region: default
spec:
bindAddr: localhost:51902
cache:
provider: memory
--peers.yaml
kind: Peer
ref: peer-02
metadata:
name: FS-Peer
spec:
aor: sip:192.168.80.193:15060
contactAddr: 192.168.80.193:15060
username: freeswitch
loadBalancing:
withSessionAffinity: true
algorithm: round-robin
enabled: true
But when I registered with the SIP phone to 192.168.80.175:5060, connect received the registration message, but simpledata did not receive any information.Why is this? The following is the connect log,
2024-03-04 17:48:34.590 [verbose]: (connect) /mods/connect/src/service.ts connect processor received new request {"ref":"5888a5d5495144599538240ed7f428cf","method":"REGISTER","type":"(request)","edgePort":"wangpu02"}
2024-03-04 17:48:34.960 [verbose]: (connect) /mods/connect/src/service.ts connect processor received new request {"ref":"5888a5d5495144599538240ed7f428cf","method":"REGISTER","type":"(request)","edgePort":"wangpu02"}
2024-03-04 17:48:40.378 [verbose]: (connect) /mods/connect/src/service.ts connect processor received new request {"ref":"9bef0f7454224628b2253f49f9c71c1e","method":"REGISTER","type":"(request)","edgePort":"wangpu02"}
The text was updated successfully, but these errors were encountered: