문제

Does anybody have experience at using Sofia-Sip?

I'm trying to answer incoming calls. I managed it to create a session, but no media stream is established...

Does anybody have a simple example about this? I've already looked at the CLI client of sofia-sip and at telepathy-rakia, which were both quite complicated.

I'm not too familiar with media yet. I'd like to answer an incoming call, and get the G.711 payload to further process it.

Any help is appreciated

도움이 되었습니까?

해결책

Found it out on my own, it's written there deep in the specifications of nua library.

You have to send the information about what media you support at latest in the 200 OK response to the calling party.

I can provide source code here if someone is interested. Otherwise I'm not making the effort to clean it for this purpose.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top