[Freeswitch-users] zapata.conf immediate=yes in Asterisk - Freeswitch equivalent?

Merul Patel merul at mac.com
Sat Aug 8 01:58:04 PDT 2009


Hi,

I came across this thread (http://lists.freeswitch.org/pipermail/freeswitch-users/2009-January/010172.html 
) from January, and I'm having a similar problem, in that from the  
moment an incoming analogue call starts ringing, it takes around 5-7  
seconds before the dialplan gets executed.

Tailing the freeswitch log (pastebin'd here: http://pastebin.com/f2a6f7945) 
, it seems to indicate that there is either a problem with an  
unhandled event 17 and/or a delay with the call being put in the  
GET_CALLERID state.

In my case, I'm more concerned about answering the call rather than  
getting the caller id, so I tried setting <param name="enable- 
callerid" value="false"/> in openzap.conf.xml, as per the earlier  
post's author but this still doesn't get the dialplan to execute  
immediately.

I'm running FS 1.0.4 built from the tarball, with zaptel 1.4.12.1 and  
wanpipe 3.5.4.18 in conjunction with a USBFXO device from Sangoma. I'm  
using the out -of-the-box configuration for FS, with the exception of  
one modified public dialplan. My openzap.conf.xml is:

<configuration name="openzap.conf" description="OpenZAP Configuration">
   <settings>
     <param name="debug" value="0"/>
     <!--<param name="hold-music" value="$${moh_uri}"/>-->
     <!--<param name="enable-analog-option" value="call-swap"/>-->
     <!--<param name="enable-analog-option" value="3-way"/>-->
   </settings>
    <pri_spans/>
   <!-- one entry here per openzap span -->
   <analog_spans>
     <span id="1">
       <!--<param name="hold-music" value="$${moh_uri}"/>-->
       <!--<param name="enable-analog-option" value="call-swap"/>-->
       <!--<param name="enable-analog-option" value="3-way"/>-->
       <param name="tonegroup" value="uk"/>
       <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>
   </analog_spans>
</configuration>

Couldn't find any jiras for this issue, so not sure whether it was  
resolved. Any pointers would be welcome.

BR

Merul




More information about the FreeSWITCH-users mailing list