Registration is removed for extension with Mobile App

Hello

I have same extension 1001 configured on Deskphone (Yealink) and on Connect Mobile App.

When this extension recieve incoming call, as soon as call is answered, registration for the deskphone is removed under PJSIP Endpoints.

It roughly take 270 seconds for Deskphone to reappear under PJSIP Endpoints. For these 270 seconds , calls won’t go to Deskphone and only on Mobile App.

here are logs from Asterisk :

– Executing [s@sub-call-recording:20] NoOp(“PJSIP/34_1001-00000051”, “Recordins are not available for tenant empireentertainment”) in new stack
– Executing [s@sub-call-recording:21] Return(“PJSIP/34_1001-00000051”, “”) in new stack
– Executing [s@sub-before-bridging-call:11] NoOp(“PJSIP/34_1001-00000051”, “Check if there’s a custom sub-routine defined for executing it”) in new stack
– Executing [s@sub-before-bridging-call:12] GosubIf(“PJSIP/34_1001-00000051”, “0?T2_before-bridging-call-hook,s,1”) in new stack
– Executing [s@sub-before-bridging-call:13] Return(“PJSIP/34_1001-00000051”, “”) in new stack
== Spawn extension (T2_cos-all, , 1) exited non-zero on ‘PJSIP/34_1001-00000051’
– PJSIP/34_1001-00000051 Internal Gosub(sub-before-bridging-call,s,1(35c07158269bed39,1004,1001,no)) complete GOSUB_RETVAL=
> 0x7fcda803ccf0 – Strict RTP learning after remote address set to: 192.168.13.153:16480
– Channel PJSIP/34_1001-00000051 joined ‘simple_bridge’ basic-bridge <0dc67205-27e9-4800-bad4-c0857e81610e>
– Channel PJSIP/34_1004-0000004f joined ‘simple_bridge’ basic-bridge <0dc67205-27e9-4800-bad4-c0857e81610e>
> 0x7fcd7803bdf0 – Strict RTP qualifying stream type: audio
> 0x7fcda803ccf0 – Strict RTP qualifying stream type: audio
> 0x7fcd7803bdf0 – Strict RTP switching source address to 142.114.225.206:12654
> 0x7fcda803ccf0 – Strict RTP switching source address to 142.114.225.206:16480
– Removed contact ‘sip:34_1001@142.114.x.x.x:5218;rinstance=E268495B;x-ast-orig-host=192.168.13.43:5218’ from AOR ‘34_1001’ due to request
> == Contact 34_1001/sip:34_1001@142.x.x.x:5218;rinstance=E268495B;x-ast-orig-host=192.168.13.43:5218 has been deleted
– Channel PJSIP/34_1001-00000051 left ‘simple_bridge’ basic-bridge <0dc67205-27e9-4800-bad4-c0857e81610e>
– Channel PJSIP/34_1004-0000004f left ‘simple_bridge’ basic-bridge <0dc67205-27e9-4800-bad4-c0857e81610e>
== Spawn extension (sub-local-dialing, 1001, 54) exited non-zero on ‘PJSIP/34_1004-0000004f’
– Executing [h@sub-local-dialing:1] NoOp(“PJSIP/34_1004-0000004f”, “Finishing the call”) in new stack

Can you please help fixing this issue?

Warm Regards

Do you have multiple devices for the extension or only one? If you only have one check the number of contacts you have enabled as if you only have 1 and have multiple clients registering under the same device they will be fighting with each out for the registration. So you either increase the allowed contacts per devices or create multiple devices for your extension.

1 Like

Yes, I have two Max contacts for this extension.

I am currently not using the Connect App in my server, but I had already been using the Groundwire app which is also done by Acrobits (which the Connect app is based on). The Acrobits push server keeps normally the main registration always open and the app is jumping on an off depending on state. So if you already have a desktop using that device, I would say to allow at least 3 contacts.

Check your registered contacts to see exactly what devices are registering under your 1001 extension, to confirm the number of contacts you need based on the registration you are seeing.

2 Likes

Thanks hlev, I tried increasing the Max contact for this extension to 3 and I get error “You are not allowed to add more than 0 mobile devices.”

I missed this part. I created a second device profile ( Tenant > Extensions > Edit 1001 > Under Devices > Device Drop Down > New ) and now Yealink phone is not missing any calls.

But I still get error “You are not allowed to add more than 0 mobile devices.”, if I make any changes to original device profile for e.g. even when I change the description or disable WebRTC client. What is the cause for this?

1 Like

I figured this out too, I had to disable ‘Mobile Client’ option first and then make changes.

1 Like

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