Live data from Hacker News

Baresip – An Open Source modular SIP User-Agent with audio and video support

github.com

51–57 of 57 posts

Re: Baresip – An Open Source modular SIP User-Agent with audio and video support

#51
post #42

This is a bit off-topic but I'm wondering if I'm going to have to hack baresip to implement it: Is there such thing as a SIP to mobile phone bridge, so that you can make phone calls over the net via a mobile phone that is in some remote location? The application in my case is making local calls in a country that is expensive to call into. If it exists its the kind of thing that is resistant to search, unless it's cal…

I am using baresip on my phone(from fdroid). I don't have my whole stack plumbed yet so I can't say how well it works. but it connects to my asterisk server via wifi well enough. I was expecting sip to be built into android but apparently it was removed in 10 or 11. but found the baresip package. I like baresip well enough for desktop use so I decided to try it on the phone. It is one of those slow burn projects I wo…

VoWifi is using an ipsec tunnel for both SIP/RTP to the providers IMS stack. With its popularity I think it's likely network admins increasingly allow for it in networks you do not control.

Re: Baresip – An Open Source modular SIP User-Agent with audio and video support

#52

It says SIP supports instant messaging. Never knew that. I wonder why it is not a popular protocol for all these "instant messengers" out there (especially since it also support P2P)? How does it compare to Matrix?

Protocol popularity is like programming language popularity. It's not enough to be technically competent (though I don't know if SIP is). You need marketing, big enough mindshare/uptake for network effects to kick in, cultural background match (telco world in the case of SIP), a "killer app", etc.

Re: Baresip – An Open Source modular SIP User-Agent with audio and video support

#53
post #11

Interesting. I'm trying to (in background mode) build an open source SIP video doorbell, and so far finding a good client that can work with raw video capture devices proved tricky. All the clients with video support need full X-Windows or Wayland stacks, which I most definitely don't want. This seems to be exactly what I need! Now, why did you have to write it in pure C?!? It's not a big deal for me, my VoIP devices…

PJSIP has python support: https://trac.pjsip.org/repos/wiki/Python_SIP_Tutorial

It's deprecated.

Re: Baresip – An Open Source modular SIP User-Agent with audio and video support

#54
I tried it but it's way choppier in terms of audio than the built-in SIP support in Android.

Sadly Google dumped that support out in Android 12 so I'm still using an old lineageOS phone for this reason.

But baresip is unusable for voice on the same phone that runs built in SIP just fine.

Re: Baresip – An Open Source modular SIP User-Agent with audio and video support

#55

How does this compare to MicroSIP, which is the best cross-platform client I've found thus far.

It would be more proper to compare baresip to PJSIP/pjsua. I'm using both and both are great, with multiple unique features. The strong point for pjsip would be in my opinion pjmedia conference bridge (easy to use and powerful mixing, volume control, audio format conversion), this basically has no equivalent in baresip. I also do like PJSIP layered project code organization more. On the other hand baresip is slightly ligher in terms of memory usage (more suitable for e.g. STM32F4). And while PJSIP licensing is not that expensive (considering the size and maturity of the project), baresip would be free most of the times even in commercial projects thanks to BSD license.

Re: Baresip – An Open Source modular SIP User-Agent with audio and video support

#56
post #17

Earlier quoted context omitted.

So where does that leave H.323?

It’s mostly a legacy protocol at this point.

Just for the record, that isn’t true. H.323 is a VoIP protocol and is implemented on a lot of private PBX systems. Most on Prem systems can handle SIP or H.323, likewise for about any standard enterprise IP phone. H.323 works out of the box, pure SIP requires additional infrastructure, mainly SBC or session boarder controller.

Re: Baresip – An Open Source modular SIP User-Agent with audio and video support

#57
post #33
post #22

Earlier quoted context omitted.

Because there are now relatively simple, portable languages that vastly improve on C's safety and virtually non-existing type system, in order to prevent a lot of easy but critical security issues. I say that as someone who's been writing C for decades, and still does very regularly.

In my experience, it’s the developer that matters. A not-a-very-good-developer can produce buggy code/bad architecture in any of the strongly typed advanced type system languages, too.

So I take it you're still mostly writing your code in machine language (who even needs a macro assembler)? Or BCPL?
Post reply on HN