I have 2811 router with 2 EM-HDA-4FXO cards. FXO ports are connected to PSTN.
Routers acts as h323 gateway. Task is to configure VXML application on one of the FXO port to serv inbound calls.
The issue is that I couldn't configure inbound dial-peer that will be matched on incoming call to the FXO port.
FXO port doesn't have DNIS and it could be matched as inbound only by answer-address, destination-pattern, port number.
Configuring "answer-address ." is not a solution because in this case any inbound call to any FXO port will be matched and served by VXML application.
Configuring destination-pattern also has no effect. As I can see from "debug voip dialpeer inout" inbound call will be always matched by the pots dial-peer that had been configured with "destination-pattern .T".
Here is FXO port configuration
supervisory disconnect dualtone pre-connect
timeouts initial 20
timeouts interdigit 20
timeouts call-disconnect 1
timeouts wait-release 2
connection plar 1234567
here is dial-peer that I want to configure as inbound
dial-peer voice 300 pots
incoming called-number 1234567
How can I configure 2811 for executing VXML script only when call arrives to the selected FXO port?