can't route incoming INVITE from upstream provider to correct domain/tenant
Bug #595895 reported by
Stas Shtin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
WikiPBX |
New
|
Undecided
|
Unassigned |
Bug Description
Scenario:
* Register with voicepulse, in the sip contact header it uses an ip not a domain (could be root of the problem)
* Incoming call to voicepulse PSTN number
* VP sends INVITE to fs, request line in INVITE header has the ip not domain
* fs queries wikipbx
* wikipbx looks at variables, does not find domain anywhere, does not generate dialplan
Workaround
* Create a new account / tenant where the account’s domain is the IP of the box! (yes, super hackish). So in my case I created an account with name ip-domain-hack and the domain set to 64.142.34.6 which is the external ip of the box.
* Create a new dialplan entry that bridges to desired sip@user@domain
To post a comment you must log in.
We use SIP request paremeter as a workaround for this issue. It gets sent with user registration on gateways and checked on incoming call authentication as a fallback option. We should try replacing IP with domain name in SIP host channel variable to prevent wikipbx from not finding account name later.