this post was submitted on 30 Nov 2023
1 points (100.0% liked)
VoIP
1 readers
1 users here now
Rules
-
Be civil. Disagreements of varying intensities will happen, but particularly vitriolic attacks will be pruned from the discussion.
-
Do not promote or advertise for any business, service or product unless responding to a specific request for recommendations. This includes recommending a user change providers when they have not indicated they are interested in doing so.
-
Do not send private messages to users, or invite users to send you a private message, for the purpose of promoting or advertising a business, service or product.
-
Do not invite, encourage, or seek help with engaging in unethical or fraudulent activity relating to VoIP, such as call spoofing, robocalling and autodialers, or fraudulent STIR/SHAKEN attestation.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Probably your best bet would be to find a binding for the pjsip library. It has a command line here but I’m not sure how that would work with incoming calls. It’s the library Asterisk is switching to so it’s pretty battle-tested.
On the GPIO side, if you’re using ioctls I would use the new GPIO2 interface - it’s not entirely obvious the older one is deprecated. It’s event driven so you don’t have to spin-poll, and can do de-bouncing kernel-side. Of course Linus’s “don’t break userspace” mantra means the old interface will work for the foreseeable future.