Jump to content

Exclude domain from a Loopback


shapa
 Share

Recommended Posts

Some interesting issue.

 

We've got some important clients who'd like to call different domains (company branches) without any prefixes to add (this is mandatory) and be able to return call.

 

The issue is that it is not possible to specify loopback lookup order or include / exclude domains.

 

One customer used a lot of overlapping numbers and unfortunately PBX is looking up for a number at this domain before others.

 

How to workaround this situation?

 

Ideally, some "local group" functionality should be implemented - i.e. domains added to a group are only included in a loopback. Something like VRF instance on a router.

 

Other option is to be able to specify destination domain in a dialplan, it will also work fine.

 

Configurable lookup order is also a solution (but not the best)

Link to comment
Share on other sites

Some workaround I found:

 

1) create a "inter-domain" trunk with 127.0.0.1:5060 GW address, set SIP Caller-ID Presentation as a P-Asserted.

 

2) rewrite number in a dialplan with a correct destination domain, i.e. : "90;Inter-Domain;;7xxx;"sip:\1@rdata.com;user=phone";;false"

 

Loopback (even with rewritten destination) doesn't work, but "dummy" trunk works.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...