Hallo,
Nachdem ich mich jetzt schon seit einigen Tagen mit Astersik beschäftige bin ich über die vielen Möglichkeiten erstaunt.
Nun habe ich Astersik mittels CAPI an unseren internen Bus angeschlossen
und als MSN 55 vergeben.
Rufe ich nun von einem ISDN Telefon die 55 werde ich mit Asterisk verbunden und erhalte ein Freizeichen.
Mit der 7 und der Rufnummer wird das Gespräch wird über unseren SIP Provider vermittelt.
Auszug aus der extensions.conf
Das klappt soweit gut bis dass es etwa 8 Sekunden dauert bis das gerufene Telefon klingelt.
Meine Frage:
Ist diese lange Wartezeit normal?
Zweite Frage:
Was mich noch stört ist dass ich die 7 wählen muss.
Über eine Goto Anweisung wollte ich das umgehen.
Auszug aus der extenstions.conf:
Leider klappt das so nicht. Es kommt kein Ruf zustande.
Ein Auszug aus den DEBUG Meldungen:
-- creating pipe for PLCI=0x101 msn = 55
> sent ALERT_REQ PLCI = 0x101
-- started pbx on channel (callgroup=0)!
-- Executing DISA("CAPI[contr1/55]/0", "no-password|out") in new stack
-- CAPI Answering for MSN 55
> sent FACILITY_REQ (PLCI=0x101)
May 12 15:27:01 WARNING[1114225584]: cdr.c:286 ast_cdr_init: CDR already initialized on 'CAPI[contr1/55]/0'
-- Executing Goto("CAPI[contr1/55]/0", "dialout|8034xxxxxxxx") in new stack
-- Goto (out,dialout,2147483647)
-- Timeout on CAPI[contr1/55]/0
== CDR updated on CAPI[contr1/55]/0
-- Executing Goto("CAPI[contr1/55]/0", "dialout|8t") in new stack
-- Goto (out,dialout,8)
-- Timeout on CAPI[contr1/55]/0
== CDR updated on CAPI[contr1/55]/0
-- Executing Goto("CAPI[contr1/55]/0", "dialout|8t") in new stack
-- Goto (out,dialout,8)
-- Timeout on CAPI[contr1/55]/0
== CDR updated on CAPI[contr1/55]/0
-- Executing Goto("CAPI[contr1/55]/0", "dialout|8t") in new stack
-- Goto (out,dialout,8)
-- Timeout on CAPI[contr1/55]/0
== CDR updated on CAPI[contr1/55]/0
-- Executing Goto("CAPI[contr1/55]/0", "dialout|8t") in new stack
-- Goto (out,dialout,8)
-- Timeout on CAPI[contr1/55]/0
== CDR updated on CAPI[contr1/55]/0
-- Executing Goto("CAPI[contr1/55]/0", "dialout|8t") in new stack
-- Goto (out,dialout,8)
-- Timeout on CAPI[contr1/55]/0
== CDR updated on CAPI[contr1/55]/0
-- Executing Goto("CAPI[contr1/55]/0", "dialout|8t") in new stack
-- Goto (out,dialout,8)
-- Executing Goto("CAPI[contr1/55]/0", "dialout|8h") in new stack
-- Goto (out,dialout,8)
Was könnte der Fehler sein?
Vielen Dank schon mal im vorraus.
Sven
Nachdem ich mich jetzt schon seit einigen Tagen mit Astersik beschäftige bin ich über die vielen Möglichkeiten erstaunt.
Nun habe ich Astersik mittels CAPI an unseren internen Bus angeschlossen
und als MSN 55 vergeben.
Rufe ich nun von einem ISDN Telefon die 55 werde ich mit Asterisk verbunden und erhalte ein Freizeichen.
Mit der 7 und der Rufnummer wird das Gespräch wird über unseren SIP Provider vermittelt.
Auszug aus der extensions.conf
Code:
[default]
exten => 55,1,DISA,no-password|dialout
[dialout]
exten => _7.,1,SetCallerID(6xxxxx)
exten => _7.,2,Dial(SIP/${EXTEN:1}@sipgate,20,r)
exten => _7.,3,Congestion
exten => _7.,4,Hangup
Das klappt soweit gut bis dass es etwa 8 Sekunden dauert bis das gerufene Telefon klingelt.
Meine Frage:
Ist diese lange Wartezeit normal?
Zweite Frage:
Was mich noch stört ist dass ich die 7 wählen muss.
Über eine Goto Anweisung wollte ich das umgehen.
Auszug aus der extenstions.conf:
Code:
[default]
exten => 55,1,DISA,no-password|out
[out]
exten => _.,1,Goto(dialout,7${EXTEN})
[dialout]
exten => _7.,1,SetCallerID(6xxxxx)
exten => _7.,2,Dial(SIP/${EXTEN:1}@sipgate,20,r)
exten => _7.,3,Congestion
exten => _7.,4,Hangup
Leider klappt das so nicht. Es kommt kein Ruf zustande.
Ein Auszug aus den DEBUG Meldungen:
-- creating pipe for PLCI=0x101 msn = 55
> sent ALERT_REQ PLCI = 0x101
-- started pbx on channel (callgroup=0)!
-- Executing DISA("CAPI[contr1/55]/0", "no-password|out") in new stack
-- CAPI Answering for MSN 55
> sent FACILITY_REQ (PLCI=0x101)
May 12 15:27:01 WARNING[1114225584]: cdr.c:286 ast_cdr_init: CDR already initialized on 'CAPI[contr1/55]/0'
-- Executing Goto("CAPI[contr1/55]/0", "dialout|8034xxxxxxxx") in new stack
-- Goto (out,dialout,2147483647)
-- Timeout on CAPI[contr1/55]/0
== CDR updated on CAPI[contr1/55]/0
-- Executing Goto("CAPI[contr1/55]/0", "dialout|8t") in new stack
-- Goto (out,dialout,8)
-- Timeout on CAPI[contr1/55]/0
== CDR updated on CAPI[contr1/55]/0
-- Executing Goto("CAPI[contr1/55]/0", "dialout|8t") in new stack
-- Goto (out,dialout,8)
-- Timeout on CAPI[contr1/55]/0
== CDR updated on CAPI[contr1/55]/0
-- Executing Goto("CAPI[contr1/55]/0", "dialout|8t") in new stack
-- Goto (out,dialout,8)
-- Timeout on CAPI[contr1/55]/0
== CDR updated on CAPI[contr1/55]/0
-- Executing Goto("CAPI[contr1/55]/0", "dialout|8t") in new stack
-- Goto (out,dialout,8)
-- Timeout on CAPI[contr1/55]/0
== CDR updated on CAPI[contr1/55]/0
-- Executing Goto("CAPI[contr1/55]/0", "dialout|8t") in new stack
-- Goto (out,dialout,8)
-- Timeout on CAPI[contr1/55]/0
== CDR updated on CAPI[contr1/55]/0
-- Executing Goto("CAPI[contr1/55]/0", "dialout|8t") in new stack
-- Goto (out,dialout,8)
-- Executing Goto("CAPI[contr1/55]/0", "dialout|8h") in new stack
-- Goto (out,dialout,8)
Was könnte der Fehler sein?
Vielen Dank schon mal im vorraus.
Sven