Hi All I used the same method to setup my cluster with FusionPXB 4.5 on Debian 10.
I have a strange issue an incoming call from PSTN comes in rings for a split second and then goes to the voice message. I even rebuild the fusion server. The setup is a cluster this issue is replicated only when I do failover from A to B node and then fail-back to A again.
I have termination setup from two different sip trunk providers and both the numbers when I ring - rings for a split second and goes to voice message
Before the call fails i think this is the only error i see in the fs_cli :
2021-03-17 22:52:24.561421 [ERR] switch_core_sqldb.c:1369 SQL ERR: [SELECT hostname FROM registrations WHERE reg_user = '105' AND realm = 'cc1.pbx.vcloudxi.com' AND to_timestamp(expires) > NOW()] no such function: NOW
full log on Pastebin : https://pastebin.com/vFNgqK1F
Any adice on how to fix this will be greately appreciated.
sngrep :
217.10.68.151:5060 172.31.44.123:5080│Record-Route: <sip:217.10.68.151;lr>
──────────┬───────── ──────────┬─────────│Record-Route: <sip:172.20.40.8;lr>
20:48:48.506773 │ INVITE (SDP) │ │Record-Route: <sip:217.10.68.137;lr>
+0.001383 │ ──────────────────────────> │ │Via: SIP/2.0/UDP 217.10.68.151;branch=z9hG4bK256b.219b0c0c69454fc86d32a24c7f2b8e68.0
20:48:48.508156 │ 100 Trying │ │Via: SIP/2.0/UDP 172.20.40.8;branch=z9hG4bK256b.2dc301159e9e2d6add1801c6ecbbc12c.1
+0.374800 │ <────────────────────────── │ │Via: SIP/2.0/UDP 217.10.68.137;branch=z9hG4bK256b.eed111989f48ab036e95ba08edaa90f0.0
20:48:48.882956 │ 183 Session Progress (SDP) │ │Via: SIP/2.0/UDP 217.10.77.79:5060;branch=z9hG4bKPje46ccf57-7c98-4a13-8d01-a46bc5af7753
+0.118907 │ <────────────────────────── │ │From: "07877974711" <sip:
07877974711@sipconnect.sipgate.co.uk>;tag=df9d7058-ecd9-4917-96cf-73b5af2a93ab
20:48:49.001863 │ CANCEL │ │To: <sip:
00442034684457@sipconnect.sipgate.co.uk>
+0.000139 │ ──────────────────────────> │ │Contact: <sip:07877974711@217.10.77.79:5060>
20:48:49.002002 │ 200 OK │ │Call-ID: 159ffc2f-d30a-46a6-94af-d64fdf21b787
+0.000056 │ <────────────────────────── │ │CSeq: 2596 INVITE
20:48:49.002058 │ 487 Request Terminated │ │Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, MESSAGE, REFER
+0.118514 │ <────────────────────────── │ │Supported: replaces, norefersub
20:48:49.120572 │ ACK │ │Max-Forwards: 67
│ ──────────────────────────> │ │Content-Type: application/sdp
│ │ │Content-Length: 371
│ │ │
│ │ │v=0
│ │ │o=- 600715110 600715110 IN IP4 212.9.44.166
│ │ │s=sGW
│ │ │c=IN IP4 212.9.44.166
│ │ │t=0 0
│ │ │m=audio 20792 RTP/AVP 8 0 107 9 18 3 101
│ │ │a=maxptime:20
│ │ │a=rtpmap:8 PCMA/8000
│ │ │a=rtpmap:0 PCMU/8000
│ │ │a=rtpmap:107 opus/48000/2
│ │ │a=rtpmap:9 G722/8000
│ │ │a=rtpmap:18 G729/8000
│ │ │a=rtpmap:3 GSM/8000
│ │ │a=rtpmap:101 telephone-event/8000
│ │ │a=fmtp:101 0-16
│ │ │a=sendrecv
│ │ │a=rtcp:20793
│ │ │a=ptime:20