SPA400: diverting outbound calls through other trunks

Hello,

I’ve a trouble with a Linksys SPA400, because I can’t recover a call that has entered to this device through a SIP trunk in Asterisk. My problem is that if all channels are busy the call doesn’t returns to Asterisk and is lost.

I’ve three questions:

  1. ¿How I can recover those calls and how to do its overflow through other trunks, for example: between others SIP or DAHDI trunks?

  2. ¿How I can change the busy tone generated by the SPA400 for an Asterisk message?

  3. ¿How I can check if the channels of the SPA400 are busy before send a call, and so have opportunity to divert to others trunks?

This is the information about my server:

Kernel
Linux(x86_64)-2.6.18-194.3.1.el5

Elastix
elastix-2.0.0-57

FreePBX
freePBX-2.7.0-9

Asterisk
asterisk-1.6.2.13-0

DRIVERS
dahdi-2.3.0.1-3

RAM
4 GB

CPU x 4
Intel® Xeon® CPU E5310 @ 1.60GHz

Thanks in advance.

Simply set the max calls in the trunk settings. If all channels occupied it will flow down to the next outbound route selector.