futel / asteriskserver

SIP server for Futel
Creative Commons Zero v1.0 Universal
24 stars 7 forks source link

make a way to test incoming calls #558

Open kra opened 1 year ago

kra commented 1 year ago

twilio PSTN number for testing that goes to stage

kra commented 1 year ago

To do this we need to register to the stage Twilio Elastic Sip trunk, and then we have the same problem as with Elastic Sip vs Programmable Voice. All the Twilio domain names point to the same collection of IPs, and Asterisk PJSIP is not differentiating between them. There is supposed to be a way to get this to work, but I failed when trying for Programmable Voice. pjsip.conf already has

endpoint_identifier_order = username,ip

maybe this should be auth_username? Maybe identfy_by in the endpoint stanzas?