How to identify a trunk without any DID to start an IVR

tecnotronico
Posts: 4
Member Since:
2007-11-28

Fellows,

We are using trixbox 2.6 and need to have several separated IVR´s. Each IVR should be started based on what trunk received the call. We doesn´t have any DID coming form our telecom provider, so, we can´t use DID´s to create incoming rules. The point is: How could we create an incoming rule to start a specific IVR based on some specific trunk without any DID??.

Thanks in advance for your very appreciated support on this matter.



SkykingOH
Posts: 8083
Member Since:
2007-12-17
A little custom code

It's not the answer that you want however you will need to write an Asterisk dial plan extension for each trunk and place it in extensions_custom.conf.

Basically you will set the $exten variable manually then pass control back to the from-pstn context with a goto statement.

I am assuming these are SIP or IAX trunks.

If they are Zap (DAHDI) trunks simply install the Zap DID module, it does exactly what your want.

--

Scott

aka "Skyking"



tecnotronico
Posts: 4
Member Since:
2007-11-28
Thanks for your support .. it´s solved now

Skyking ... thanks a lot for your support. It is solved now.

In our case we are talking about zap channels but didn´t realize that there was the Zap DID module. We have configured the channel and the inbound rule and it worked just fine.



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.