~singpolyma/cheogram-sip

Outbound calls work
Instead of crash on bad stanza, at least log it
Fallback to direct initiate when no Jingle Message Initation support

Check for a message initiation supporting resource, if none then send to the
most available resource.

TODO: Should only send to most available resource that supports jingle rtp audio.
Support inbound SIP MESSAGE
Log bad calls for fail2ban to find, fix default extensions
Use SIP From instead of raw SIPURI
Error payload is often last

Asterisk seems to care about the payload being <error/> and not just the
type="error", which is probably a bug in asterisk, but this whole thing is a
workaround for missing asterisk stuff so here we are.
Add Asterisk config
Initial commit

This code is garbage and will have to be rewritten.

When paired with the Asterisk setup, inbound calls to sip:some%40jid@server.tld
end up as working Jingle calls (tested only with Conversations) to the target
JID.

Declining the call, hanging up, and errors from calling bad JIDs all are handled.