[Asterisk-Users] line assignment on TDM400P

Wilson Pickett spamsucks2005 at gmail.com
Sat Feb 5 10:18:53 MST 2005


> However, outbound calls use our secondary number rather than our primary
> number first. This undesirable because of Caller ID; we'd like the primary
> number to appear instead.
> Yes, I can correct this by swapping the PSTN lines. But which config file
> assigns the physical FXO ports to PSTN lines? In other words, what file
> would I alter to assign different lines to each port?

Since the ports will be assigned channels in order, swapping the
cables may be the best option if you are using dialgroups. If you are
not using dialgroups, you can find the dial command and change the
channel number. Often these are handled like this:

SECONDARY=ZAP/1
PRIMARY=ZAP/4

exten => _NXXNXXXXXX,1,Dial( ${PRIMARY}/${EXTEN} ) ; force use of line 1



More information about the asterisk-users mailing list