.titleBar { margin-bottom: 5px!important; }

a2billing - meldet sich nicht ... kein Sound ...

Dieses Thema im Forum "FreePBX, TrixBox (Asterisk@Home)" wurde erstellt von mediacomet, 6 Feb. 2006.

  1. mediacomet

    mediacomet Neuer User

    Registriert seit:
    14 Jan. 2006
    Beiträge:
    10
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    Hallo,
    Ich habe hier sicher einen Fehler in der extensions.conf

    ohne a2billling kann ich raustelefonieren - mit dem a2billing Modul habe ich zwar ein Freizeichen, wähle ich nun eine Nummer geht das über AGI raus - aber ich höre keine Ansage wg. PIN nur ein Besetztzeichen ...

    Hier der Output:
    Code:
    Connected to Asterisk 1.2.2-BRIstuffed-0.3.0-PRE-1i currently running on asterisk (pid = 1985)
    Verbosity is at least 5
      == Primary D-Channel on span 1 up for TEI 65
        -- Accepting overlap voice call from '2000' to '<unspecified>' on channel 0/2, span 1
        -- Starting simple switch on 'Zap/2-1'
        -- Executing Answer("Zap/2-1", "") in new stack
        -- Executing Wait("Zap/2-1", "2") in new stack
        -- Executing DeadAGI("Zap/2-1", "a2billing.php") in new stack
        -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
        -- AGI Script a2billing.php completed, returning 0
        -- Executing Wait("Zap/2-1", "2") in new stack
        -- Executing Hangup("Zap/2-1", "") in new stack
      == Spawn extension (default, 06511455462, 5) exited non-zero on 'Zap/2-1'
        -- Executing Hangup("Zap/2-1", "") in new stack
      == Spawn extension (default, h, 1) exited non-zero on 'Zap/2-1'
        -- Hungup 'Zap/2-1'
      == Primary D-Channel on span 1 down for TEI 65
    das ist meine extensions.conf
    Code:
    [general]
    
    static=yes
    writeprotect=no
    
    [globals]
    localdialtimeout=120
    
    [default]
    include => user
    include => incoming
    include => outgoing
    include => error
    include => custom-callingcard
    
    ; CallingCard application
    exten => _X./1000,1,Answer
    exten => _X./1000,2,Wait,2
    exten => _X./1000,3,DeadAGI,a2billing.php
    exten => _X./1000,4,Wait,2
    exten => _X./1000,5,Hangup
    
    exten => _X./2000,1,Answer
    exten => _X./2000,2,Wait,2
    exten => _X./2000,3,DeadAGI,a2billing.php
    exten => _X./2000,4,Wait,2
    exten => _X./2000,5,Hangup
    
    [custom-callingcard]  
    exten => s,1,Answer  
    exten => s,2,Wait,2  
    exten => s,3,DeadAGI,a2billing.php  
    exten => s,4,Wait,2  
    exten => s,5,Hangup
     
    [outgoing]
    include => 1000
    include => 2000
    
    include => incoming
    
    [1000]
    ;;; Phone 1000 ;;;
    ; Outgoing calls over SIP
    exten => _x.,1,Set(LANGUAGE()=en)
    exten => _x./1000,2,Set(CALLERID(number)=06516309276)
    exten => _x./06516309276,3,Set(CALLERID(name)=freenet.de)
    exten => _x./06516309276,4,Dial(SIP/${areaCode}${EXTEN}@freenet.de,120,TW)
    exten => _x./06516309276,5,Goto(dialStates,${DIALSTATUS},1)
    
    
    ; Outgoing calls over CAPI
    exten => _x.,1,Set(LANGUAGE()=en)
    exten => _x./1000,2,Set(CALLERID(number)=1000)
    exten => _x./1000,3,Set(CALLERID(name)=)
    exten => _x./1000,4,Dial(Zap/g1/${EXTEN},120,TW)
    exten => _x./1000,5,Goto(dialStates,${DIALSTATUS},1)
    
    
    
    [2000]
    ;;; Phone 2000 ;;;
    ; Outgoing calls over SIP
    exten => _x.,1,Set(LANGUAGE()=en)
    exten => _x./2000,2,Set(CALLERID(number)=06516309276)
    exten => _x./06516309276,3,Set(CALLERID(name)=freenet.de)
    exten => _x./06516309276,4,Dial(SIP/${areaCode}${EXTEN}@freenet.de,120,TW)
    exten => _x./06516309276,5,Goto(dialStates,${DIALSTATUS},1)
    
    
    ; Outgoing calls over CAPI
    exten => _x.,1,Set(LANGUAGE()=en)
    exten => _x./2000,2,Set(CALLERID(number)=2000)
    exten => _x./2000,3,Set(CALLERID(name)=)
    exten => _x./2000,4,Dial(Zap/g1/${EXTEN},120,TW)
    exten => _x./2000,5,Goto(dialStates,${DIALSTATUS},1)
    
    
    [incoming]
    include => default
    
    exten => 06516309276,1,Set(LANGUAGE()=en)
    exten => 06516309276,2,Ringing()
    exten => 06516309276,3,Dial(CAPI/contr1/1000&CAPI/contr1/2000,${localdialtimeout},t)
    exten => 06516309276,4,Congestion()
    exten => 06516309276,5,Wait(10)
    exten => 06516309276,6,Hangup()
    
    ; Incoming (internal) calls for number 1000. Type of phone: disa
    exten => 1000,1,Set(LANGUAGE()=en)
    exten => 1000/2000,2,Set(CALLERID(name)=freenet.de)
    exten => 1000/2000,3,Set(CALLERID(number)=2000)
    exten => 1000,2,NoOp()
    exten => 1000,3,NoOp()
    exten => 1000,4,Dial(CAPI/contr1/1000,120)
    exten => 1000,5,Goto(incoming,1000-${DIALSTATUS},1)
    exten => 1000,6,Goto(dialStates,${DIALSTATUS},1)
    
    ; Incoming (internal) calls for number 2000. Type of phone: disa
    exten => 2000,1,Set(LANGUAGE()=en)
    exten => 2000/1000,2,Set(CALLERID(name)=freenet.de)
    exten => 2000/1000,3,Set(CALLERID(number)=1000)
    exten => 2000,2,NoOp()
    exten => 2000,3,NoOp()
    exten => 2000,4,Dial(CAPI/contr1/2000,120)
    exten => 2000,5,Goto(incoming,2000-${DIALSTATUS},1)
    exten => 2000,6,Goto(dialStates,${DIALSTATUS},1)
    
    ; Incoming DISA calls for 1000
    exten => 88/1000,1,Answer
    exten => 88/1000,2,Background(tt-weasels)
    exten => 88/1000,3,DISA(no-password|outgoing)
    
    ; Incoming DISA calls for 2000
    exten => 88/2000,1,Answer
    exten => 88/2000,2,Background(tt-weasels)
    exten => 88/2000,3,DISA(no-password|outgoing)
    
    [error]
    exten => h,1,Hangup
    exten => _[*#X].,1,Set(LANGUAGE()=en)
    exten => _[*#X].,2,Playback(pbx-invalid)
    exten => _[*#X].,3,Congestion()
    exten => _[*#X].,4,Wait(10)
    exten => _[*#X].,5,Hangup()
    
    [user]