chan_capi nimmt anruf nicht entgegen ?

Ich habe in der inbound route als DID jetzt wieder "_." gesetzt. Und den haken mit der RINGING Funktione belassen.

dann hab ich in der * cli "core set verbose 9" eingegeben.

es kommt glaube ich fast das gleiche raus, nur mit der einen Zeile davor, vielleicht gibt die Aufschlüsse.

Code:
Really destroying SIP dialog '[email protected]' Method: OPTIONS
CONNECT_IND ID=002 #0x025e LEN=0054
  Controller/PLCI/NCCI            = 0x101
  CIPValue                        = 0x10
  CalledPartyNumber               = <80>4952*ziel*
  CallingPartyNumber              = <00 80>052*quelle*
  CalledPartySubaddress           = default
  CallingPartySubaddress          = default
  BC                              = <80 90 a3>
  LLC                             = default
  HLC                             = <91 81>
  AdditionalInfo                  = default

    -- CONNECT_IND (PLCI=0x101,DID=4952*ziel*,CID=052*quelle*,CIP=0x10,CONTROLLER=0x1)
       > ISDN1#02: msn='meineMSN' DNID='4952*ziel*' MSN
       > ISDN1#01: msn='meineMSN' DNID='4952*ziel*' MSN
CONNECT_RESP ID=002 #0x025e LEN=0019
  Controller/PLCI/NCCI            = 0x101
  Reject                          = 0x1
  BProtocol                       = default
  ConnectedNumber                 = default
  ConnectedSubaddress             = default
  LLC                             = default
  AdditionalInfo                  = default

       > CAPI: Command=CONNECT_IND,0x8482: no interface for PLCI=0x101, MSGNUM=0x25e!
INFO_IND ID=002 #0x025f LEN=0028
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x70
  InfoElement                     = <80>4952*ziel*

INFO_RESP ID=002 #0x025f LEN=0012
  Controller/PLCI/NCCI            = 0x101

CAPI: INFO_IND no interface for PLCI=0x101
       > CAPI: Command=INFO_IND,0x8492: no interface for PLCI=0x101, MSGNUM=0x25f!
INFO_IND ID=002 #0x0260 LEN=0016
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x18
  InfoElement                     = <89>

INFO_RESP ID=002 #0x0260 LEN=0012
  Controller/PLCI/NCCI            = 0x101

CAPI: INFO_IND no interface for PLCI=0x101
       > CAPI: Command=INFO_IND,0x8492: no interface for PLCI=0x101, MSGNUM=0x260!
DISCONNECT_IND ID=002 #0x0261 LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Reason                          = 0x0

DISCONNECT_RESP ID=002 #0x0261 LEN=0012
  Controller/PLCI/NCCI            = 0x101

CAPI: DISCONNECT_IND no interface for PLCI=0x101
       > CAPI: Command=DISCONNECT_IND,0x848c: no interface for PLCI=0x101, MSGNUM=0x261!
CONNECT_IND ID=002 #0x0262 LEN=0054
  Controller/PLCI/NCCI            = 0x101
  CIPValue                        = 0x10
  CalledPartyNumber               = <80>4952*ziel*
  CallingPartyNumber              = <00 80>052*quelle*
  CalledPartySubaddress           = default
  CallingPartySubaddress          = default
  BC                              = <80 90 a3>
  LLC                             = default
  HLC                             = <91 81>
  AdditionalInfo                  = default

    -- CONNECT_IND (PLCI=0x101,DID=4952*ziel*,CID=052*quelle*,CIP=0x10,CONTROLLER=0x1)
       > ISDN1#02: msn='meineMSN' DNID='4952*ziel*' MSN
       > ISDN1#01: msn='meineMSN' DNID='4952*ziel*' MSN
CONNECT_RESP ID=002 #0x0262 LEN=0019
  Controller/PLCI/NCCI            = 0x101
  Reject                          = 0x1
  BProtocol                       = default
  ConnectedNumber                 = default
  ConnectedSubaddress             = default
  LLC                             = default
  AdditionalInfo                  = default

       > CAPI: Command=CONNECT_IND,0x8482: no interface for PLCI=0x101, MSGNUM=0x262!
INFO_IND ID=002 #0x0263 LEN=0028
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x70
  InfoElement                     = <80>4952*ziel*

INFO_RESP ID=002 #0x0263 LEN=0012
  Controller/PLCI/NCCI            = 0x101

CAPI: INFO_IND no interface for PLCI=0x101
       > CAPI: Command=INFO_IND,0x8492: no interface for PLCI=0x101, MSGNUM=0x263!
INFO_IND ID=002 #0x0264 LEN=0016
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x18
  InfoElement                     = <89>

INFO_RESP ID=002 #0x0264 LEN=0012
  Controller/PLCI/NCCI            = 0x101

CAPI: INFO_IND no interface for PLCI=0x101
       > CAPI: Command=INFO_IND,0x8492: no interface for PLCI=0x101, MSGNUM=0x264!
DISCONNECT_IND ID=002 #0x0265 LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Reason                          = 0x0

DISCONNECT_RESP ID=002 #0x0265 LEN=0012
  Controller/PLCI/NCCI            = 0x101

CAPI: DISCONNECT_IND no interface for PLCI=0x101
       > CAPI: Command=DISCONNECT_IND,0x848c: no interface for PLCI=0x101, MSGNUM=0x265!
 
nur mal so "_." ohne anführungszeichen gesetzt? _.
 
ja sicher.

wenn ich mit dem freepbx eine outbound route erstelle, kann er auch nicht rauswählen. "Your call can not be completed as dialed, please chek the number an Dial Again..."
 
und was kommt in der cli?
 
Wenn ic raus wählen will kommt das:

Code:
Verbosity is at least 9
    -- Executing [052*ziel*@from-internal:1] ResetCDR("SIP/15-081e36c0", "") in new stack
    -- Executing [052*ziel*@from-internal:2] NoCDR("SIP/15-081e36c0", "") in new stack
    -- Executing [052*ziel*@from-internal:3] Wait("SIP/15-081e36c0", "1") in new stack
    -- Executing [052*ziel*@from-internal:4] Playback("SIP/15-081e36c0", "silence/1&cannot-complete-as-dialed&check-number-dial-again|noanswer") in new stack
    -- <SIP/15-081e36c0> Playing 'silence/1' (language 'en')
    -- <SIP/15-081e36c0> Playing 'cannot-complete-as-dialed' (language 'en')
    -- <SIP/15-081e36c0> Playing 'check-number-dial-again' (language 'en')
  == Spawn extension (from-internal, 052*ziel*, 4) exited non-zero on 'SIP/15-081e36c0'
    -- Executing [h@from-internal:1] Macro("SIP/15-081e36c0", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] ResetCDR("SIP/15-081e36c0", "w") in new stack
    -- Executing [s@macro-hangupcall:2] NoCDR("SIP/15-081e36c0", "") in new stack
    -- Executing [s@macro-hangupcall:3] GotoIf("SIP/15-081e36c0", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,6)
    -- Executing [s@macro-hangupcall:6] GotoIf("SIP/15-081e36c0", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] GotoIf("SIP/15-081e36c0", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,11)
    -- Executing [s@macro-hangupcall:11] Hangup("SIP/15-081e36c0", "") in new stack
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/15-081e36c0'
Really destroying SIP dialog '28ab31ad-2eea-dd11-8e6c-000e351c0655@Holocaust' Method: ACK
 
und wie sieht die ausgehende route dazu aus?
 
mal dumm gefragt: wenn du Änderungen in FreePBX machst, wird der Dialplan da sofort neu erstellt, bzw. greifen die Änderungen dann sofort (automat. Reload), oder musst du auf der Oberfläche manuell einen reload veranlassen?

Dein Log-Auszug zeigt übrigens in keinster Weise einen abgehenden Anruf. Das ist alles FreePBX Problematik...

Mario
 
na ich hoffe doch er "drückt" den reload-knopf!!
 
Ja sicha drücke ich den Reload Knopf.

Für die outbound Route habe ich dem Kind ein Namen gegeben, Dial Roules "X" gesetzt und den einzigen vorhandenen trunk gewählt.
 
das ist bringt garnichts:
so muss es aussehen:

2|.



dann wählt man zb: eine 2 vor jeder abgehenden verbindung
 
neeee, ich glaubs nicht!!! Die Outbound Route funzt! Danke für den Tipp,blauerpeti, der ist Gold Wert!

Nur wird das Telefonat sofort beendet, wenn der angerufene abnimmt!

Geil, das bringt mich schon mal wieder einen Lichtblick am Ende des Tunnels!

Wie bringe ich das jetzt zu Stande, das nicht sofort wieder aufgelegt wird?
Dazu wird sicherlich wieder nen bischen log benötigt.
Hier:
Code:
    -- Executing [0*gewähltenummer*@from-internal:1] Macro("SIP/15-081e3280", "user-callerid|SKIPTTL|") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/15-081e3280", "AMPUSER=15") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/15-081e3280", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/15-081e3280", "1|Set|REALCALLERIDNUM=15") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/15-081e3280", "AMPUSER=15") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/15-081e3280", "AMPUSERCIDNAME=simonlukas") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/15-081e3280", "0?report") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/15-081e3280", "AMPUSERCID=15") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/15-081e3280", "CALLERID(all)="simonlukas" <15>") in new stack
    -- Executing [s@macro-user-callerid:9] Set("SIP/15-081e3280", "REALCALLERIDNUM=15") in new stack
    -- Executing [s@macro-user-callerid:10] ExecIf("SIP/15-081e3280", "0|Set|CHANNEL(language)=") in new stack
    -- Executing [s@macro-user-callerid:11] GotoIf("SIP/15-081e3280", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,20)
    -- Executing [s@macro-user-callerid:20] NoOp("SIP/15-081e3280", "Using CallerID "simonlukas" <15>") in new stack
    -- Executing [0*gewähltenummer*@from-internal:2] Set("SIP/15-081e3280", "_NODEST=") in new stack
    -- Executing [0*gewähltenummer*@from-internal:3] Macro("SIP/15-081e3280", "record-enable|15|OUT|") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/15-081e3280", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("SIP/15-081e3280", "recordingcheck|20090126-213605|asterisk-11200-1233002165.12") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  recordingcheck|20090126-213605|asterisk-11200-1233002165.12: Outbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] MacroExit("SIP/15-081e3280", "") in new stack
    -- Executing [0*gewähltenummer*@from-internal:4] Macro("SIP/15-081e3280", "dialout-trunk|2|*gewähltenummer*||") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/15-081e3280", "DIAL_TRUNK=2") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/15-081e3280", "0?sub-pincheck|s|1") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/15-081e3280", "0?disabletrunk|1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/15-081e3280", "DIAL_NUMBER=*gewähltenummer*") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/15-081e3280", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/15-081e3280", "OUTBOUND_GROUP=OUT_2") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/15-081e3280", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/15-081e3280", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/15-081e3280", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/15-081e3280", "outbound-callerid|2") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/15-081e3280", "0|SetCallerPres|") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/15-081e3280", "0|Set|REALCALLERIDNUM=15") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/15-081e3280", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/15-081e3280", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/15-081e3280", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/15-081e3280", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/15-081e3280", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/15-081e3280", "0|Set|CALLERID(all)=") in new stack
    -- Executing [s@macro-outbound-callerid:13] GotoIf("SIP/15-081e3280", "1?exit") in new stack
    -- Goto (macro-outbound-callerid,s,11)
    -- Executing [s@macro-outbound-callerid:11] MacroExit("SIP/15-081e3280", "") in new stack
    -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/15-081e3280", "1|AGI|fixlocalprefix") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
       >  fixlocalprefix: Using pattern X
    -- AGI Script fixlocalprefix completed, returning 0
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/15-081e3280", "OUTNUM=*gewähltenummer*") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/15-081e3280", "custom=AMP") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/15-081e3280", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
    -- Executing [s@macro-dialout-trunk:16] Macro("SIP/15-081e3280", "dialout-trunk-predial-hook|") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/15-081e3280", "") in new stack
    -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/15-081e3280", "0?bypass|1") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/15-081e3280", "1?customtrunk") in new stack
    -- Goto (macro-dialout-trunk,s,21)
    -- Executing [s@macro-dialout-trunk:21] Set("SIP/15-081e3280", "pre_num=AMP:CAPI/ISDN1/") in new stack
    -- Executing [s@macro-dialout-trunk:22] Set("SIP/15-081e3280", "the_num=OUTNUM") in new stack
    -- Executing [s@macro-dialout-trunk:23] Set("SIP/15-081e3280", "post_num=") in new stack
    -- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/15-081e3280", "1?outnum:skipoutnum") in new stack
    -- Goto (macro-dialout-trunk,s,25)
    -- Executing [s@macro-dialout-trunk:25] Set("SIP/15-081e3280", "the_num=*gewähltenummer*") in new stack
    -- Executing [s@macro-dialout-trunk:26] Dial("SIP/15-081e3280", "CAPI/ISDN1/*gewähltenummer*|300|") in new stack
    -- Called ISDN1/*gewähltenummer*
    -- CAPI/ISDN1#02/*gewähltenummer*-6 is making progress passing it to SIP/15-081e3280
    -- CAPI/ISDN1#02/*gewähltenummer*-6 is proceeding passing it to SIP/15-081e3280
    -- CAPI/ISDN1#02/*gewähltenummer*-6 is ringing
    -- CAPI/ISDN1#02/*gewähltenummer*-6 answered SIP/15-081e3280
  == ISDN1#02: CAPI Hangingup for PLCI=0x101 in state 2
  == Spawn extension (macro-dialout-trunk, s, 26) exited non-zero on 'SIP/15-081e3280' in macro 'dialout-trunk'
  == Spawn extension (macro-dialout-trunk, s, 26) exited non-zero on 'SIP/15-081e3280'
    -- Executing [h@macro-dialout-trunk:1] Macro("SIP/15-081e3280", "hangupcall|") in new stack
    -- Executing [s@macro-hangupcall:1] ResetCDR("SIP/15-081e3280", "w") in new stack
    -- Executing [s@macro-hangupcall:2] NoCDR("SIP/15-081e3280", "") in new stack
    -- Executing [s@macro-hangupcall:3] GotoIf("SIP/15-081e3280", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,6)
    -- Executing [s@macro-hangupcall:6] GotoIf("SIP/15-081e3280", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] GotoIf("SIP/15-081e3280", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,11)
    -- Executing [s@macro-hangupcall:11] Hangup("SIP/15-081e3280", "") in new stack
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/15-081e3280' in macro 'hangupcall'
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/15-081e3280'

Ich finde es aber echt schon mal klasse, das da wenigstens nen Lebenszeichen über die Leitung kommt!

Dann kann ich jetzt schon mal diverse Klingelstreiche spielen, hehe
 
neeee, ich glaubs nicht!!! Die Outbound Route funzt! Danke für den Tipp,blauerpeti, der ist Gold Wert!

Nur wird das Telefonat sofort beendet, wenn der angerufene abnimmt!

Geil, das bringt mich schon mal wieder einen Lichtblick am Ende des Tunnels!

Wie bringe ich das jetzt zu Stande, das nicht sofort wieder aufgelegt wird?
Dazu wird sicherlich wieder nen bischen log benötigt.
Hier:
Code:
    -- Executing [0*gewähltenummer*@from-internal:1] Macro("SIP/15-081e3280", "user-callerid|SKIPTTL|") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/15-081e3280", "AMPUSER=15") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/15-081e3280", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/15-081e3280", "1|Set|REALCALLERIDNUM=15") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/15-081e3280", "AMPUSER=15") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/15-081e3280", "AMPUSERCIDNAME=simonlukas") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/15-081e3280", "0?report") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/15-081e3280", "AMPUSERCID=15") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/15-081e3280", "CALLERID(all)="simonlukas" <15>") in new stack
    -- Executing [s@macro-user-callerid:9] Set("SIP/15-081e3280", "REALCALLERIDNUM=15") in new stack
    -- Executing [s@macro-user-callerid:10] ExecIf("SIP/15-081e3280", "0|Set|CHANNEL(language)=") in new stack
    -- Executing [s@macro-user-callerid:11] GotoIf("SIP/15-081e3280", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,20)
    -- Executing [s@macro-user-callerid:20] NoOp("SIP/15-081e3280", "Using CallerID "simonlukas" <15>") in new stack
    -- Executing [0*gewähltenummer*@from-internal:2] Set("SIP/15-081e3280", "_NODEST=") in new stack
    -- Executing [0*gewähltenummer*@from-internal:3] Macro("SIP/15-081e3280", "record-enable|15|OUT|") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/15-081e3280", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("SIP/15-081e3280", "recordingcheck|20090126-213605|asterisk-11200-1233002165.12") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  recordingcheck|20090126-213605|asterisk-11200-1233002165.12: Outbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] MacroExit("SIP/15-081e3280", "") in new stack
    -- Executing [0*gewähltenummer*@from-internal:4] Macro("SIP/15-081e3280", "dialout-trunk|2|*gewähltenummer*||") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/15-081e3280", "DIAL_TRUNK=2") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/15-081e3280", "0?sub-pincheck|s|1") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/15-081e3280", "0?disabletrunk|1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/15-081e3280", "DIAL_NUMBER=*gewähltenummer*") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/15-081e3280", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/15-081e3280", "OUTBOUND_GROUP=OUT_2") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/15-081e3280", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/15-081e3280", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/15-081e3280", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/15-081e3280", "outbound-callerid|2") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/15-081e3280", "0|SetCallerPres|") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/15-081e3280", "0|Set|REALCALLERIDNUM=15") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/15-081e3280", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/15-081e3280", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/15-081e3280", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/15-081e3280", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/15-081e3280", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/15-081e3280", "0|Set|CALLERID(all)=") in new stack
    -- Executing [s@macro-outbound-callerid:13] GotoIf("SIP/15-081e3280", "1?exit") in new stack
    -- Goto (macro-outbound-callerid,s,11)
    -- Executing [s@macro-outbound-callerid:11] MacroExit("SIP/15-081e3280", "") in new stack
    -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/15-081e3280", "1|AGI|fixlocalprefix") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
       >  fixlocalprefix: Using pattern X
    -- AGI Script fixlocalprefix completed, returning 0
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/15-081e3280", "OUTNUM=*gewähltenummer*") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/15-081e3280", "custom=AMP") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/15-081e3280", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
    -- Executing [s@macro-dialout-trunk:16] Macro("SIP/15-081e3280", "dialout-trunk-predial-hook|") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/15-081e3280", "") in new stack
    -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/15-081e3280", "0?bypass|1") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/15-081e3280", "1?customtrunk") in new stack
    -- Goto (macro-dialout-trunk,s,21)
    -- Executing [s@macro-dialout-trunk:21] Set("SIP/15-081e3280", "pre_num=AMP:CAPI/ISDN1/") in new stack
    -- Executing [s@macro-dialout-trunk:22] Set("SIP/15-081e3280", "the_num=OUTNUM") in new stack
    -- Executing [s@macro-dialout-trunk:23] Set("SIP/15-081e3280", "post_num=") in new stack
    -- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/15-081e3280", "1?outnum:skipoutnum") in new stack
    -- Goto (macro-dialout-trunk,s,25)
    -- Executing [s@macro-dialout-trunk:25] Set("SIP/15-081e3280", "the_num=*gewähltenummer*") in new stack
    -- Executing [s@macro-dialout-trunk:26] Dial("SIP/15-081e3280", "CAPI/ISDN1/*gewähltenummer*|300|") in new stack
    -- Called ISDN1/*gewähltenummer*
    -- CAPI/ISDN1#02/*gewähltenummer*-6 is making progress passing it to SIP/15-081e3280
    -- CAPI/ISDN1#02/*gewähltenummer*-6 is proceeding passing it to SIP/15-081e3280
    -- CAPI/ISDN1#02/*gewähltenummer*-6 is ringing
    -- CAPI/ISDN1#02/*gewähltenummer*-6 answered SIP/15-081e3280
  == ISDN1#02: CAPI Hangingup for PLCI=0x101 in state 2
  == Spawn extension (macro-dialout-trunk, s, 26) exited non-zero on 'SIP/15-081e3280' in macro 'dialout-trunk'
  == Spawn extension (macro-dialout-trunk, s, 26) exited non-zero on 'SIP/15-081e3280'
    -- Executing [h@macro-dialout-trunk:1] Macro("SIP/15-081e3280", "hangupcall|") in new stack
    -- Executing [s@macro-hangupcall:1] ResetCDR("SIP/15-081e3280", "w") in new stack
    -- Executing [s@macro-hangupcall:2] NoCDR("SIP/15-081e3280", "") in new stack
    -- Executing [s@macro-hangupcall:3] GotoIf("SIP/15-081e3280", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,6)
    -- Executing [s@macro-hangupcall:6] GotoIf("SIP/15-081e3280", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] GotoIf("SIP/15-081e3280", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,11)
    -- Executing [s@macro-hangupcall:11] Hangup("SIP/15-081e3280", "") in new stack
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/15-081e3280' in macro 'hangupcall'
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/15-081e3280'

Ich finde es aber echt schon mal klasse, das da wenigstens nen Lebenszeichen über die Leitung kommt!

Dann kann ich jetzt schon mal diverse Klingelstreiche spielen, hehe


Okey, aber das eigentliche Problem ist damit ja noch nicht gelöst! Wie gehts weiter? Ich weiß nicht was ich noch probieren soll, das die anrufe vom ISDn aufm SIP ankommen!
 
-- Executing [052*ziel*@from-internal:4] Playback("SIP/15-081e36c0", "silence/1&cannot-complete-as-dialed&check-number-dial-again|noanswer") in new stack
-- <SIP/15-081e36c0> Playing 'silence/1' (language 'en')
-- <SIP/15-081e36c0> Playing 'cannot-complete-as-dialed' (language 'en')
-- <SIP/15-081e36c0> Playing 'check-number-dial-again' (language 'en')

die solltest mal die eingehende Route genau betrachten und auch auf welche eingehende Nummer einegstellt ist
 
Ich habe es als DID mit der MSN probiert, also nur die MSN (6stellig) und mit nem pattern "_.", dann habe ich es auch noch mit nichts probiert, also leer gelassen. aber ich habe mit keinem Erfolg gehabt! Wo liegt das Problem?
 
Ich habe es als DID mit der MSN probiert, also nur die MSN (6stellig) und mit nem pattern "_.", dann habe ich es auch noch mit nichts probiert, also leer gelassen. aber ich habe mit keinem Erfolg gehabt! Wo liegt das Problem?


Für einen Tip wäre ich echt dankbar! Will das jetzt mal ans laufen kriegen!
 
Also ich wollte nach langer Zeit dieses Teil wieder ausgraben:
Das Szenarion ist geblieben!

Der Softwarestand ist:
eigentlich alles aus den quellen:
ubuntu 8.04.4 (2.6.24-28-generic)
asterisk 1.4.17
freepbx 2.8.0
Common ISDN API Driver (1.0.2)


Raus telefonieren kann ich über die ISDN Leitung mittels eine SIP Software Clienten.

Jetzt die andere Richtung:
Anrufe auf der ISDN Leitung kann ich annehmen, ABER nur unter folgender Vorraussetzung:

- in der capi.conf muss immediate=yes gesetzt sein.
- in der capi.conf muss msn=*
- die inbound Route darf nix enthalten. Also nimmt es alle Rufe an.

Und das ist das Problem. Ich habe 4 MSN's will aber eine MSN nicht mit * nutzen. Setze ich immediate=no werden Grundsätzlich alle Anrufe ignoriert, es kommt ein Besetztton. Im freepbx Report tab tauchen die anrufe alle auf. Egal ob immediate=yes oder no

Die Inbound Route leitet die Gespräche an DISA weiter. Das klappt auch ganz gut. Kann dann teilweise sogar wieder Raus telefonieren. Also es werden dann beide ISDN Leitungen belegt.

Und hier jetzt die konkrete Frage: In welchem Format muss die CID im FreePBX bzw capi.cong angegeben werden? Bzw MUSS sie in die capi.conf?
Kann das nicht auch freepbx handeln?
Muss es nur die reine 6 stellige MSN sein?
Oder mi International und Ortsvorwahl, wie es auch im Report auftaucht?

Probiert habe ich eigentlich schon alle Variationen.
Wenn ich in der capi.conf die MSN setze. geht wieder nur das Besetzt zeichen.

Ich bin um Rat dankbar und ideen dankbar. Wenn noch zusätzliche Informationen gebraucht werden, dann bitte um Info.
 
Gelöst!
Meine Versionen haben sich auch geändert...

Der kontext in der capi.conf war entscheidend, und das richtige einrichten der in & outbound im freepbx.
Habe als pattern "." angegeben. Und als Kontext mit "capi-in" , "from-pstn" und sehr unschön: "from-internal" experimentiert.

Jedoch habe ich jetzt das Problem, dass die inbounds nur funktionieren, wenn in der capi.conf immediate aktiv ist. Sonst klingelt das normale Telefon, also auf den eingehenden Ruf wird nicht reagiert. Ist das irgendwie behebbar? Oder bleibt das mit immediate für alle Nummern so?
Danke für eure Hilfe!
 
Kostenlos!

Statistik des Forums

Themen
248,872
Beiträge
2,303,476
Mitglieder
378,532
Neuestes Mitglied
Nik320