Mutliple Trunk Line Appearance


I am using Trixbox 1.1.1, a TDM400p card I’m using for FXO ports, and Grandstream GXP2000 phones.

Our business has three POTS lines we use, and it is important for our receptionist to know what trunk a caller came in on (we advertise three different numbers, and the incoming line tells her how they found out about us).

The prefered option for us would be SLA, but from looking at other threads on this site, I understand this option is not here yet. Is there some way for the recpeptionist to see the inbound trunk, so she know how to route call?

I appreciate any input,


add 3 new contexts to extensions_custom.conf, e.g. [from-line-1] exten => s,1,NoOp(Call on line 1) exten => s,2,Set(CallerID(name) = "Line 1") exten => s,3,Goto(from-trunk,s,1)
check the Goto line at priority 3 exists in your dialplan. repeat for the 3 lines and then modify zapata.conf so that before each channel definition it sends incoming calls to a different context, e.g. .... context=from-line-1 channel => 1 context=from-line-2 channel => 2 ....