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

Asterisk PJSIP Support in adhearsion-asterisk #19

Open
sfgeorge opened this issue Nov 25, 2019 · 0 comments
Open

Asterisk PJSIP Support in adhearsion-asterisk #19

sfgeorge opened this issue Nov 25, 2019 · 0 comments

Comments

@sfgeorge
Copy link
Member

Summary

Asterisk's chan_sip SIP driver is deprecated in favor of chan_pjsip. Adhearsion should be updated to support both drivers.

In an ideal world, Adhearsion could automatically detect which driver incoming calls are based on (based on agi_type: "SIP" or "PJSIP"). But outbound calls at minimum, we're going to need to introduce a configuration option to allow one to choose between the two.

While Asterisk allows a mixed-mode in which it can handle some calls on chan_sip with other calls on chan_pjsip at the same time – I propose that we do not support co-operating sip/pjsip modes in Adhearsion for the sake of API simplicity. Rather, I suggest a single global sip/pjsip option in Adhearsion Configuration.

What Needs to Change

I've spotted only a few places that need to change to be able to support PJSIP.

Related Docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant