<div dir="ltr">Hi,<div><br></div><div>San A200 FXO is woking with wanpipe, and freeswitch detects and init :</div><div><div>2010-07-01 09:07:15.427539 [NOTICE] switch_loadable_module.c:145 Adding Endpoint 'loopback'</div>
<div>2010-07-01 09:07:15.428061 [DEBUG] zap_config.c:56 Configuration file is /usr/local/freeswitch/conf/modules.conf.</div><div>2010-07-01 09:07:15.428125 [NOTICE] zap_io.c:3058 Modules configured: 1</div><div>2010-07-01 09:07:15.428137 [DEBUG] zap_config.c:56 Configuration file is /usr/local/freeswitch/conf/openzap.conf.</div>
<div>2010-07-01 09:07:15.428161 [DEBUG] zap_io.c:2588 found config for span</div><div>2010-07-01 09:07:15.428404 [INFO] zap_io.c:2859 Loading IO from /usr/local/freeswitch/mod/ozmod_wanpipe.so [wanpipe]</div><div>2010-07-01 09:07:15.428418 [DEBUG] zap_config.c:56 Configuration file is /usr/local/freeswitch/conf/wanpipe.conf.</div>
<div>2010-07-01 09:07:15.428467 [INFO] zap_io.c:2605 auto-loaded 'wanpipe'</div><div>2010-07-01 09:07:15.428494 [DEBUG] zap_io.c:2626 created span 1 (FXO) of type wanpipe</div><div>2010-07-01 09:07:15.428503 [DEBUG] zap_io.c:2639 span 1 [name]=[OpenZAP]</div>
<div>2010-07-01 09:07:15.428510 [DEBUG] zap_io.c:2639 span 1 [fxo-channel]=[1:1]</div><div>2010-07-01 09:07:15.428518 [DEBUG] zap_io.c:2668 setting trunk type to 'FXO' start(KEWL)</div><div>2010-07-01 09:07:15.428570 [INFO] ozmod_wanpipe.c:330 configuring device s1c1 as OpenZAP device 1:1 fd:41 DTMF: hardware</div>
<div>2010-07-01 09:07:15.428587 [DEBUG] zap_io.c:2639 span 1 [fxo-channel]=[1:2]</div><div>2010-07-01 09:07:15.428632 [INFO] ozmod_wanpipe.c:330 configuring device s1c2 as OpenZAP device 1:2 fd:42 DTMF: hardware</div><div>
2010-07-01 09:07:15.428643 [DEBUG] zap_io.c:2639 span 1 [fxo-channel]=[1:3]</div><div>2010-07-01 09:07:15.428695 [INFO] ozmod_wanpipe.c:330 configuring device s1c3 as OpenZAP device 1:3 fd:43 DTMF: hardware</div><div>2010-07-01 09:07:15.428707 [DEBUG] zap_io.c:2639 span 1 [fxo-channel]=[1:4]</div>
<div>2010-07-01 09:07:15.428748 [INFO] ozmod_wanpipe.c:330 configuring device s1c4 as OpenZAP device 1:4 fd:44 DTMF: hardware</div><div>2010-07-01 09:07:15.428774 [INFO] zap_io.c:2783 Configured 4 channel(s)</div><div>2010-07-01 09:07:15.428920 [INFO] zap_io.c:2876 Loading SIG from /usr/local/freeswitch/mod/ozmod_analog.so</div>
<div>2010-07-01 09:07:15.428932 [INFO] zap_io.c:2992 auto-loaded 'analog'</div><div>2010-07-01 09:07:15.428943 [DEBUG] ozmod_analog.c:184 Enabling call waiting for channel 1:1</div><div>2010-07-01 09:07:15.428957 [DEBUG] ozmod_analog.c:184 Enabling call waiting for channel 1:2</div>
<div>2010-07-01 09:07:15.428963 [DEBUG] ozmod_analog.c:184 Enabling call waiting for channel 1:3</div><div>2010-07-01 09:07:15.428970 [DEBUG] ozmod_analog.c:184 Enabling call waiting for channel 1:4</div><div>2010-07-01 09:07:15.428977 [DEBUG] zap_config.c:56 Configuration file is /usr/local/freeswitch/conf/tones.conf.</div>
<div>2010-07-01 09:07:15.429003 [DEBUG] zap_io.c:551 added tone generation [dial] = [v=-7;%(1000,0,350,440)]</div><div>2010-07-01 09:07:15.429028 [DEBUG] zap_io.c:549 added tone detect [dial] = [350,440]</div><div>2010-07-01 09:07:15.429037 [DEBUG] zap_io.c:551 added tone generation [ring] = [v=-7;%(2000,4000,440,480)]</div>
<div>2010-07-01 09:07:15.429045 [DEBUG] zap_io.c:549 added tone detect [ring] = [440,480]</div><div>2010-07-01 09:07:15.429053 [DEBUG] zap_io.c:551 added tone generation [busy] = [v=-7;%(500,500,480,620)]</div><div>2010-07-01 09:07:15.429062 [DEBUG] zap_io.c:549 added tone detect [busy] = [480,620]</div>
<div>2010-07-01 09:07:15.429070 [DEBUG] zap_io.c:551 added tone generation [attn] = [v=0;%(100,100,1400,2060,2450,2600)]</div><div>2010-07-01 09:07:15.429078 [DEBUG] zap_io.c:549 added tone detect [attn] = [1400,2060,2450,2600]</div>
<div>2010-07-01 09:07:15.429086 [DEBUG] zap_io.c:551 added tone generation [callwaiting-sas] = [v=0;%(300,0,440)]</div><div>2010-07-01 09:07:15.429095 [DEBUG] zap_io.c:549 added tone detect [callwaiting-sas] = [440]</div>
<div>2010-07-01 09:07:15.429104 [DEBUG] zap_io.c:551 added tone generation [callwaiting-cas] = [v=0;%(80,0,2750,2130)]</div><div>2010-07-01 09:07:15.429113 [DEBUG] zap_io.c:549 added tone detect [callwaiting-cas] = [2750,2130]</div>
<div>2010-07-01 09:07:15.429125 [DEBUG] zap_io.c:549 added tone detect [fail1] = [913.8]</div><div>2010-07-01 09:07:15.429134 [DEBUG] zap_io.c:549 added tone detect [fail2] = [1370.6]</div><div>2010-07-01 09:07:15.429141 [DEBUG] zap_io.c:549 added tone detect [fail3] = [1776.7]</div>
<div>2010-07-01 09:07:15.429219 [NOTICE] switch_loadable_module.c:145 Adding Endpoint 'openzap'</div><div>2010-07-01 09:07:15.429254 [NOTICE] switch_loadable_module.c:251 Adding Application 'disable_ec'</div>
<div>2010-07-01 09:07:15.429290 [NOTICE] switch_loadable_module.c:251 Adding Application 'disable_dtmf'</div><div>2010-07-01 09:07:15.429332 [NOTICE] switch_loadable_module.c:251 Adding Application 'enable_dtmf'</div>
<div>2010-07-01 09:07:15.429381 [NOTICE] switch_loadable_module.c:273 Adding API Function 'oz'</div></div><div><br></div><div><br></div><div>openzap.conf:</div><div><br></div><div><div><br></div><div><br></div><div>
[span wanpipe FXO]</div><div>name => OpenZAP</div><div>fxo-channel => 1:1</div><div>fxo-channel => 1:2</div><div>fxo-channel => 1:3</div><div>fxo-channel => 1:4</div></div><div><br></div><div><br></div><div>
<br></div><div><br></div><div>openzap.conf.xml:</div><div><br></div><div><div>configuration name="openzap.conf" description="OpenZAP Configuration"></div><div> <settings></div><div> <param name="debug" value="0"/></div>
<div> <!--<param name="hold-music" value="$${moh_uri}"/>--></div><div> <!--<param name="enable-analog-option" value="call-swap"/>--></div><div> <!--<param name="enable-analog-option" value="3-way"/>--></div>
<div> </settings></div><div> <boost_spans></div><div><br></div><div><br></div><div> </boost_spans></div><div><br></div><div> <analog_spans></div><div> <span id="FXO"></div>
<div> <!--<param name="hold-music" value="$${moh_uri}"/>--></div><div> <param name="dialplan" value="XML"/></div><div> <param name="context" value="default"/></div>
<div> <!-- regex to stop dialing when it matches --></div><div> <!--<param name="dial-regex" value="5555"/>--></div><div> <!-- regex to stop dialing when it does not match --></div>
<div> <!--<param name="fail-dial-regex" value="^5"/>--></div><div></span></div><div><br></div><div><br></div><div> </analog_spans></div><div><br></div><div></configuration></div>
</div><div><br></div><div><br></div><div><div> wanrouter status</div><div><br></div><div>Devices currently active:</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>wanpipe1</div><div><br></div><div><br>
</div><div>Wanpipe Config:</div><div><br></div><div>Device name | Protocol Map | Adapter | IRQ | Slot/IO | If's | CLK | Baud rate |</div><div>wanpipe1 | N/A | A200/A400/B600/B700| 177 | 4 | 1 | N/A | 0 |</div>
<div><br></div><div>Wanrouter Status:</div><div><br></div><div>Device name | Protocol | Station | Status |</div><div>wanpipe1 | A-ANALOG | N/A | Connected |</div></div><div><br></div><div><br></div><div>
<br></div><div><br></div><div><br></div><div>My questions, is how can I use this trunk, line 1-4, to dial ?</div><div><br></div><div>I couldn't find a similar example using A200 Analog, could you please send me an example?</div>
<div><br></div><div>Thanks,</div><div><br></div><div>-:D</div></div>