Thorsten Gehrig
2004-Jul-05 05:30 UTC
[Asterisk-Users] Problem with BRI_STUF / direct connected ISDN-Phone
Deutsche ?bersetzung folgt / German version following ====================================================Hello, i have Asterisk running with 2 ISDN-Cards. One AVM Fritz for connection to german ISDN and one HFC-compatible-Card (NT mode) for connection to ISDN-Phone (later: ISDN-PBX). Here is my actual installation: ISDN -> Fritz - ASTERISK ? HFC-NT <- ISDN-Telephone If i pick up my ISDN-teleophne asterisk is direct regognizing an incoming call from xxxxx (MSN of the telephone) to ?s?. I have NO DIALTONE and no chance to dial any number How must I change my configuration to provide a Dialton to the telephone and can dial an extension? I?ve found only this solution: exten => s,1,Answer() exten => s,2,DISA(no-password|<line-out-context>) exten => s,3,Hangup() Now you get an DIALTONE from the DISA-application ? but I think this is not an fine solution. (e.g. the phone ?thinks? the line is established ? dialing is only possible with MFV no redial and so on) Any hints? regards Thorsten Gehrig German translation / deutsche Version: ===================================== Hallo ich habe meinen Asterisk mit 2 ISDN-Karten am laufen. Eine Fritz - als Verbindung zur Telekom Eine HFC - als Verbindung zu meiner alten ISDN-Telefonanlage (hat nur einen ISDN-Bus). Asterisk soll dazwischen geschaltet sein. Der einfachkeit halber habe ich derzeit nicht die Telefonanlage dran - sondern ein ISDN-Telefon. So der Versuchsaufbau: ISDN -> Fritz - ASTERISK - HFC - <- ISDN-Telefon Wenn ich jetzt am ISDN-Telefon den h?rer abnehme bekommt Asterisk direkt einen Anruf OHNE Extension signalisiert (von der MSN die das Telefon verwendet) - man bekommt auch keinen W?hlton.... Wie muss ich den Bri_Stuff konfiguieren damit ich einen w?hlton bekomme und eine extension w?hlen kann? Ich habe mir zwar was gebastelt - aber ich f?rchte das ist nicht "sauber" ?! Meine derzeitige L?sung: exten => s,1,Answer() exten => s,2,DISA(no-password|<line-out-context>) exten => s,3,Hangup() damit bekommt man einen w?hlton - die Rufnummer landet dann in ${EXTEN} und wird im Kontext line-out bearbeitet. Muss man das so l?sen - oder gibts eine eleganteren Weg? Gru? Thorsten
Martin List-Petersen
2004-Jul-05 05:53 UTC
[Asterisk-Users] Problem with BRI_STUF / direct connected ISDN-Phone
On Mon, 2004-07-05 at 13:30, Thorsten Gehrig wrote:> Here is my actual installation: > ISDN -> Fritz - ASTERISK HFC-NT <- ISDN-Telephone > > If i pick up my ISDN-teleophne asterisk is direct regognizing an incoming > call from xxxxx (MSN of the telephone) to s. > I have NO DIALTONE and no chance to dial any number > > How must I change my configuration to provide a Dialton to the telephone and > can dial an extension? > > I?ve found only this solution: > > exten => s,1,Answer() > exten => s,2,DISA(no-password|<line-out-context>) > exten => s,3,Hangup() > > Now you get an DIALTONE from the DISA-application but I think this is not > an fine solution. > (e.g. the phone thinks the line is established dialing is only possible > with MFV no redial and so on)Basically i have the same configuration. zapata.conf: =========== signalling = bri_net_ptmp prilocaldialplan = local overlapdial = yes echocancel = yes setcallerid = ("" <${CALLERIDNUM}>) group = 2 immediate = no context = inbound-internal channel => 1-2 That gives you a dialtone. block dial (dialing before picking up the handset) will work. redial will work before or after you picked up the handset. If you dial regularly (picking up handset, then dialing) asterisk unfortunatly will start dialing too soon in some cases, depending on your dialplan, since this solution not reacts like disa. Check it out. And besides that i'm grateful for any suggestions to improve this !! Kind regards, Martin List-Petersen
Chrétien Wetemans
2004-Jul-05 17:29 UTC
[Asterisk-Users] Problem with BRI_STUF / direct connected ISDN-Phone
"Thorsten Gehrig" <Thorsten@gehrig.de> wrote:>If i pick up my ISDN-teleophne asterisk is direct regognizing an incoming >call from xxxxx (MSN of the telephone) to 's'. >I have NO DIALTONE and no chance to dial any number. > >How must I change my configuration to provide a Dialton to the telephone and >can dial an extension?I've had the same problem. The following works for me: In zapata.conf: overlapdial=no (you can als use overlapdial = yes, but I had some problems using it with an IAX-provider) in extensions.conf: use an "s" extension, but **don't answer it** : ------------------ exten => s,1,DigitTimeout,3 ; Set Digit Timeout to 3 seconds exten => s,2,ResponseTimeout,5 ; Set Response Timeout to 5 seconds exten => 500,1,Dial(IAX2/guest@misery.digium.com/s@default) ------------------ Chr?tien