Need some help with occasional disconnects

Tags: #<Tag:0x00007f7024c7f038>

(Maurice) #1

I have a FreePBX running on a Dell Optiplex at a client.
While they make 100 calls a day without issue, 1 or 2 will drop without warning.
They are asking me to find out why and my log reading skills are virtually nil.
I have attached the snippit from the logs which show the beginning till the end from the Full-Day log.
Can someone steer me to what the problem might be, and where to learn more about the logs?

Thanks in advance.

I tried to paste the log here but as a new user I am limited to what I can paste it seems.

Essentially the call goes out on the trunk and they are talking for 3 minutes when an entry in the log shows
[2020-09-10 10:54:28] VERBOSE[2403] chan_sip.c: Registered SIP ‘22’ at
[2020-09-10 10:54:29] VERBOSE[2403] chan_sip.c: Registered SIP ‘22’ at

Every thing still works and next entry 3 minutes later
[2020-09-10 10:57:49] VERBOSE[18090][C-00000166] bridge_channel.c: Channel SIP/22-00000510 left ‘simple_bridge’ basic-bridge <1afbe861-7776-4bbd-b3e3-64e316138372>
[2020-09-10 10:57:49] VERBOSE[18091][C-00000166] bridge_channel.c: Channel SIP/273098_Main2-00000511 left ‘simple_bridge’ basic-bridge <1afbe861-7776-4bbd-b3e3-64e316138372>
[2020-09-10 10:57:49] VERBOSE[18090][C-00000166] app_macro.c: Spawn extension (macro-dialout-trunk, s, 27) exited non-zero on ‘SIP/22-00000510’ in macro ‘dialout-trunk’
[2020-09-10 10:57:49] VERBOSE[18090][C-00000166] pbx.c: Spawn extension (from-internal, 16474043777, 13) exited non-zero on ‘SIP/22-00000510’
[2020-09-10 10:57:49] VERBOSE[18090][C-00000166] pbx.c: Executing [h@from-internal:1] Macro(“SIP/22-00000510”, “hangupcall”) in new stack
[2020-09-10 10:57:49] VERBOSE[18090][C-00000166] pbx.c: Executing [s@macro-hangupcall:1] GotoIf(“SIP/22-00000510”, “1?theend”) in new stack
[2020-09-10 10:57:49] VERBOSE[18090][C-00000166] pbx_builtins.c: Goto (macro-hangupcall,s,3)


Something is wrong here. I am guessing that the device at is an IP phone that has multiple line appearances, each with a different local port. But, if you’re using chan_sip, they have to use different extension numbers but both seem to be 22. What device is this? Why is it configured this way?

(TheWebMachine Networks (Sangoma Software Development Partner)) #3

Agreed. Perhaps you should switch your extensions to PJSIP, so that you can have multiple devices (or multiple line appearances) present on a single extension #.