[Asterisk-Users] Hangup Detection with busydetect

2005-07-16 Thread Mehmet Tolga Avcioglu


My telco doesn't provide Disconnect Supervision or Polarity Change. So I 
figured I have to detect hangups with busydetect=yes in zapata.conf.


I tested it. When the telco sends a busy tone * detects it and hangsup. 
So far so good. The problem is the telco doesn't always send a busy 
after remote hangup. Most of the time it sends a congestion tone. I am 
guessing these tones from what I read on indications.conf.


"diitdiitdiit" for busy
"diit diit diit diit" for congestion

busy = 450/500,0/500
congestion = 450/200,0/200,450/200,0/200,450/200,0/200,450/600,0/200

Looks like I have the correct setting for my country in 
indications.conf, verified it with ITU tones document.


So at this point I figure I need to somehow make * detect both busy and 
congestion as same and hangup. I tried different BUSYDETECT algorithms, 
poked around at source code. Couldn't figure it out.


Just to test what happens, I tried to change the tones for busy and 
replace it with the tones for congestion in indications.conf. To my 
surprise * continued to detect the old busy tone correctly and ignored 
the new tones I put in. I did the same in zaptel/zonedata.c and still * 
continues to detect the old busy tone correctly and ignores the new one 
I put in. So at this point I am totally confused. I don't even know 
where * gets the information about the tones.


I am using CVS-HEAD as of today.

Thank you

--
Mehmet
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Outgoing calls, X100P

2005-05-04 Thread Mehmet Tolga Avcioglu
Yes I tried the rx and tx values, but no luck there. Then I removed 
everything from this line, adsl, fax, etc. and left only asterisk and 
still not working. Then I tried the following to get the dialtone and 
dial digits myself

exten => _9,1,Dial(${TRUNK}/)
And that didn't work either. I also added "ww" in front of the dial 
string to have it wait a bit more.

Well at least I know that the system is working on the other line 
without any problem. As for this line, although every other regular 
phone is able to make calls, asterisk can't and that is due to either 
the ADSL service or other wiring problem on the line itself. Next I am 
going to check resistance/etc on the line.

Thanks for the help
--
Mehmet
Iain Young wrote:
Hi Mehmet,
On Tue, May 03, 2005 at 11:20:44AM -0400, You wrote:
 

I tried that and it didn't work. Then I decided to use a different phone 
line. I had not thought about this before, it just didn't occur to me. 
And everything worked fine. The phone line that doesn't work is my ADSL 
line.

Hmm. interesting that my line was also an ADSL line. Did you just try
the values for rx and txgain that I gave you, or did you go higher ? I
started at 10db gain (Horrible echo, but dialed), then I worked down,
until I found the lowest gain that gave me minimal echo, but still worked.

Wall to splitter, one side going to ADSL router the other going 
into a fax machine and than from fax machine going into X100P. I 
remember seeing a post about this before. I'll have to check into that. 

I'd suggest trying it Wall -> Splitter -> X100P, and see what that does.
Asterisk can act as a fax machine anyway.
All the Best
Iain
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Outgoing calls, X100P

2005-05-03 Thread Mehmet Tolga Avcioglu
I tried that and it didn't work. Then I decided to use a different phone 
line. I had not thought about this before, it just didn't occur to me. 
And everything worked fine. The phone line that doesn't work is my ADSL 
line. Wall to splitter, one side going to ADSL router the other going 
into a fax machine and than from fax machine going into X100P. I 
remember seeing a post about this before. I'll have to check into that. 
Any other regular phone is able to pick up and dial through this line 
with no problem.

Thanks for the help
--
Mehmet
Iain Young wrote:
On Mon, May 02, 2005 at 01:02:34PM -0400, Mehmet Tolga Avcioglu wrote:
 

I can't seem to be able to make outgoing calls with X100P card. I can 
receive calls fine and it picks up the line and sends the tones, but the 
telco doesn't recognize them. While the tones are sent I continue to 
hear the dial tone on the line when I pick up a parallel. I also cannot 
dial from the parallel until X100P hangs up the line.

I had the same trouble, here in the UK. What do you have rxgain and
txgain set at in zapata.conf ? 

I found I had to raise the txgain to 0.25 to get it to work on my
British Telecom line (Cable Provider's line was fine)
I also had to up even further (to 3.0) in order to get inbound fax to
work, although I think I can back that off a little.
Of course, increasing the gain also gives me an echo issue, in 
proportion to the gain values, so I suspect I have an impedance
issue. YMMV of course.

Hope that Helps
Iain
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Outgoing calls, X100P

2005-05-02 Thread Mehmet Tolga Avcioglu
I can't seem to be able to make outgoing calls with X100P card. I can 
receive calls fine and it picks up the line and sends the tones, but the 
telco doesn't recognize them. While the tones are sent I continue to 
hear the dial tone on the line when I pick up a parallel. I also cannot 
dial from the parallel until X100P hangs up the line.

I am in Turkey. I imagine this is due to incorrect zone information, but 
I can't seem to be able to find the correct values for Turkey. I tried 
guessing them with no luck.

Any help would be appreciated.
Thanks
--
Mehmet
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users