* 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
* reject late media call with 488 and X-Reason
* test added
* changed X-Reason, clarified test
---------
Co-authored-by: Andre Heber <a.heber@cognigy.com>
* Move parseHostPorts to utils and cover with test suite
* fix tabs
* comment pre commit hook
* add test
* wip
* remove only
* fix 2 critical, 12 high vulnerabilities via npm audit fix
---------
Co-authored-by: Markus Frindt <m.frindt@cognigy.com>
* 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
* 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