[asterisk-users] AMI able to call from known endpoint to unknown endpoint?

benoit plessis benoit at plessis.info
Fri Aug 1 01:06:30 CDT 2008


On Thu, Jul 31, 2008 at 05:28:42PM -0700, Stephen Cattaneo wrote:
> Both are sitting behind a Linksys IP PBX (SPA9000).  On the Linksys IP
> PBX I have set the outside number 5000 to connect to 3001.  3002 does
> not have a similar external mapping (this would defeat the purpose of
> the test I am attempting).
> [...]> 
> Is it possible (and if yes, how can I do this) to use the AMI's
> "originate" to call from 5000 to 3001?

Don't you mean to 3002 ?
either that or you will make a loopback call ...

Anyway, if that's what i understood it's impossible. You can see
a PABX a little bit little a network NAT device (well in your specific
problem). Behind the Linksys there is a private network, with one
public adresse, which is a static map to one private adresse.

Well at least it's how your asterisk IPBX will see things.
Basically when using asterisk to connect (call) two extension,
asterisk will dial each extension, and then connect them. Since
he doesn't have any access to your 3002 internal extension, there
is no way this could work.

When calling from 3001 you can reach the 3002 extension, but only 
because you are within the same "network", to keep the metaphor

-- 
Benoit



More information about the asterisk-users mailing list