Koozali.org: home of the SME Server
Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: jibe on June 25, 2008, 09:47:35 AM
-
Hi,
With a Digium TDM402B (2xFXO), when the caller hangs up immediatly after dialing, the phones don't stop ringing. Except this, all is working fine... The TDM402B was properly detected using "probe". Is there a way to detect hangup ? Did I missed something ?
Thanks.
-
Which country are you in?
-
Hi,
Sorry, I forgot :oops:
I'm in France... I bought this card in France, but maybe there is something to setup ?
-
OK
I'm assuming your analogue circuits are with France Telecom. Open a linux console on your machine and, using your favourite editor, open /etc/init.d/sark
At line 151 you will find this...
/sbin/modprobe wctdm #opermode=$COUNTRY
change it to this...
/sbin/modprobe wctdm opermode=fr
then do..
/etc/init.d/sark stop
/etc/init.d/sark start
This will set the correct impedance for your line and it should cure your problem. If it doesn't then I'm afraid you will have to search the French Asterisk Bulletin Boards to find a solution.
Kind Regards
-
Hi,
Ok, thanks.
But... isn't it better to set the right value in $COUNTRY ? If yes, how can I do that ? In some header, I presume ?
-
isn't it better to set the right value in $COUNTRY ?
It would be if $COUNTRY existed. It's just a note to the developers to implement it next time they visit that code.
Kind Regards
-
Hi,
:lol: Ok, so waiting for future development, I'll do as you said !
Thanks for your help !
-
Hi,
It's not working :(
Here is a part of my modified /etc/init.d/sark :
149 if [ $WCTDM = 'YES' ]; then
150 #a COUNTRY=`/sbin/e-smith/db selintra getprop global IMPEDANCE`
151 /sbin/modprobe wctdm opermode=fr
152 fi
153
154 if [ $WCTDM24XXP = 'YES' ]; then
155 #a COUNTRY=`/sbin/e-smith/db selintra getprop global IMPEDANCE`
156 /sbin/modprobe wctdm24xxp #opermode=$COUNTRY
157 fi
Should I change also the line 156 ? (I didn't dare to try !)
Thanks.
-
Should I change also the line 156 ? (I didn't dare to try !)
Not if you have a TDM400 card. The new TDM410 uses the wctdm24xxp driver. So, you still aren't geting hangup detection on the circuit. I think you will have to search the French forums and news groups. This is really a Digium Asterisk issue rather than a SAIL issue. If you can get some advice on what needs to be done for the card to recognise your telco's signalling then we can show you how to implement it in SAIL. Unfortuately we know nothing of France Telecom's signalling standards.
Kind Regards
-
Thanks. I'll see on french forums and let you know if I find a solution.
-
Hi, I tried that myself and does not seem to load the drivers if this file gets modified:
FATAL: Error inserting wctdm (/lib/modules/2.6.9-67.0.7.ELsmp/extra/wctdm.ko): No such device
Waiting for udev.
ZT_CHANCONFIG failed on channel 1: No such device or address (6)
-
please try this
add this line in your zapata.conf
hanguponpolarityswitch=yes
this work when your telco providing you "Disconnect Supervision"
when your telco have not "Disconnect Supervision"
try this
busydetect=yes
busycount=6
For more info for "Disconnect Supervision" see please this link
http://help.trixbox.com/index.php/Disconnect_Supervision
I hope this can help you.
-
Hi,
Thanks, saleh ! But it's not working... I tried
hanguponpolarityswitch=yes
as normally there is a polarity switch on our lines in France, but this didn't change anything :-(
Then I tried
busydetect=yes
busycount=3
without more success...
Still looking for a solution...
-
Hi,
I'm still looking for a solution about this problem...
Any solution to solve or work around will be welcome !
-
Digium offer free support for their cards to get them working correctly. I think you should email them directly and ask what the Frendch settings should be.
Kind Regards
S
-
Hi,
Finally, I got it working...
I added this in my zapata.conf :
usecallingpres=yes
callreturn=yes
busydetect=yes
busycount=4
hanguponpolarityswitch=yes
I tested separately busydetect and hanguponpolarityswitch without success. Don't know if it's working better because they are now together... Or it's the two first parameters (usecallingpres and callreturn) that made it work ? Don't know what they do exactly : I just got them from a French user who solved this problem...