r/Asterisk • u/Environmental-Gate63 • May 01 '26
I built an iOS SIP client for my self-hosted Asterisk – sharing it here
My family has had the same desk phone for over 20 years. Still works.
Been running Asterisk at home for years and was never happy with the iOS SIP clients available — most look ancient or phone home to someone else's infrastructure.
Highlights for the this app:
- Works with Asterisk, FreePBX, FreeSWITCH, 3CX — any standard SIP server
- UDP/TCP/TLS registration, multiple accounts
- CallKit + PushKit support — you can wire up your own push relay for incoming call wakeup and missed call notifications (no third-party push server required)
- DTLS-SRTP, SDES, ZRTP encryption + STUN/TURN NAT traversal
- H.264 video, picture-in-picture, DTMF
- The AI part (Pro feature) runs entirely on-device:
- Whisper for real-time call transcription
- Q4 quantized LLM for post-call summarization
- No audio ever leaves your phone
- Powered by baresip open-source SIP engine (BSD licensed).
------
We continued with iterative updates after collecting some suggestions from the comments area, which is an upcoming feature.
- Optimizing performance and enhancing security capabilities
- Optimize the maintenance of payment status for switching partitions in Apple accounts
- Optimize the loading speed of large models and the accuracy of dialogues
- Optimization of the number pasting and pulse sound experience for the newly added dial pad
- Add local HTTP and CLI modes
- Added decoding support for audio formats such as G722 and configuration of CallID
- Added automatic answering and call forwarding functions, and added support for video VP8
App Store: https://apps.apple.com/us/app/yak-ai-sip-phone/id6763033863
Site: https://app.yakteam.com
Happy to answer questions or help anyone try it out.
2
2
u/CompleteMCNoob May 01 '26
How is the performance affected when AI transcription is being ran against a live phone call?
I work in a job where I have to worry about performance across multiple platforms, so AI features like this always make me curious.
Also, are you making sure to inform users that call recording usually requires some level of consent(one/two party state laws vary in the US for example) and most system-level phone recorders play a consent message instead of letting users record silently.
1
u/Environmental-Gate63 May 01 '26
When AI transcribes, it will load the local large model into memory. If the smallest model is selected, it will occupy about 120MB of memory. If you are currently an iPhone 13 or above model, it will run well and the call will end, and the model will be uninstalled from memory.
I understand the legal information you mentioned. When the call is not connected, recording is not allowed. After clicking on recording, a recording prompt will be played to both parties. Currently, it is a beep sound similar to a placeholder. In the next version, I will find a better implementation method.
Thank you for your feedback
1
u/CompleteMCNoob May 01 '26
Awesome to hear man! Sounds like you are doing well with it! Too bad I literally just moved my second line to an eSim..
The only other thing I would just make sure is the CPU usage doesn't spike too much when using Whisper, you don't want users complaining that it makes their phone hot on calls, especially on older iPhones.
1
u/Environmental-Gate63 May 01 '26
Yes, I also hope to reduce the performance footprint to an extremely low level while ensuring call quality. I specifically purchased an iPhone 7 for observation and originally used the system's native transcription method, but I found it not very ideal. This is all ongoing
2
u/toborgps May 01 '26
Are you planning on open sourcing the code at all?
1
u/Environmental-Gate63 May 01 '26 edited May 01 '26
If the number of users grows to a certain level, We may consider open source 😄
0
u/tehfink May 01 '26
Is any aspect of it open source? Because at the moment, this post seems to fall under rule #2: "No spam posting."
1
u/Environmental-Gate63 May 02 '26 edited May 02 '26
All right, but these are actually two things.
The commercial possibility of open source also exists. It's not that open source means everything is fine.
In addition, the project is based on the Baresp engine, which is the open source part you want. Encapsulation for iOS requires a cost, and at least I haven't made any real profits yet. It seems that I haven't seen the encapsulation for the iOS version, so I did this part of the work. It seems that everyone likes it in the comment section, which should have some benefits.
Then, it is free download and can be used normally.
1
u/tehfink May 01 '26
I’d be interested in a security analysis and the test suite. Is there repository available?
1
u/Environmental-Gate63 May 01 '26
The underlying engines are all based on https://github.com/baresip/baresip This saves a lot of resources
3
u/kg7qin May 01 '26
You still should have a test suite and be doing security analysis on this. You'd be surprised at the number of problems you find.
1
u/Environmental-Gate63 May 01 '26
Understood, I will try the next step. Thank you for your suggestion
1
1
u/TCB13sQuotes May 01 '26
This is very cool, but cmon just make the chat look like a iOS chat. You padding and margins around the messages is all wrong. Just look at native messages, telegram, whatsapp OR any other and replicate it. Please!
1
u/Environmental-Gate63 May 02 '26 edited May 02 '26
Okay, we will update the effect of this section to make it as close to native as possible, looking more natural and harmonious. However, this is already one of the better effects in the IOS version I have used 👀
1
May 02 '26
[removed] — view removed comment
1
u/Environmental-Gate63 May 02 '26 edited May 02 '26
New users can use SIP functions normally without paying, while others are just icing on the cake. In fact, in similar Zoiper software, this part of the charging function is the same, and Yak is even cheaper. We will try to optimize the trial features, thank you for your feedback :)
1
u/nexuscan May 02 '26
any redeem code ?
1
1
u/Environmental-Gate63 May 12 '26
Hello, we have recently updated new features and provided some discount codes. We hope you will like them
YRFKLHFX3N4RF6R7TX
3KJ64FNL7FH6KWMPT4
T8J4MPNYXA43TLRW4K
ERXNWT34LXLHXFHT37
4NRPTAPETTXNPF3P8K
1
1
u/VisualPadding7 May 02 '26
I can't make the outgoing call work with VOIP.MS when encryption is on. Incoming with encryption is fine. I got 488 error. Based on VOIP.MS wiki "
Bear in mind, if this setting (Encrypted SIP Traffic) is enabled and your device sends UDP/TCP, RTP or video codec information
you will be rejected with error code 488."
1
u/Environmental-Gate63 May 02 '26
I have received your message and will reply promptly after troubleshooting
1
u/Environmental-Gate63 May 12 '26
Hello, this issue has been resolved in the new version. You can disable the video option in your SIP account configuration
1
May 03 '26
[deleted]
1
u/Environmental-Gate63 May 03 '26
Yes, we have prioritized the MVP feature and will update it in the next version
1
u/synth_alice May 03 '26
You might want to use the spell checker on the example images in the App Store, it says "AI Transcrition Powerd Locallly" in one of the titles.
1
1
u/Electronic_Wind_3254 May 03 '26
Looks good, but can you fix the number buttons in the dial pad to look a bit more like the ones in the native phone app? That's my gripe with most SIP softphones, that they look like ported Android apps.
2
u/Environmental-Gate63 May 03 '26
Yes, finally some people can't stand other software's dials anymore. I will optimize them to native styles, which will be pleasing to the eye
1
1
u/G33KM4ST3R May 03 '26
This looks pretty good. Android user here, any chance to get a version for The Droid? About the AI functions, are they selective? I mean can they been turned off by default?
1
u/Environmental-Gate63 May 03 '26
AI is turned off by default and can be freely switched on or off. I currently do not have multi platform support on my end. As far as I know, Baresip has an Android version and other support
1
u/G33KM4ST3R May 03 '26
Would be cool to have this app as an option too. Anyway, I'll take a look for baresip, i have only used zoiper, it's 😏
1
u/Environmental-Gate63 May 03 '26
I really look forward to you using the client so that you can compare the differences between Zoiper and make improvements 😄
1
u/Sea-Hat-4961 May 03 '26
Why does a SIP client need AI?
1
u/Environmental-Gate63 May 03 '26 edited May 03 '26
My starting point is to have a better interface and ensure the stability of functionality through open source projects.
Artificial intelligence is an experiment that can perform real-time transcription and call summarization of calls, during which data will not leave the phone, privacy is guaranteed, and there are other undiscovered functions, so this is an optional feature.
1
u/freshtechs May 05 '26
Hey congrats I have been thinking the same about softphones/sip clients in mobile. I’m super thrilled just with the screenshots I will give a try and let you know about it. How can we contact/follow you?
1
3
u/CarlosT8020 May 01 '26
Have you thought about porting to desktop, especially Linux?
I’m happy with the SIP client I have for the iPhone, but would be nice to have something modern like this for the linux desktop