[asterisk-users] distinguish trunk from same host
bkruse
bkruse at digium.com
Thu Sep 11 15:44:43 CDT 2008
Personally, instead of doing all that, I would simply add _one_
provider, then
when a call comes in on one DID, send it to one context/IVR, and when
the other
call comes in on the other DID, send it to it's own context/IVR.
I have done setups like this for bandwidth with 40+ DID's, you only need
one provider entry.
I should try to make that more clear :)
-Brandon
Nhadie wrote:
> Hi All,
>
> I have multi-tenant setup, each customer have their own trunk, but goes
> to the same host
>
> [trunk-customer-1]
> host=10.10.10.213
> type=peer
> context=from-trunk-customer-1
>
> [trunk-customer-2]
> host=10.10.10.213
> type=peer
> context=from-trunk-customer-2
>
> I have no issues going outbound, but inbound has issues.
>
> [from-trunk-customer-1]
> exten => 8881111,1,Goto(local-ext|100100|1)
>
> [from-trunk-customer-1]
> exten => 8882222,1,Goto(local-ext|101100|1)
>
> my prob is when call from outside goes to 8882222 it's going in on the
> trunk-customer-1 instead of trunk-customer-2.
>
> Got these error message: "Call from 'trunk-customer-1' to extension
> '8882222' rejected because extension not found."
>
> hope someone can help. Thank you.
>
> regards,
> nhadie
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list