Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[OT] Asterisk hinter TK
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum
View previous topic :: View next topic  
Author Message
amdunlock
Guru
Guru


Joined: 24 Apr 2004
Posts: 409
Location: Darmstadt Germany

PostPosted: Mon Nov 21, 2005 8:28 pm    Post subject: [OT] Asterisk hinter TK Reply with quote

Hi,

ich verwende Asterisk mit einer Fritz Card ISDN. Capi ist installiert und lädt auch soweit. Nun möchte ich nach draußen telefonieren.
Ich habe schon die MSN des internn ISDN Anschluss herausbekommen (20) und man muss eine 0 wählen, um ein Amt zu bekommen. Wie konfiguriere ich dann die capi.conf? ich blicke da nicht mehr durch :(

Danke, Oliver :)
_________________
-2500+ @ 3200+ ---- 512MB-Ram watercooled Htf X Triple @ 3 x 5V - Abit AN7 s*cking microguru - Geforce 6800 - Audigy 2 -=Gentoo Stage 2004.2 @ ext3=-
Back to top
View user's profile Send private message
Regin37
n00b
n00b


Joined: 03 Dec 2004
Posts: 4

PostPosted: Fri Nov 25, 2005 6:51 pm    Post subject: Reply with quote

...hier eine einfach capi.conf, es werden aber nur ankommende verbindungen mit der capi.conf gesteuert

capi.conf
Code:

;
; CAPI config
;
;
[general]
nationalprefix=0
internationalprefix=00
rxgain=0.8
txgain=0.8

[interfaces]

msn=123456,123457 ;msn auf die dein capi lauscht
controller=1 ;welcher capi ISDN-Controller
softdtmf=0
incomingmsn=123456 ;auf ein anruf mit dieser MSN
context=isdnin ;springe in der extension.conf in den entspr. Context

...



ausgehende Verbindungen und der context für den eingehenden capi-call werden in der extensions.conf definiert

extensions.conf
Quote:

...


[isdnin]
; isdn anrufe an das ZAP device 1234 und 1235 weiterreichen, wenn nicht abgenommen, den AB und auflegen
exten => 123456,1,SetLanguage(de)
exten => 123456,2,Dial(ZAP/g1/1234&ZAP/G1/1235,66,tT)
exten => 123456,3,Voicemail2(su1234)
exten => 123456,4,Hangup

[calls]
;ausgehende ISDN Call mit bestimmter MSN als standard extension (s)
exten => s.,1,Dial(CAPI/123456:${EXTEN},,)
exten => s.,2,Congestion
exten => s.,3,Busy
exten => s.,4,Hangup

...


wenn noch etwas automatisch vorgewählt werden soll, z.b. die 0:
exten => s.,1,Dial(CAPI/123456:0${EXTEN},,)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum