@billsimon
I'm clearly doing something wrong
My signalwire username is ABCD (let's pretend).
My space URL is ABCD.signalwire.com
Under SIP, I created an endpoint which has a username of:
[email protected].
Under SIP Settings I have a SIP uri of
ABCD-[randomstring].sip.signalwire.com
CallerID is set to one of my lines - I'd like to leave it blank to allow my extensions to set push one of my verified phone numbers (... later).
Send As is set to default
Encryption is set to default
Custom Codecs - PMCU, PCMA
In my PJSIP trunk I have
Username: ABCD
Secret: pword as set at signalwire
Authentication set to outbound
Registration is Send
SIP server is sip.signalwire.com
context is from-pstn
Transport is 0.0.0.0-udp (my only choice)
In Advanced:
from domain is ABCD-[randomstring].sip.signalwire.com
from user is ABCD
SRTP is set also
In the cli I see Called PJSIP/[DIALED#]@SignalWire
But the Dialed# doesn't ring. I then see:
[2019-12-24 12:51:58] WARNING[3600]: res_pjsip_outbound_registration.c:792 schedule_retry: Temporal response '401' received from 'sip:sip.signalwire.com' on registration attempt to 'sip:
[email protected]', retrying in '60'
Since I only have 5 settings or so at signalwire and 4-5 in the trunk settings, I can't figure out what I have wrong. No obvious typos, though.
I have not whitelisted sip.signalwire.com (although I can't figure out why I don't have to do this).
Andrew