if you open a jira issue on it we can probably add your patch and/or the config option.<br>the users-list is a tough place to manage TDM issues.<br><br><br><div class="gmail_quote">On Fri, Dec 12, 2008 at 9:01 AM, Helmut Kuper <span dir="ltr"><<a href="mailto:helmut.kuper@ewetel.de">helmut.kuper@ewetel.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Hello,<br>
<br>
I try to establish a ISDN PRI (euroisdn/Q931) link between FS and an<br>
AVAYA PBX. We use Sangoma A101 and FS revision 10729M on a Ubuntu 8.04<br>
server in a non-root environment.<br>
<br>
We experienced a timer problem which led to this FS console error message:<br>
<br>
[ERR] Span:0 Q.921() Failed to establish Q.921 link in 3 retries<br>
<br>
<br>
During anylizing this we found that q921 T203 is never reset when link<br>
is in state "Multiple Frame Mode Established" and SABME frames are<br>
received by FS. So it must timeout regardless if SABME frames are<br>
received or not.<br>
Additionally we found that the default T203 value (10 sec) was too short<br>
for AVAYA (it has to be >=19 sec)<br>
<br>
To fix the problem we changed two things in q921.c:<br>
<br>
Change T203 default value from 10 sec to 20000 sec<br>
Line 406: trunk->T203Timeout = 20000;<br>
<br>
Change Q921T203TimerStart to Q921T203TimerReset to reset T203 on each<br>
received SABME frame<br>
Line 1996: Q921T203TimerReset(trunk, tei);<br>
<br>
After recompiling FS the Error disapeared. Next week we will do some<br>
calls over the link to make sure there are no other side effects.<br>
<br>
Is it planned to make the q921 timeouts configurable in openzap.conf or<br>
in openzap.conf.xml?<br>
<br>
best regards<br>
Helmut<br>
<br>
<br>
PS: My openzap configs:<br>
<br>
openzap.conf<br>
<br>
[span wanpipe PRI_1]<br>
trunk_type => E1<br>
b-channel => 1:1-15<br>
d-channel => 1:16<br>
b-channel => 1:17-31<br>
<br>
<br>
<br>
<br>
openzap.conf.xml<br>
<br>
<configuration name="openzap.conf" description="OpenZAP Configuration"><br>
<settings><br>
<param name="debug" value="7"/><br>
<!--<param name="hold-music" value="$${moh_uri}"/>--><br>
<!--<param name="enable-analog-option" value="call-swap"/>--><br>
<!--<param name="enable-analog-option" value="3-way"/>--><br>
</settings><br>
<pri_spans><br>
<span name="PRI_1"><br>
<!-- Log Levels: none, alert, crit, err, warning, notice, info,<br>
debug --><br>
<param name="q921loglevel" value="debug"/><br>
<param name="q931loglevel" value="debug"/><br>
<param name="mode" value="user"/><br>
<param name="dialect" value="Oh this is not my dialect"/><br>
<param name="dialplan" value="XML"/><br>
<param name="context" value="default"/><br>
</span><br>
</pri_spans><br>
</configuration><br>
<br>
Very interesting here is, that the "dialect" parameter doesn't seem to<br>
have an effect on FS. I use that one above without any errors or warning<br>
and I guess that was not intended.<br>
<br>
<br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.9 (MingW32)<br>
<br>
iEYEARECAAYFAklCfB0ACgkQ4tZeNddg3dwZ2gCgovym/7R+5caEp1+fkupitN4p<br>
BWsAn3FGWcT1CUsVx4W2cQ7chKM5qixB<br>
=geXp<br>
-----END PGP SIGNATURE-----<br>
<br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>