I'm building a webapp where the user can call a cell phone (GSM) directly.
I use sipjs in the browser, connected through Oversip as a sip proxy. I'm using a sip trunk delivered by a GSM service provider in Norway.
I get no problem during registration. I've tried two different ways of calling (sending an invite).
Send invite without SDP. When using this option, the call goes through. my phone is ringing, and I can answer the call. I get no audio, though. The error I after accepting the call is:
sip.inviteclientcontext | invalid SDP
sip.inviteclientcontext | Failed to set remote offer sdp: Called with SDP without DTLS fingerprint.
The other way was sending an invite with SDP. Now I get 'SIP/2.0 513 Message To Big' after sending invite. The call is not going through at all.
Is it possible to manipulate the SDP before sending an invite? I think my service provider only accept audio, but webRTC is also sending a lot of meta data. I have also tried JSSIP and Sipml5, but get the same result.