* support incoming calls from registration trunks with ephemeral gateways
* fix bug with multiple ephemeral gateways
* update to pino 10.1.0
* update eslint
* Fixed issue when wild cards or regex is used in phone number for multiple carriers
https://github.com/jambonz/sbc-inbound/issues/201
* Implemanted the regex/pattern based logic when url is a sip_realm
* Refactored getApplicationForDidAndCarrier as it is failing to parse other regex if first regex is invalid
In gateway is defined at "all accounts" using the phone number's account_sid
* Performance improvements
* Exported getApplicationForDidAndCarriers method
* Added additional unit test cases
* Handle cases where gateway query at account level returns more than one
* Change constant variable as it needs to be reassigned
* Fix mistake for handling case where sql query returned no match
* grammar
* Fix linting errors
* Avoid checking for duplicates in case there is only one match to avoid stringifying+parsing for nothing
* dont force ice on srtp calls if not offered
* support customers creating their own dns name for our SBC IPs and putting that in the request-uri of INVITEs
* update node image to the latest and most secure (#61)
Co-authored-by: Guilherme Rauen <g.rauen@cognigy.com>
* #62: dont modify refer-to host unless we have a dns name as outbound gateway
* added some tests and cleanup
* update drachtio-srf to latest
* gh action use node lts version
* revert and use node 18.x
* add support for incoming calls from carriers we register with, who then put their domain in the host part of incoming INVITE
* fix query to lookup registration carriers
* write cdrs and alerts with service_provider_sid
* update to latest @jambonz/http-authenticator which sends sip headers
* add call_sid to cdr when call is connected
* write call counts by SP as well as account, bugfix to allow digit '0' in dtmf-relay
* support for sip refer to transfer an incoming call
* when sending REFER for call transfer, format Refer-To with carrier trunk if applicable
* better handling of e164 on Refer-To header