[asterisk-users] distinguish trunk from same host

Nhadie nhadie at tbgi.net.ph
Wed Sep 10 20:10:11 CDT 2008


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



More information about the asterisk-users mailing list