How to increase network timeout

Hi, I have Aastra 6730i VoIP phone connected to RasPBX but sometimes it gets disconnected. Sometimes phone shows a message that it is not connected (error code 408), but sometimes phone shows like everything is OK, but Asterisk says that extension is offline (I check this under Asterisk Info in FreePBX).

One recent example. I tried to call to my Aastra phone (extension number 7000) through USB dongle and the call did not went through (line busy), and Asterisk Info has shown that extension is offline.

Then I tried to call this Aastra extension from other extension and it rang. Then I retried the call to USB dongle and the call went through just fine.

The problem is probably the network, of course, however it seems to me that this could be solved by settings some network timeouts. Any idea where and how?

Here are also some logs:

[2022-04-05 12:56:47] VERBOSE[12924][C-0000001f] pbx.c: Spawn extension (ext-local, 7000, 3) exited non-zero on 'Dongle/dongle0-010000000a'
[2022-04-05 12:57:41] VERBOSE[12992][C-00000020] pbx.c: Executing [[email protected]:20] Goto("Dongle/dongle0-010000000b", "from-did-direct,7000,1") in new stack
[2022-04-05 12:57:41] VERBOSE[12992][C-00000020] pbx_builtins.c: Goto (from-did-direct,7000,1)
[2022-04-05 12:57:41] VERBOSE[12992][C-00000020] pbx.c: Executing [[email protected]:1] GotoIf("Dongle/dongle0-010000000b", "1?ext-local,7000,1:followme-check,7000,1") in new stack
[2022-04-05 12:57:41] VERBOSE[12992][C-00000020] pbx_builtins.c: Goto (ext-local,7000,1)
[2022-04-05 12:57:41] VERBOSE[12992][C-00000020] pbx.c: Executing [[email protected]:1] Set("Dongle/dongle0-010000000b", "__RINGTIMER=15") in new stack
[2022-04-05 12:57:41] VERBOSE[12992][C-00000020] pbx.c: Executing [[email protected]:2] ExecIf("Dongle/dongle0-010000000b", "0?Set(__CWIGNORE=)") in new stack
[2022-04-05 12:57:41] VERBOSE[12992][C-00000020] pbx.c: Executing [[email protected]:3] Macro("Dongle/dongle0-010000000b", "exten-vm,novm,7000,0,0,0") in new stack
[2022-04-05 12:57:41] VERBOSE[12992][C-00000020] pbx.c: Executing [[email protected]:3] Set("Dongle/dongle0-010000000b", "__EXTTOCALL=7000") in new stack
[2022-04-05 12:57:41] VERBOSE[12992][C-00000020] pbx.c: Executing [[email protected]:4] Set("Dongle/dongle0-010000000b", "__PICKUPMARK=7000") in new stack
[2022-04-05 12:57:41] VERBOSE[12992][C-00000020] pbx.c: Executing [[email protected]:8] ExecIf("Dongle/dongle0-010000000b", "0?Gosub(ext-intercom,*807000,1())") in new stack
[2022-04-05 12:57:41] VERBOSE[12992][C-00000020] pbx.c: Executing [[email protected]:10] ExecIf("Dongle/dongle0-010000000b", "0?ChanSpy(PJSIP/7000,q)") in new stack
[2022-04-05 12:57:41] VERBOSE[12992][C-00000020] pbx.c: Executing [[email protected]:14] ExecIf("Dongle/dongle0-010000000b", "0?Gosub(ext-intercom,*807000,1())") in new stack
[2022-04-05 12:57:41] VERBOSE[12992][C-00000020] pbx.c: Executing [[email protected]:16] ExecIf("Dongle/dongle0-010000000b", "0?ChanSpy(PJSIP/7000,q)") in new stack
[2022-04-05 12:57:41] VERBOSE[12992][C-00000020] pbx.c: Executing [[email protected]:18] Gosub("Dongle/dongle0-010000000b", "sub-record-check,s,1(exten,7000,dontcare)") in new stack
[2022-04-05 12:57:41] VERBOSE[12992][C-00000020] pbx.c: Executing [[email protected]:1] NoOp("Dongle/dongle0-010000000b", "Exten Recording Check between 031294692 and 7000") in new stack
[2022-04-05 12:57:41] VERBOSE[12992][C-00000020] pbx.c: Executing [[email protected]:11] Gosub("Dongle/dongle0-010000000b", "recordcheck,1(dontcare,external,7000)") in new stack
[2022-04-05 12:57:41] VERBOSE[12992][C-00000020] pbx.c: Executing [[email protected]:26] Macro("Dongle/dongle0-010000000b", "dial-one,,HhTtr,7000") in new stack
[2022-04-05 12:57:41] VERBOSE[12992][C-00000020] pbx.c: Executing [[email protected]:1] Set("Dongle/dongle0-010000000b", "DEXTEN=7000") in new stack
[2022-04-05 12:57:41] VERBOSE[12992][C-00000020] pbx.c: Executing [[email protected]:2] ExecIf("Dongle/dongle0-010000000b", "0?Set(__EXTTOCALL=7000)") in new stack
[2022-04-05 12:57:41] VERBOSE[12992][C-00000020] pbx.c: Executing [[email protected]:2] Set("Dongle/dongle0-010000000b", "DEVICES=7000") in new stack
[2022-04-05 12:57:41] VERBOSE[12992][C-00000020] pbx.c: Executing [[email protected]:7] Set("Dongle/dongle0-010000000b", "THISDIAL=PJSIP/7000") in new stack
[2022-04-05 12:57:41] VERBOSE[12992][C-00000020] pbx.c: Executing [[email protected]:9] NoOp("Dongle/dongle0-010000000b", "Debug: Found PJSIP Destination PJSIP/7000") in new stack
[2022-04-05 12:57:51] VERBOSE[12992][C-00000020] pbx.c: Spawn extension (ext-local, 7000, 3) exited non-zero on 'Dongle/dongle0-010000000b'

Your messages are not useful. I think the output of “pjsip set logger on” is more suitable to diagnose the possible errors.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.