[Freeswitch-users] Possible typo on Openzap.conf wiki page specifying fxs/fxo-channels

Brian May brian at microcomaustralia.com.au
Tue Feb 23 15:49:15 PST 2010


On 24 February 2010 04:48, Robert Hadley <robert.hadley at teotech.com> wrote:
> [span zt FXS]
> name => OpenZAP
> number => 4165551111
>
> fxs-channel => 3
> number => 4165552222
> fxs-channel => 4

Two other details really confused me at first, and I don't think are
addressed in the documentation.

1. What is this "number" setting?  Some of the examples make it look
like it is a channel number:

=== cut ===
[span zt FXS1]
name => OpenZAP-FXS
number => 1
fxs-channel => 1

[span zt FXO1]
name => OpenZAP-FXO1
number => 2
fxo-channel => 3

[span zt FXO2]
name => OpenZAP-FXO2
number => 3
fxo-channel => 4
=== cut ===

It is not, it looks like on FXO ports it is the telephone number used
when looking up the dialplan for incoming calls; for FXS ports it is
the telephone number used for the callerid.


2. I have seen examples that use different formats for <span ...>:

<span id="FXO">
<span name="SPAN1" id="1">
<span name="PRI_1">
<span id="1">

Which syntax is correct? Which one should we be trying to use? If both
name= and  id= are specified, which one is used?
-- 
Brian May <brian at microcomaustralia.com.au>




More information about the FreeSWITCH-users mailing list