Error when connecting baresip to asterisk

I know this is a baresip issue, but does anyone know what I might be missing in my baresip configuration?

I have both asterisk and baresip running on same machine, and I have configured baresip to connect to the local network IP

[Apr 24 15:17:18] ERROR[18004]: pjproject: <?>: 	       sip_transport.c Error processing 904 bytes packet from UDP : PJSIP syntax error exception when parsing 'From' header on line 7 col 20:
INVITE sip:baresip@ SIP/2.0
Via: SIP/2.0/UDP;branch=z9hG4bKf0407491131c3a31;rport
Contact: <sip:-0x55c93472a3a0@>
Max-Forwards: 70
Route: <sip:;transport=udp;lr>
To: <sip:baresip@>
From: <sip:baresip@>;tag=61d9457b4d90fe36
Call-ID: 1aa635e9e2783ef5
CSeq: 20516 INVITE
User-Agent: baresip v3.0.0 (x86_64/Linux)
Supported: gruu,replaces,norefersub
Content-Type: application/sdp
Content-Length: 326

The message tells you, the From header is invalid. It’s invalid because the URI has an empty hostname.

1 Like

thanks, yes, it was a typo in baresip accounts file

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.