The following script can be used to send a fax over BRI from one span to another.

> board 1 open
> board 1 set config clockmode=master
> span 0-1 open
> span 0 set config mode=nt
> cstk 0-1 open 0
> cstk 0-1 start
> span 0-1 start

# Make sure you get the BRI events
# span 0 should get p0=0x3
# span 1 should get p0=0x7

> make 0
> answer 2
> channel 0 seize
> channel 2 seize
> fax 0 add send /sfax.tif
> fax 2 add receive /rfax.tif
> fax 2 receive
> fax 0 send
# After the fax transmission completed get the status
> fax 0 get status
> fax 2 get status