freetdm config problem
Hi. I was trying to config freetdm, but it complained that the name was not provided and would not load the module. Here is the freetdm.xml followed by the freetdm.conf. I have an fxs port on channel 1 and an fxo port on channel 4 -- using dahdi. Thanks for any assistance. <configuration name="freetdm.conf" description="FreeTDM Configuration"> <settings> <param name="debug" value="9"/> <!--<param name="hold-music" value="$${moh_uri}"/>--> <param name="enable-analog-option" value="call-swap"/> <param name="enable-analog-option" value="3-way"/> </settings> <!-- one entry here per openzap span --> <analog_spans> <span id="1"> <!--<param name="hold-music" value="$${moh_uri}"/>--> <param name="tonegroup" value="us"/> <param name="digit-timeout" value="2000"/> <param name="max-digits" value="11"/> <param name="dialplan" value="XML"/> <param name="context" value="public"/> <param name="enable-callerid" value="true"/> <!-- regex to stop dialing when it matches --> <!--<param name="dial-regex" value="5555"/>--> <!-- regex to stop dialing when it does not match --> <!--<param name="fail-dial-regex" value="^5"/>--> </span> <span id="2"> <!--<param name="hold-music" value="$${moh_uri}"/>--> <param name="tonegroup" value="us"/> <param name="digit-timeout" value="2000"/> <param name="max-digits" value="11"/> <param name="dialplan" value="XML"/> <param name="context" value="default"/> <param name="enable-callerid" value="true"/> <!-- regex to stop dialing when it matches --> <!--<param name="dial-regex" value="5555"/>--> <!-- regex to stop dialing when it does not match --> <!--<param name="fail-dial-regex" value="^5"/>--> </span> </analog_spans> </configuration> [span zt-fxs] name => FreeTDM-fxs number => 1 fxo-channel => 4 [span zt-fxo] name => FreeTDM-fxo number => 2 fxs-channel => 1 -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com
On Mon, Aug 30, 2010 at 1:11 AM, <covici@ccs.covici.com> wrote:
Hi. I was trying to config freetdm, but it complained that the name was not provided and would not load the module.
Go to pastebin.freeswitch.org and paste the relevant parts of the error logged, then paste a link here. Moises Silva Senior Software Engineer Sangoma Technologies Inc. | NEW 100 Renfrew Drive, Suite 100, Markham ON L3R 9R6 Canada t. 1 905 474 1990 x128 | e. moy@sangoma.com
Moises Silva <moises.silva@gmail.com> wrote:
On Mon, Aug 30, 2010 at 1:11 AM, <covici@ccs.covici.com> wrote:
Hi. I was trying to config freetdm, but it complained that the name was not provided and would not load the module.
Go to pastebin.freeswitch.org and paste the relevant parts of the error logged, then paste a link here. http://pastebin.freeswitch.org/13752
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com
Moises Silva <moises.silva@gmail.com> wrote:
On Mon, Aug 30, 2010 at 1:11 AM, <covici@ccs.covici.com> wrote:
Hi. I was trying to config freetdm, but it complained that the name was not provided and would not load the module.
Go to pastebin.freeswitch.org and paste the relevant parts of the error logged, then paste a link here.
Sorry if this is a dupe, message seems not to have gotten through. Link is: http://pastebin.freeswitch.org/13752 -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com
On Mon, Aug 30, 2010 at 11:41 AM, <covici@ccs.covici.com> wrote:
Moises Silva <moises.silva@gmail.com> wrote:
On Mon, Aug 30, 2010 at 1:11 AM, <covici@ccs.covici.com> wrote:
Hi. I was trying to config freetdm, but it complained that the name was not provided and would not load the module.
Go to pastebin.freeswitch.org and paste the relevant parts of the error logged, then paste a link here.
Sorry if this is a dupe, message seems not to have gotten through.
Link is: http://pastebin.freeswitch.org/13752
I missed the obvious in your config. The span type you specified is invalid. [span zt myFxs] and or [span zt myFxo], there is a space between zt and the span name, zt is the special keyword to specify the span type, in this case, a zaptel/dahdi span. The string after the space is whatever span name you want to give to the span. Moises Silva Senior Software Engineer Sangoma Technologies Inc. | NEW 100 Renfrew Drive, Suite 100, Markham ON L3R 9R6 Canada t. 1 905 474 1990 x128 | e. moy@sangoma.com
Moises Silva <moises.silva@gmail.com> wrote:
On Mon, Aug 30, 2010 at 11:41 AM, <covici@ccs.covici.com> wrote:
Moises Silva <moises.silva@gmail.com> wrote:
On Mon, Aug 30, 2010 at 1:11 AM, <covici@ccs.covici.com> wrote:
Hi. I was trying to config freetdm, but it complained that the name was not provided and would not load the module.
Go to pastebin.freeswitch.org and paste the relevant parts of the error logged, then paste a link here.
Sorry if this is a dupe, message seems not to have gotten through.
Link is: http://pastebin.freeswitch.org/13752
I missed the obvious in your config. The span type you specified is invalid.
[span zt myFxs] and or [span zt myFxo], there is a space between zt and the span name, zt is the special keyword to specify the span type, in this case, a zaptel/dahdi span. The string after the space is whatever span name you want to give to the span.
What is the name => item mean then? -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com
On 08/31/2010 05:57 AM, covici@ccs.covici.com wrote:
Moises Silva<moises.silva@gmail.com> wrote:
I missed the obvious in your config. The span type you specified is invalid.
[span zt myFxs] and or [span zt myFxo], there is a space between zt and the span name, zt is the special keyword to specify the span type, in this case, a zaptel/dahdi span. The string after the space is whatever span name you want to give to the span.
What is the name => item mean then?
In freetdm.conf if you have [span zt myFxs] Then in autoconfig/freetdm.conf.xml you need a section that (in part using your example) looks like: <configuration name="freetdm.conf" description="FreeTDM Configuration"> ... <!-- one entry here per openzap span --> <analog_spans> <span name="myFxs"> <!--<param name="hold-music" value="$${moh_uri}"/>--> <param name="tonegroup" value="us"/> <param name="digit-timeout" value="2000"/> ... The myFxs provides the linkage to the section of the xml file from the freetdm.conf file. I hope that was the question, if not try again. Jim.
Moises Silva <moises.silva@gmail.com> wrote:
On Mon, Aug 30, 2010 at 11:41 AM, <covici@ccs.covici.com> wrote:
Moises Silva <moises.silva@gmail.com> wrote:
On Mon, Aug 30, 2010 at 1:11 AM, <covici@ccs.covici.com> wrote:
Hi. I was trying to config freetdm, but it complained that the name was not provided and would not load the module.
Go to pastebin.freeswitch.org and paste the relevant parts of the error logged, then paste a link here.
Sorry if this is a dupe, message seems not to have gotten through.
Link is: http://pastebin.freeswitch.org/13752
I missed the obvious in your config. The span type you specified is invalid.
[span zt myFxs] and or [span zt myFxo], there is a space between zt and the span name, zt is the special keyword to specify the span type, in this case, a zaptel/dahdi span. The string after the space is whatever span name you want to give to the span.
OK, that makes it work -- still confused about the name => parameter. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com
participants (3)
-
covici@ccs.covici.com
-
Jim
-
Moises Silva