Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Flexisip proxy for mobile app phone #5904

Closed
6 tasks done
Stell0 opened this issue Nov 5, 2020 · 55 comments
Closed
6 tasks done

Use Flexisip proxy for mobile app phone #5904

Stell0 opened this issue Nov 5, 2020 · 55 comments
Labels
nethcti Relative to NethCTI client or server nethvoice Relative to NethVoice core, like FreePBX or Asterisk verified All test cases were verified successfully

Comments

@Stell0
Copy link

Stell0 commented Nov 5, 2020

App needs to be woke up by a push notification. Current method send the push notification to the app, and wait for it to register. If the app register, Asterisk sends INVITEs packages to the extension, if not, INVITEs are sent to other extensions that have to ring at the end of a 5 seconds timeout.
This approach has multiple issues: if the app extension is in a group or a queue, the dial isn't done until all the app extensions that have to ring are registered or the timeout time is reached. Another problem is that the callid parameters (required by the app) isn't known before the INVITE has been sent.

To overcome this problems, Linphone uses Flexisip as SIP proxy.
For Asterisk the app extension is always reachable and send INVITE to it through proxy. When the INVITE reaches flexisip, it sends the push notification, waits for the app REGISTER and sends the INVITE to app.

To configure Flexisip, we need to:

  • install and configure Flexisip
  • create a new TCP transport into Asterisk to communicate with Flexisip
  • configure app extensions with: qualify = 0, rewrite contact = no, SRTP enabled, the new TCP transport as transport
  • add a proxy for sending the push notification
  • add the proxy configuration into app
  • extend NethCTI server /user/me API to report proxy port
@Stell0 Stell0 added nethcti Relative to NethCTI client or server nethvoice Relative to NethVoice core, like FreePBX or Asterisk labels Nov 5, 2020
@Stell0 Stell0 self-assigned this Nov 5, 2020
@gsanchietti gsanchietti self-assigned this Nov 6, 2020
Stell0 added a commit to nethesis/freepbx-core that referenced this issue Nov 6, 2020
allows to empty local_net for a specified transport nethesis/dev#5904
gsanchietti added a commit to nethesis/nethcti-server that referenced this issue Nov 9, 2020
@nethbot
Copy link
Member

nethbot commented Nov 9, 2020

in 7.8.2003/nethesis-testing:

  • nethcti-server3-3.20.5-1.3.g626ae13.ns7.x86_64.rpm x86_64
  • nethcti-server3-debuginfo-3.20.5-1.3.g626ae13.ns7.x86_64.rpm x86_64

gsanchietti added a commit to nethesis/nethcti3freepbx that referenced this issue Nov 9, 2020
If an extension has a special transport setup, it means that it will be
handled by Flexisip push notification system.

nethesis/dev#5904
@nethbot
Copy link
Member

nethbot commented Nov 10, 2020

in 7.8.2003/nethesis-testing:

  • nethvoice-wizard-restapi-14.7.2-1.5.g119602f.ns7.noarch.rpm x86_64

@nethbot

This comment has been minimized.

1 similar comment
@nethbot
Copy link
Member

nethbot commented Nov 10, 2020

in 7.8.2003/nethesis-testing:

  • nethserver-nethvoice14-14.7.3-1.17.gf9722b8.ns7.noarch.rpm x86_64

@nethbot

This comment has been minimized.

Stell0 added a commit to nethesis/nethvoice-wizard-restapi that referenced this issue Nov 10, 2020
Add maximum_expiration config for app extensions nethesis/dev#5904
@nethbot
Copy link
Member

nethbot commented Nov 10, 2020

in 7.8.2003/nethesis-testing:

  • nethvoice-wizard-restapi-14.7.2-1.7.g6a06ade.ns7.noarch.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Nov 11, 2020

in 7.8.2003/nethesis-testing:

  • nethserver-nethvoice14-14.7.3-1.20.g053e223.ns7.noarch.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Nov 12, 2020

in 7.8.2003/nethesis-testing:

  • nethcti-server3-3.20.5-1.4.gc72110d.ns7.x86_64.rpm x86_64
  • nethcti-server3-debuginfo-3.20.5-1.4.gc72110d.ns7.x86_64.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Nov 12, 2020

in 7.8.2003/nethesis-testing:

  • nethserver-nethvoice14-14.7.3-1.21.g25c4298.ns7.noarch.rpm x86_64

gsanchietti added a commit to nethesis/nethcti3freepbx that referenced this issue Nov 12, 2020
Without this fix, push notification was not sent for extensions with
legacy configuration.

nethesis/dev#5904
@nethbot
Copy link
Member

nethbot commented Nov 13, 2020

in 7.8.2003/nethesis-testing:

  • nethvoice-wizard-restapi-14.7.2-1.8.ga8ffe51.ns7.noarch.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Nov 17, 2020

in 7.9.2009/nethesis-testing:

  • nethcti-server3-3.20.5-1.5.gc9d8e54.ns7.x86_64.rpm x86_64
  • nethcti-server3-debuginfo-3.20.5-1.5.gc9d8e54.ns7.x86_64.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Nov 17, 2020

in 7.9.2009/nethesis-testing:

  • nethcti-server3-3.20.5-1.6.g5da826f.ns7.x86_64.rpm x86_64
  • nethcti-server3-debuginfo-3.20.5-1.6.g5da826f.ns7.x86_64.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Nov 19, 2020

in 7.9.2009/nethesis-testing:

  • nethserver-nethvoice14-14.7.3-1.21.g25c4298.ns7.noarch.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Jan 4, 2021

in 7.9.2009/nethesis-testing:

  • nethvoice-wizard-restapi-14.8.0-1.12.g7155f48.ns7.noarch.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Jan 5, 2021

in 7.9.2009/nethesis-testing:

  • nethvoice-wizard-restapi-14.8.0-1.15.g6b9698f.ns7.noarch.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Jan 5, 2021

in 7.9.2009/nethesis-testing:

  • nethvoice-wizard-restapi-14.8.0-1.13.gb9bbd32.ns7.noarch.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Jan 8, 2021

in 7.9.2009/nethesis-testing:

  • nethvoice-wizard-restapi-14.8.0-1.14.g59d25a0.ns7.noarch.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Jan 8, 2021

in 7.9.2009/nethesis-testing:

  • nethvoice-wizard-restapi-14.8.0-1.15.g0d6f613.ns7.noarch.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Jan 11, 2021

in 7.9.2009/nethesis-testing:

  • nethvoice-wizard-restapi-14.8.0-1.13.g6e2930c.ns7.noarch.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Jan 12, 2021

in 7.9.2009/nethesis-testing:

  • nethserver-nethvoice14-14.8.1-1.7.g34640a7.ns7.noarch.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Jan 13, 2021

in 7.9.2009/nethesis-testing:

  • nethvoice-wizard-restapi-14.8.0-1.14.g393d472.ns7.noarch.rpm x86_64

Stell0 added a commit to nethesis/nethvoice-wizard-restapi that referenced this issue Jan 13, 2021
* PJSIP app extension maximum_expiration to 1 month
nethesis/dev#5904
@nethbot
Copy link
Member

nethbot commented Jan 13, 2021

in 7.9.2009/nethesis-testing:

  • nethvoice-wizard-restapi-14.8.0-1.14.g8d241be.ns7.noarch.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Jan 13, 2021

in 7.9.2009/nethesis-testing:

  • nethvoice-wizard-restapi-14.8.0-1.15.g1de0c2b.ns7.noarch.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Jan 13, 2021

in 7.9.2009/nethesis-testing:

  • nethvoice-wizard-restapi-14.8.0-1.16.gb401773.ns7.noarch.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Jan 13, 2021

in 7.9.2009/nethesis-testing:

  • nethvoice-wizard-restapi-14.8.0-1.16.g4c39705.ns7.noarch.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Jan 13, 2021

in 7.9.2009/nethesis-testing:

  • nethvoice-wizard-restapi-14.8.0-1.17.g357461b.ns7.noarch.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Jan 14, 2021

in 7.9.2009/nethesis-testing:

  • nethvoice-wizard-restapi-14.8.0-1.17.gd519355.ns7.noarch.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Jan 14, 2021

in 7.9.2009/nethesis-testing:

  • nethvoice-wizard-restapi-14.8.0-1.17.ge22207d.ns7.noarch.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Jan 14, 2021

in 7.9.2009/nethesis-testing:

  • nethvoice-wizard-restapi-14.8.0-1.17.ga32de1e.ns7.noarch.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Jan 14, 2021

in 7.9.2009/nethesis-testing:

  • nethserver-nethvoice14-14.8.1-1.9.gaa89866.ns7.noarch.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Jan 18, 2021

in 7.9.2009/nethesis-testing:

  • nethvoice-wizard-restapi-14.8.0-1.19.g72fd9b2.ns7.noarch.rpm x86_64

@SebastianMB-IT SebastianMB-IT added verified All test cases were verified successfully and removed testing Packages are available from testing repositories labels Jan 26, 2021
@nethesis nethesis deleted a comment from nethbot Jan 26, 2021
@nethesis nethesis deleted a comment from nethbot Jan 26, 2021
@nethbot
Copy link
Member

nethbot commented Jan 27, 2021

in 7.9.2009/nethesis-updates:

  • nethserver-nethvoice14-14.9.0-1.ns7.noarch.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Jan 27, 2021

in 7.9.2009/nethesis-updates:

  • nethvoice-wizard-restapi-14.9.0-1.ns7.noarch.rpm x86_64

@Stell0
Copy link
Author

Stell0 commented Jan 27, 2021

in 7.9.2009/nethesis-updates:

  • nethcti-server3-3.20.8-1.ns7.x86_64.rpm x86_64
  • nethcti-server3-debuginfo-3.20.8-1.ns7.x86_64.rpm x86_64

@Stell0 Stell0 closed this as completed Jan 27, 2021
andrea-marchionni pushed a commit to andrea-marchionni/nethvoice-wizard-restapi that referenced this issue Feb 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
nethcti Relative to NethCTI client or server nethvoice Relative to NethVoice core, like FreePBX or Asterisk verified All test cases were verified successfully
Projects
None yet
Development

No branches or pull requests

4 participants