Segmentation Fault bei Anruf

XRebell

Neuer User
Mitglied seit
13 Mrz 2007
Beiträge
19
Punkte für Reaktionen
0
Punkte
0
Hallo Zusammen,

ich habe Trixbox 2.0 mit einer AVM C4 am laufen.

Die installation hat auch soweit geklappt, jedoch stürzt asterisk beim Versuch rauszutelefonieren immer ab.

Das Debug log sieht dann wie folt aus:

Code:
Asterisk Ready.
*CLI> capi debug
CAPI Debugging Enabled
*CLI>     -- Executing Macro("SIP/28-0823c2f0", "dialout-trunk|2|1234||") in new stack
    -- Executing Set("SIP/28-0823c2f0", "DIAL_TRUNK=2") in new stack
    -- Executing Set("SIP/28-0823c2f0", "_NODEST=") in new stack
    -- Executing Set("SIP/28-0823c2f0", "DIAL_NUMBER=1234") in new stack
    -- Executing Set("SIP/28-0823c2f0", "ROUTE_PASSWD=") in new stack
    -- Executing Set("SIP/28-0823c2f0", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing GotoIf("SIP/28-0823c2f0", "1?noauth") in new stack
    -- Goto (macro-dialout-trunk,s,8)
    -- Executing Set("SIP/28-0823c2f0", "GROUP()=OUT_2") in new stack
    -- Executing Macro("SIP/28-0823c2f0", "user-callerid|SKIPTTL") in new stack
    -- Executing NoOp("SIP/28-0823c2f0", "user-callerid: device 28") in new stack
    -- Executing GotoIf("SIP/28-0823c2f0", "0?report") in new stack
    -- Executing GotoIf("SIP/28-0823c2f0", "0?start") in new stack
    -- Executing Set("SIP/28-0823c2f0", "REALCALLERIDNUM=28") in new stack
    -- Executing NoOp("SIP/28-0823c2f0", "REALCALLERIDNUM is 28") in new stack
    -- Executing Set("SIP/28-0823c2f0", "AMPUSER=28") in new stack
    -- Executing Set("SIP/28-0823c2f0", "AMPUSERCIDNAME=") in new stack
    -- Executing GotoIf("SIP/28-0823c2f0", "0?report") in new stack
    -- Executing Set("SIP/28-0823c2f0", "CALLERID(all)= <28>") in new stack
    -- Executing Set("SIP/28-0823c2f0", "REALCALLERIDNUM=28") in new stack
    -- Executing NoOp("SIP/28-0823c2f0", "TTL:  ARG1: SKIPTTL") in new stack
    -- Executing GotoIf("SIP/28-0823c2f0", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,21)
    -- Executing NoOp("SIP/28-0823c2f0", "Using CallerID "" <28>") in new stack
    -- Executing Macro("SIP/28-0823c2f0", "record-enable|28|OUT") in new stack
    -- Executing GotoIf("SIP/28-0823c2f0", "0 > 0?2:4") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing DeadAGI("SIP/28-0823c2f0", "recordingcheck|20070407-152231|1175952151.0") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  recordingcheck|20070407-152231|1175952151.0: Outbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing NoOp("SIP/28-0823c2f0", "No recording needed") in new stack
    -- Executing GotoIf("SIP/28-0823c2f0", "0?skipoutcid") in new stack
    -- Executing Set("SIP/28-0823c2f0", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing Macro("SIP/28-0823c2f0", "outbound-callerid|2") in new stack
    -- Executing GotoIf("SIP/28-0823c2f0", "1?start") in new stack
    -- Goto (macro-outbound-callerid,s,3)
    -- Executing NoOp("SIP/28-0823c2f0", "REALCALLERIDNUM is 28") in new stack
    -- Executing GotoIf("SIP/28-0823c2f0", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,9)
    -- Executing Set("SIP/28-0823c2f0", "USEROUTCID=") in new stack
    -- Executing Set("SIP/28-0823c2f0", "EMERGENCYCID=") in new stack
    -- Executing Set("SIP/28-0823c2f0", "TRUNKOUTCID=test") in new stack
    -- Executing GotoIf("SIP/28-0823c2f0", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,16)
    -- Executing GotoIf("SIP/28-0823c2f0", "0?usercid") in new stack
    -- Executing Set("SIP/28-0823c2f0", "CALLERID(all)=test") in new stack
    -- Executing GotoIf("SIP/28-0823c2f0", "1?report") in new stack
    -- Goto (macro-outbound-callerid,s,22)
    -- Executing NoOp("SIP/28-0823c2f0", "CallerID set to "test" <>") in new stack
    -- Executing GotoIf("SIP/28-0823c2f0", "0?nomax") in new stack
    -- Executing GotoIf("SIP/28-0823c2f0", "0?chanfull") in new stack
    -- Executing DeadAGI("SIP/28-0823c2f0", "fixlocalprefix") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
       >  fixlocalprefix: Using pattern .
  ==  fixlocalprefix: Dialpattern . matched. 1234 -> 1234
    -- AGI Script fixlocalprefix completed, returning 0
    -- Executing Set("SIP/28-0823c2f0", "OUTNUM=1234") in new stack
    -- Executing Set("SIP/28-0823c2f0", "custom=AMP") in new stack
    -- Executing GotoIf("SIP/28-0823c2f0", "1?customtrunk") in new stack
    -- Goto (macro-dialout-trunk,s,22)
    -- Executing Set("SIP/28-0823c2f0", "pre_num=AMP:CAPI/ISDN1/") in new stack
    -- Executing Set("SIP/28-0823c2f0", "the_num=OUTNUM") in new stack
    -- Executing Set("SIP/28-0823c2f0", "post_num=/b") in new stack
    -- Executing GotoIf("SIP/28-0823c2f0", "1?outnum:skipoutnum") in new stack
    -- Goto (macro-dialout-trunk,s,26)
    -- Executing Set("SIP/28-0823c2f0", "the_num=1234") in new stack
    -- Executing Dial("SIP/28-0823c2f0", "CAPI/ISDN1/1234/b|300|") in new stack
       > data = ISDN1/1234/b
       > parsed dialstring: 'ISDN1' 'NULL' '1234' 'b'
       > capi request for interface 'ISDN1'
       > parsed dialstring: 'ISDN1' 'NULL' '1234' 'b'
  == ISDN1: Call CAPI/ISDN1/1234-0 with B3  (pres=0x00, ton=0x00)
CONNECT_REQ ID=001 #0x0006 LEN=0045
  Controller/PLCI/NCCI            = 0x1
  CIPValue                        = 0x1
  CalledPartyNumber               = <80>1234
  CallingPartyNumber              = <00 80>
  CalledPartySubaddress           = default
  CallingPartySubaddress          = default
  BProtocol
   B1protocol                     = 0x1
   B2protocol                     = 0x1
   B3protocol                     = 0x0
   B1configuration                = default
   B2configuration                = default
   B3configuration                = default
  BC                              = default
  LLC                             = default
  HLC                             = default
  AdditionalInfo
   BChannelinformation            = <00 00>
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default

    -- Called ISDN1/1234/b
CONNECT_CONF ID=001 #0x0006 LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Info                            = 0x0

    -- ISDN1: received CONNECT_CONF PLCI = 0x101
DISCONNECT_IND ID=001 #0x0004 LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Reason                          = 0x3302

Segmentation fault (core dumped)

Das Backtrace Ergebnis:

(gdb) backtrace
#0 0x0806742f in ast_translator_free_path ()
#1 0x083aa660 in ?? ()
#2 0x0806118a in ast_senddigit ()
#3 0x00000008 in ?? ()
#4 0xb7b284d8 in ?? ()
#5 0x00000000 in ?? ()


hat jemand eine Idee woran es liegen könnte?
 
Welche Version von chan-capi hast du verwendet?
Selbst compiliert?

Versuche mal das fertige chan-capi fuer Trixbox auf ftp.melware.net

Armin
 
Hi, danke für die Antwort. Das chan_capi ist die version die ich im freepbx runterladen kann ... sprich die chan_capi-cm-0.6.5
 
Hab das gleich Prob. Konnte es jemand lösen ???
 
Hi,

hatte damals nicht viel erfolg bei der Problemlösung und hab mich dazu entschieden das ganze auf nem Suse 10.2 auszusetzen. Welche ISDN Karte nutzt du denn?
 
Hi,

ich habe auch das gleiche Problem. Hat eventuell jemand von Euch einen Tipp ..:noidea:

Gruß appleactive
 
@mpeter

Danke für den Tipp, werde ich gleich mal ausprobieren.

Gruß appleactive
 
@mpeter

nochmals Danke für Deinen Tipp, damit ist mein Problem gelöst. Ich kann jetzt auch über ISDN telefonieren :D

Gruß appleactive :D
 
Welche ISDN Karten habt ihr im Einsatz ... hab das ganze gestern mal getestet und die C4 von AVM läuft leider immer noch nicht!!!
 
Hi, schau mal in unsere Signaturen! ;)


Gruß appleactive
 
in deiner stehts drin aber nich bei mpeter
 
Kostenlos!

Statistik des Forums

Themen
247,207
Beiträge
2,263,797
Mitglieder
375,693
Neuestes Mitglied
LoveMyWall