[asterisk-users] Can Asterisk hear on two IP addresses? And can I do

Noah Miller noahisaacmiller at gmail.com
Mon Jul 23 15:31:18 CDT 2007


Hi Dave -

> question, can the  IP address receiving the incoming call be used in
> extension logic to determine call handling procedures, or maybe a better
> way to ask is can asterisk provide information as to the IP address on
> which a request  was  received?

If you have control (or influence) over the devices calling into your
asterisk server, you can always configure a different user to
correspond to each ethernet interface.  Explicitly configure (or ask)
all the devices using "Address A" to use "User A", "Address B" to use
"User B", etc.  Then you can put the various users in different
dialplan contexts, and route calls that way.

If you have no control over the incoming calls (i.e. they're all
coming in as guests), it may be a tricky thing to implement.


- Noah



More information about the asterisk-users mailing list