Internationale Vorwahlen gehen ins leere

relode

Neuer User
Mitglied seit
17 Okt 2008
Beiträge
6
Punkte für Reaktionen
0
Punkte
0
Hallo liebe VoIP Gemeinde,
ich spiele seit was längerer Zeit mit Asterisk 1.6.2 rum und einer AVM C4.

Klappt auch alles wunderbar.
Nur ein kleines Problem an dem ich jetzt schon länger hocke kriege ich nicht in den Griff.
Wenn ich internationale Vorwahlen einsetze laufen die anscheinend ins leere.
am besten lässt sich das nachstellen indem ich mein eigenes Handy anrufe.
Mit der ganz normalen 0162****** Nummer kein Problem, sobald ich dem Asterisk allerdings 0049162****** übergebe tutet es zwar im Headset, aber der Anruf wird nicht zu meinem Handy durchgestellt.

Das unser Provider keine internationalen Rufnummern unterstützt ist auszuschliessen, da wir derzeit mit der selben Anlage unter anderer Software internationale Gespräche führen können.

Hier die Configs:

/etc/isdn/capi.conf
Code:
# card		file		proto	io	irq	mem	cardnr	options
#b1isa		b1.t4		DSS1	0x150	7	-	-	P2P
#b1pci		b1.t4		DSS1	-	-	-	-
c4		c4.bin		DSS1	-	-	-	-	P2P
#c4		-		DSS1	-	-	-	-
#c4		-		DSS1	-	-	-	-	P2P
#c4		-		DSS1	-	-	-	-	P2P
#c2		c2.bin		DSS1	-	-	-	-
#c2		-		DSS1	-	-	-	-
#t1isa		t1.t4		DSS1	0x340	9	-	0
#t1pci		t1.t4		DSS1	-	-	-	-
#fcpci		-		-	-	-	-	-
#fcpcmcia	-		-	-	-	-	-
#fcusb		-		-	-	-	-	-
#fxusb		-		-	-	-	-	-
#fcclassic	-		-	0x150	10	-	-
#fcdsl		fdslbase.bin	DSS1	-	-	-	-
#fcdsl2		fdsl2base.bin	DSS1	-	-	-	-
#fcdslsl	fdssbase.bin	DSS1	-	-	-	-
#fcdslslusb	fdlubase.frm	DSS1	-	-	-	-
#fcdslusba	fdlabase.frm	DSS1	-	-	-	-
#fcdslusb2	fds2base.frm	DSS1	-	-	-	-
#fcdslusb	fdsubase.frm	DSS1	-	-	-	-

/etc/asterisk/capi.conf
Code:
;
; CAPI config
;
;

; general section

[general]
nationalprefix=0  ; or for example "+49"
internationalprefix=00 ; or for example "+"
rxgain=1.0       ;linear receive gain (1.0 = no change)
txgain=1.0       ;linear transmit gain (1.0 = no change)
language=de      ;set default language
;ulaw=yes        ;set this, if you live in u-law world instead of a-law

;jb.....         ;with Asterisk 1.4 you can configure jitterbuffer,
                 ;see Asterisk documentation for all jb* setting available.
;mohinterpret=default ;Asterisk 1.4: default music on hold class when placed on hold.


; interface sections ...

[ISDN1]          ;this example interface gets name 'ISDN1' and may be any
                 ;name not starting with 'g' or 'contr'.
                 ;Use one interface section for each isdn port!
;ntmode=yes      ;if isdn card operates in nt mode, set this to yes
isdnmode=MSN     ;'MSN' (point-to-multipoint) or 'DID' (direct inward dial)
                 ;when using NT-mode, 'DID' should be set in any case
incomingmsn=*    ;allow incoming calls to this list of MSNs/DIDs, * = any
;defaultcid=123  ;set a default caller id to that interface for dial-out,
                 ;this caller id will be used when dial option 'd' is set.
;controller=0    ;ISDN4BSD default
;controller=7    ;ISDN4BSD USB default
controller=1   ;capi controller number of this interface/port
group=1          ;dialout group
;prefix=0        ;set a prefix to calling number on incoming calls
softdtmf=on      ;enable/disable software dtmf detection, recommended for AVM cards
relaxdtmf=on     ;in addition to softdtmf, you can use relaxed dtmf detection
faxdetect=off    ;enable faxdetection and redirection to EXTEN 'fax' for incoming and/or
                 ;outgoing calls. (default='off', possible values: 'incoming','outgoing','both')
faxdetecttime=0  ;Only detect faxes during the first 'n' seconds of the call.
                 ;(default '0' meaning for the whole duration of the call)
accountcode=351     ;PBX accountcode to use in CDRs
;amaflags=default;AMA flags for CDR ('default', 'omit', 'billing', or 'documentation')
context=isdn-in  ;context for incoming calls
;holdtype=hold   ;when the PBX puts the call on hold, ISDN HOLD will be used. If
                 ;set to 'local' (default value), no hold is done and the PBX may
                 ;play MOH.
immediate=yes   ;DID: immediate start of pbx with extension 's' if no digits were
                 ;     received on incoming call (no destination number yet)
                 ;MSN: start pbx on CONNECT_IND and don't wait for SETUP/SENDING-COMPLETE.
                 ;     info like REDIRECTINGNUMBER may be lost, but this is necessary for
                 ;     drivers/pbx/telco which does not send SETUP or SENDING-COMPLETE.
;echosquelch=1   ;_VERY_PRIMITIVE_ echo suppression. Disable this before you start recording voicemail
                 ;or your files may get choppy. (you can use capicommand(echosquelch|no) for this)
;echocancel=yes  ;Dialogic Diva (Capi) echo cancelation (yes=g165)
                 ;(possible values: 'no', 'yes', 'force', 'g164', 'g165') 
echocancelold=yes;use facility selector 6 instead of correct 8 (necessary for older eicon drivers)
;echotail=64     ;echo cancel tail setting (default=0 for maximum)
;echocancelnlp=1 ;activate non-linear-processing; this improves echo cancel ratio, but might
                 ;incorporate variable gain in the signal path.
;bridge=yes      ;native bridging (CAPI line interconnect) if available
;callgroup=1     ;PBX call group
;pickupgroup=1   ;PBX pickup group (which call groups are we allowed to pickup)
;transfergroup=1 ;Controller(s) where a transfer on native bridge is allowed to.
;language=de     ;set language for this device (overwrites default language)
;disallow=all    ;RTP codec selection (valid with Dialogic Diva only)
;allow=all       ;RTP codec selection (valid with Dialogic Diva only)
devices=2        ;number of concurrent calls (b-channels) on this controller
                 ;(2 makes sense for single BRI, 30/23 for PRI/T1)
;jb.....         ;with Asterisk 1.4 you can configure jitterbuffer,
                 ;see Asterisk documentation for all jb* setting available.
;mohinterpret=default ;Asterisk 1.4: default music on hold class when placed on hold.
;qsig=1           ;enable use of Q.SIG extensions. ECMA Variant
;qsig_prnum=1234  ;enable inbound bridging - this should be an QSIG-network-wide unique number


[ISDN2]                 ;name not starting with 'g' or 'contr'.
                 ;Use one interface section for each isdn port!
;ntmode=yes      ;if isdn card operates in nt mode, set this to yes
isdnmode=MSN     ;'MSN' (point-to-multipoint) or 'DID' (direct inward dial)
                 ;when using NT-mode, 'DID' should be set in any case
incomingmsn=*    ;allow incoming calls to this list of MSNs/DIDs, * = any
;defaultcid=123  ;set a default caller id to that interface for dial-out,
                 ;this caller id will be used when dial option 'd' is set.
;controller=0    ;ISDN4BSD default
;controller=7    ;ISDN4BSD USB default
controller=2   ;capi controller number of this interface/port
group=1          ;dialout group
;prefix=0        ;set a prefix to calling number on incoming calls
softdtmf=on      ;enable/disable software dtmf detection, recommended for AVM cards
relaxdtmf=on     ;in addition to softdtmf, you can use relaxed dtmf detection
faxdetect=off    ;enable faxdetection and redirection to EXTEN 'fax' for incoming and/or
                 ;outgoing calls. (default='off', possible values: 'incoming','outgoing','both')
faxdetecttime=0  ;Only detect faxes during the first 'n' seconds of the call.
                 ;(default '0' meaning for the whole duration of the call)
accountcode=351     ;PBX accountcode to use in CDRs
;amaflags=default;AMA flags for CDR ('default', 'omit', 'billing', or 'documentation')
context=isdn-in  ;context for incoming calls
;holdtype=hold   ;when the PBX puts the call on hold, ISDN HOLD will be used. If
                 ;set to 'local' (default value), no hold is done and the PBX may
                 ;play MOH.
immediate=yes   ;DID: immediate start of pbx with extension 's' if no digits were
                 ;     received on incoming call (no destination number yet)
                 ;MSN: start pbx on CONNECT_IND and don't wait for SETUP/SENDING-COMPLETE.
                 ;     info like REDIRECTINGNUMBER may be lost, but this is necessary for
                 ;     drivers/pbx/telco which does not send SETUP or SENDING-COMPLETE.
;echosquelch=1   ;_VERY_PRIMITIVE_ echo suppression. Disable this before you start recording voicemail
                 ;or your files may get choppy. (you can use capicommand(echosquelch|no) for this)
;echocancel=yes  ;Dialogic Diva (Capi) echo cancelation (yes=g165)
                 ;(possible values: 'no', 'yes', 'force', 'g164', 'g165') 
echocancelold=yes;use facility selector 6 instead of correct 8 (necessary for older eicon drivers)
;echotail=64     ;echo cancel tail setting (default=0 for maximum)
;echocancelnlp=1 ;activate non-linear-processing; this improves echo cancel ratio, but might
                 ;incorporate variable gain in the signal path.
;bridge=yes      ;native bridging (CAPI line interconnect) if available
;callgroup=1     ;PBX call group
;pickupgroup=1   ;PBX pickup group (which call groups are we allowed to pickup)
;transfergroup=1 ;Controller(s) where a transfer on native bridge is allowed to.
;language=de     ;set language for this device (overwrites default language)
;disallow=all    ;RTP codec selection (valid with Dialogic Diva only)
;allow=all       ;RTP codec selection (valid with Dialogic Diva only)
devices=2        ;number of concurrent calls (b-channels) on this controller
                 ;(2 makes sense for single BRI, 30/23 for PRI/T1)
;jb.....         ;with Asterisk 1.4 you can configure jitterbuffer,
                 ;see Asterisk documentation for all jb* setting available.
;mohinterpret=default ;Asterisk 1.4: default music on hold class when placed on hold.
;qsig=1           ;enable use of Q.SIG extensions. ECMA Variant
;qsig_prnum=1234  ;enable inbound bridging - this should be an QSIG-network-wide unique number

und hier die extensions.conf (ist eine eigene, über die hauptdatei eingebunden)
Code:
[XXX]
;SIP status Hints
#include hints.conf

;Konferenzen
exten => _20X,1,Meetme(${EXTEN},Mc)

include => isdn-in

[isdn-in]
exten => _X.,1,SET(MAIL=${SIPPEER(${CALLERID(num)},mailbox)})


;Ausgehende Anrufe
exten => _0X.,2,SET(EXTERN=1)
exten => _0X.,3,SET(MAILBODY=Gefuehrtes Gespraech mit ${EXTEN:1} am ${STRFTIME(${EPOCH},Europe/Berlin,%d.%m.%Y, %H:%M:%S)})
exten => _0X.,4,Dial(CAPI/ISDN1/${EXTEN:1},30,r)
exten => _0X.,5,Dial(CAPI/ISDN2/${EXTEN:1},30,r)

;Kontaktbucheinträge mit +49 am Anfang werden über diesen Header geleitet
;exten => _49.,2,SET(EXTERN=1)
;exten => _49.,3,SET(MAILBODY=Gefuehrtes Gespraech mit 0${EXTEN:2} am ${STRFTIME(${EPOCH},Europe/Berlin,%d.%m.%Y, %H:%M:%S)})
;exten => _49.,4,Dial(CAPI/ISDN1/0${EXTEN:2}/b,30)
;exten => _49.,5,Dial(CAPI/ISDN2/0${EXTEN:2}/b,30)


include => tag

[tag] 
;Variablen setzen

exten => _X.,2,SET(EXTERN=0)
exten => _X.,3,SET(MAIL=${SIPPEER(${EXTEN:-2},mailbox)})
exten => _X.,4,EXECIF($[${EXTEN:-2} = 54]?SET([email protected]))
exten => _X.,5,EXECIF($[${EXTEN:-2} = 55]?SET([email protected]))
exten => _X.,6,GotoIf($[${EXTERN} = 1]?11)
exten => _X.,7,EXECIF($[${EXTEN:-2} = 56]?SET([email protected]))
exten => _X.,8,SET(MAILBODY=${CALLERID(num)} hat am ${STRFTIME(${EPOCH},Europe/Berlin,%d.%m.%Y, %H:%M:%S)} versucht sie zu erreichen.)
exten => _X.,9,SET(CALLER=${CALLERID(num)})
exten => _X.,10,SET(CALLED=${SIPPEER(${EXTEN:-2},callerid_name)})



;Spezielle Nummern: Mr. x
exten => _******88,11,SET(CALLERID(name)=Anruf für Mr. x)
exten => _******88,n,SET(MAILBODY=${CALLERID(num)} hat am ${STRFTIME(${EPOCH},Europe/Berlin,%d.%m.%Y, %H:%M:%S)} versucht Mr. x zu erreichen.)
exten => _******88,n,Dial(SIP/10&SIP/26,12)

;Spezielle Nummern: Mr. y
exten => _******90,11,SET(CALLERID(name)=Anruf für Mr. y)
exten => _******90,n,SET(MAILBODY=${CALLERID(num)} hat am ${STRFTIME(${EPOCH},Europe/Berlin,%d.%m.%Y, %H:%M:%S)} versucht Mr. y zu erreichen.)
exten => _******90,n,Dial(SIP/10,12)

;Interne Anrufe
exten => _XX,11,Dial(SIP/${EXTEN},12)
exten => _XX,n,SET(CALLERID(name)=Anruf für ${SIPPEER(${EXTEN},callerid_name)})
exten => _XX,n,Queue(${EXTEN},n)
exten => _XX,n,Queue(999,n)



exten => ******0,11,SET(CALLERID(name)=Anruf für Mr. z)
exten => ******0,n,SET(MAILBODY=${CALLERID(num)} hat am ${STRFTIME(${EPOCH},Europe/Berlin,%d.%m.%Y, %H:%M:%S)} versucht den Mr. z zu erreichen.)
exten => ******0,n,SET([email protected])
exten => ******0,n,Queue(01,n)
exten => ******0,n,Queue(999,n)

;Reguläre normalverteilung der einzelnen durchwahlen

exten => _******XX,11,Dial(SIP/${EXTEN:-2}, 12)
exten => _******XX,n,SET(CALLER=${CALLERID(num)})
exten => _******XX,n,SET(CALLERID(name)=Anruf für ${SIPPEER(${EXTEN:-2},callerid_name)})
exten => _******XX,n,EXECIF($[${EXTEN:-2} = 54]?SET(CALLERID(name)=Anruf für a))
exten => _******XX,n,EXECIF($[${EXTEN:-2} = 54]?SET(MAILBODY=${CALLERID(num)} hat am ${STRFTIME(${EPOCH},Europe/Berlin,%d.%m.%Y, %H:%M:%S)} versucht die a-nummer zu erreichen.))
exten => _******XX,n,EXECIF($[${EXTEN:-2} = 55]?SET(CALLERID(name)=Anruf für b))
exten => _******XX,n,EXECIF($[${EXTEN:-2} = 55]?SET(MAILBODY=${CALLERID(num)} hat am ${STRFTIME(${EPOCH},Europe/Berlin,%d.%m.%Y, %H:%M:%S)} versucht die b-nummer zu erreichen.))
exten => _******XX,n,EXECIF($[${EXTEN:-2} = 56]?SET(CALLERID(name)=Anruf für c))
exten => _******XX,n,EXECIF($[${EXTEN:-2} = 56]?SET(MAILBODY=${CALLERID(num)} hat am ${STRFTIME(${EPOCH},Europe/Berlin,%d.%m.%Y, %H:%M:%S)} versucht die c-nummer zu erreichen.))
exten => _******XX,n,Queue(${EXTEN:-2},n)
exten => _******XX,n,Queue(999,n)

;###########################################################################################################
;						Abschluss-exten
;###########################################################################################################
;h Extension - generiert die Statusmail des Anrufs / Wird immer aufgerufen nach beenden des Gesprächs
exten => h,1,GotoIf($[${EXTERN} = 1]?9)
exten => h,2,GotoIf($["${DIALSTATUS}" != "ANSWER"]?4)
exten => h,3,SET(MAILBODY=Gefuehrtes Gespraech mit ${CALLERID(num)} am ${STRFTIME(${EPOCH},Europe/Berlin,%d.%m.%Y, %H:%M:%S)})
exten => h,4,SET(SIPID=${FILTER(0123456789,${MEMBERINTERFACE})})
exten => h,5,SET(GENOMMEN=${SIPPEER(${SIPID},callerid_name)})
exten => h,6,SET(MAILGENOMMEN=${SIPPEER(${SIPID},mailbox)})
exten => h,7,GotoIf($["foo${GENOMMEN}" = "foo"]?9)
exten => h,8,SET(MAILBODY=${MAILBODY} ${GENOMMEN} hat das Gespraech uebernommen.)
exten => h,9,System(echo "${MAILBODY}" | mail -s "Anrufmitteilung" ${MAIL})
exten => h,10,SET(MAILBODY=Sie haben am ${STRFTIME(${EPOCH},Europe/Berlin,%d.%m.%Y, %H:%M:%S)} ein Gespraech von ${CALLERID(num)} fuer ${CALLED} uebernommen)
exten => h,11,System(echo "${MAILBODY}" | mail -s "Anrufmitteilung" ${MAILGENOMMEN})

So ich hoffe ich habe beim verstümmeln der extensions keine Fehler eingebaut :cool:
Die ausgeschriebenen Nummern habe ich durch * ersetzt.
Sollten noch konfigs fehlen werd ich sie natürlich nachreichen.
Testen kann ich das ganze leider immer nur am Wochenende, daher kann es was dauern bis ich reaktion auf hilfestellungen zeige.

Danke im vorraus ;)
 
Wenn es in Deinem Headset tutet, unterstelle ich mal, dass auch eine Verbindung aufgebaut wurde, möglicherweise aber zu einer Nummer, die Du gar nicht anrufen wolltest.

Die Ausgabe, die Du mit einem etwas höheren Debug-Level auf dem CLI von Asterisk erhältst, würde helfen: Dort könntest Du sehen, welche Rufnummer tatsächlich gewählt wird.

Da Du die Null als "Amtsvorwahl" definiert hast, musst Du für internationale Rufnummern insgesamt 3 mal die Null wählen, möglicherweise hast Du das beim Wählen vergessen? Dann würde Dein Anruf an die Nummer 0491-62... (ein Anschluss in 26789 Leer) gehen.

Ralph
 
Zuletzt bearbeitet:
Hallo ralph, danke für deine Antwort.
Ich habe das CLI Level standardmässig auf 10 gestartet, damit ich sowas immer mitkriege.

Auf dem gedanken war ich auch schonmal, also hab ich nachgeschaut was er wählt und mal extra Nullen mit eingebaut.

Ich hab ihn alles wählen lassen , 49162.., 049162..., 0049162..., 00049162
is aber alles nich durchgekommen.
Dieses Wochenende werd ich leider nicht dazu kommen, aber sobald ich dazu komme werd ich die CLI ausgaben mal mit Posten mit allen nummern, die ich so probiert hab =)
 
so, anbei der trace der CLI:

Ohne International:
Code:
Connected to Asterisk 1.6.2.0-beta3 currently running on asterisk (pid = 12215)
Verbosity is at least 10
  == Using SIP RTP CoS mark 5
  == Extension Changed 24[XXX] new state InUse for Notify User 24
    -- Executing [00162*******@XXX:1] Set("SIP/24-b7899ee0", "[email protected]") in new stack
    -- Executing [00162*******@XXX:2] Set("SIP/24-b7899ee0", "EXTERN=1") in new stack
    -- Executing [00162*******@XXX:3] Set("SIP/24-b7899ee0", "MAILBODY=Gefuehrtes Gespraech mit 0162******* am 31.10.2009, 15:10:24") in new stack
    -- Executing [00162*******@XXX:4] Dial("SIP/24-b7899ee0", "CAPI/ISDN1/0162*******,30,r") in new stack
    -- Called ISDN1/0162*******
    -- CAPI/ISDN1#02/0162*******-e is proceeding passing it to SIP/24-b7899ee0
    -- CAPI/ISDN1#02/0162*******-e is making progress passing it to SIP/24-b7899ee0
    -- CAPI/ISDN1#02/0162*******-e is ringing
  == ISDN1#02: CAPI Hangingup for PLCI=0x101 in state 5
  == Extension Changed 24[XXX] new state Idle for Notify User 24
  == Spawn extension (XXX, 00162*******, 4) exited non-zero on 'SIP/24-b7899ee0'
    -- Executing [h@XXX:1] GotoIf("SIP/24-b7899ee0", "1?9") in new stack
    -- Goto (XXX,h,9)
    -- Executing [h@XXX:9] System("SIP/24-b7899ee0", "echo "Gefuehrtes Gespraech mit 0162******* am 31.10.2009, 15:10:24" | mail -s "Anrufmitteilung" [email protected]") in new stack
    -- Executing [h@XXX:10] Set("SIP/24-b7899ee0", "MAILBODY=Sie haben am 31.10.2009, 15:10:36 ein Gespraech von 24 fuer  uebernommen") in new stack
    -- Executing [h@XXX:11] System("SIP/24-b7899ee0", "echo "Sie haben am 31.10.2009, 15:10:36 ein Gespraech von 24 fuer  uebernommen" | mail -s "Anrufmitteilung" ") in new stack


mit +49:
Code:
Connected to Asterisk 1.6.2.0-beta3 currently running on asterisk (pid = 12215)
Verbosity is at least 10
    -- Remote UNIX connection
  == Using SIP RTP CoS mark 5
    -- Executing [00049162*******@XXX:1] Set("SIP/24-b7899ee0", "[email protected]") in new stack
    -- Executing [00049162*******@XXX:2] Set("SIP/24-b7899ee0", "EXTERN=1") in new stack
    -- Executing [00049162*******@XXX:3] Set("SIP/24-b7899ee0", "MAILBODY=Gefuehrtes Gespraech mit 0049162******* am 31.10.2009, 15:11:37") in new stack
    -- Executing [00049162*******@XXX:4] Dial("SIP/24-b7899ee0", "CAPI/ISDN1/0049162*******,30,r") in new stack
    -- Called ISDN1/0049162*******
  == Extension Changed 24[XXX] new state InUse for Notify User 24
    -- CAPI/ISDN1#02/0049162*******-f is proceeding passing it to SIP/24-b7899ee0
    -- CAPI/ISDN1#02/0049162*******-f is making progress passing it to SIP/24-b7899ee0
  == ISDN1#02: CAPI Hangingup for PLCI=0x101 in state 5
  == Extension Changed 24[XXX] new state Idle for Notify User 24
  == Spawn extension (XXX, 00049162*******, 4) exited non-zero on 'SIP/24-b7899ee0'
    -- Executing [h@XXX:1] GotoIf("SIP/24-b7899ee0", "1?9") in new stack
    -- Goto (XXX,h,9)
    -- Executing [h@XXX:9] System("SIP/24-b7899ee0", "echo "Gefuehrtes Gespraech mit 0049162******* am 31.10.2009, 15:11:37" | mail -s "Anrufmitteilung" [email protected]") in new stack
    -- Executing [h@XXX:10] Set("SIP/24-b7899ee0", "MAILBODY=Sie haben am 31.10.2009, 15:11:57 ein Gespraech von 24 fuer  uebernommen") in new stack
    -- Executing [h@XXX:11] System("SIP/24-b7899ee0", "echo "Sie haben am 31.10.2009, 15:11:57 ein Gespraech von 24 fuer  uebernommen" | mail -s "Anrufmitteilung" ") in new stack

mit +49 und ner 0 mehr (hier krieg ich ein besetzt zeichen):
Code:
Connected to Asterisk 1.6.2.0-beta3 currently running on asterisk (pid = 13980)
Verbosity is at least 10
  == Using SIP RTP CoS mark 5
    -- Executing [00049162*******@XXX:1] Set("SIP/24-09e3f738", "[email protected]") in new stack
    -- Executing [00049162*******@XXX:2] Set("SIP/24-09e3f738", "EXTERN=1") in new stack
    -- Executing [00049162*******@XXX:3] Set("SIP/24-09e3f738", "MAILBODY=Gefuehrtes Gespraech mit 0049162******* am 31.10.2009, 15:21:13") in new stack
    -- Executing [00049162*******@XXX:4] Dial("SIP/24-09e3f738", "CAPI/ISDN1/00049162*******,30,r") in new stack
    -- Called ISDN1/00049162*******
    -- CAPI/ISDN1#02/00049162*******-0 is proceeding passing it to SIP/24-09e3f738
    -- CAPI/ISDN1#02/00049162*******-0 is busy
  == ISDN1#02: CAPI Hangingup for PLCI=0x101 in state 5
  == Everyone is busy/congested at this time (1:1/0/0)
    -- Executing [00049162*******@XXX:5] Dial("SIP/24-09e3f738", "CAPI/ISDN2/00049162*******,30,r") in new stack
    -- Called ISDN2/00049162*******
       > ISDN1#02: CAPI INFO 0x3481: Unallocated (unassigned) number
    -- CAPI/ISDN2#02/00049162*******-1 is proceeding passing it to SIP/24-09e3f738
    -- CAPI/ISDN2#02/00049162*******-1 is busy
  == ISDN2#02: CAPI Hangingup for PLCI=0x202 in state 5
  == Everyone is busy/congested at this time (1:1/0/0)
    -- Executing [00049162*******@XXX:6] GotoIf("SIP/24-09e3f738", "1?11") in new stack
    -- Goto (XXX,00049162*******,11)
    -- Auto fallthrough, channel 'SIP/24-09e3f738' status is 'BUSY'
    -- Executing [h@XXX:1] GotoIf("SIP/24-09e3f738", "1?9") in new stack
    -- Goto (XXX,h,9)
    -- Executing [h@XXX:9] System("SIP/24-09e3f738", "echo "Gefuehrtes Gespraech mit 0049162******* am 31.10.2009, 15:21:13" | mail -s "Anrufmitteilung" [email protected]") in new stack
    -- Executing [h@XXX:10] Set("SIP/24-09e3f738", "MAILBODY=Sie haben am 31.10.2009, 15:21:14 ein Gespraech von 24 fuer  uebernommen") in new stack
    -- Executing [h@XXX:11] System("SIP/24-09e3f738", "echo "Sie haben am 31.10.2009, 15:21:14 ein Gespraech von 24 fuer  uebernommen" | mail -s "Anrufmitteilung" ") in new stack
       > ISDN2#02: CAPI INFO 0x3481: Unallocated (unassigned) number

Hoffe ihr könnte mir helfen =)
 
In Deinem ersten Beispiel ist alles in Ordnung. Die gewählte Nummer ist die 0162...

Das zweite Beispiel verwendet die Nummer 0049162... und sollte so auch funktionieren. Warum es das nicht tut, kann ich Dir aber leider nicht sagen.

Im dritten Beispiel wird die Nummer 00049162... gewählt - und hier kommt es richtigerweise auch zur CAPI-Meldung 0x3481: Unallocated (unassigned) number, denn diese Nummer gibt es nicht.

Wenn Du die Option /b im Dialstring verwendest, dann kannst Du statt des Besetztzeichens auch die Ansage Deines Telcos "Kein Anschluss unter dieser Nummer" hören.

Ralph
 
So also meine letzte hoffnung das es an der Asterisk beta lag is nun auch futsch, ich habe die aktuelle rc installiert, der Fehler ist geblieben.

Für jeden hinweis wäre ich dankbar.

Ansonsten kennt vielleicht einer von euch ein Tool mit dem ich die capi treiber ohne Asterisk testen könnte, um zumindest einen Anhaltspunkt zu finden in welche richtung ich meine Feheleranalyse betreiben könnte?
 
Habe ich das richtig verstanden, dass du versuchst 0049 zu wählen? (Mal abgesehen von den falschen Versuchen mit z.B. einer 0 zu viel).

Wenn ja, ist zwar die Aussage dass es klappen müsste korrekt, aber soweit ich weiß, gibt es provider die das nicht zulassen. Also innerhalb Deutschland sollte nicht 0049 gewählt werden. Bau einfach eine Regel ein, die 0049X. nach 0X. wandelt.

Armin
 
Hallo Armin,

ja das verstehst du richtig.
Die tests mehr mehr oder minder vielen Nullen waren wie ich schon schreibe lediglich tests ;)

Das unser Provider von Haus aus keine Internationalen Vorwahlen unterstützt kann ich ausschliessen, da unsere aktuelle Software internationale Telefonnummern erfolgreich umsetzen kann.

Jedoch hab ich keinen Zugriff auf die wählregeln und weiss daher nicht ob die Software intern 0049 umsetzt.
Das internationale Rufnummern mit eigener Ländervorwahl geblockt werden ist ein Ansatz, an den ich noch nciht gedacht habe =)

Mittwoch ist ja feiertag, bis dahin werd ich mir mal ne Nummer von ner Ansageanlage oder ähnlichem im Ausland besorgen und es mal mit einer Nummer mit anderer Ländervorwahl testen.

Danke erstmal für den Tipp
 
Ich meinte nicht alle Auslandsvorwahlen, sondern nur 0049 von Deutschland aus. Es macht ja eigetlich auch keinen Sinn in Deutschland 0049 zu wählen.
Wie geschrieben, ich habe das schon erlebt, dass ein Provider hier das nicht macht, warum auch immer.

Armin
 
so, nach knapp 4 monaten mit dem problem hab ich nun endlich rausgefunden das unser provider keine 0049 vorwahlen unterstützt und die nummer die ich in der schweiz angerufen hab nicht mehr existiert ^^

danke für eure hilfe. Ich werd mich jetzt den rest des tages ärgen das ich aus lauter dummheit so viel zeit verschwendet habe :cool:
 
Ärgere Dich nicht sondern freue Dich, dass Du wieder was gelernt hast ;-)

Ralph
 
Kostenlos!

Statistik des Forums

Themen
248,870
Beiträge
2,303,436
Mitglieder
378,531
Neuestes Mitglied
margaux