IAX2 auf CAPI oder SIP Weiterleitung crashen Asterisk

hi armin,

mir ist heute noch ein "problem" oder sicher eine fehleinstellung meinerseits mit dem neuen chan_CAPI.

nach dem connect erhält der anrufende immer eine etwas komische rufnummer.

rufe ich also die 123-203 an, klingelt der richtige apparat.
im display des anrufenden (ein beliebiger ISDN-anschluss) erscheint aber als nummer nicht

123203 sondern 123123203
der fxe teil der dummer wird also "verdoppelt"
als callerid in z.b. der sip.conf steht aber nur die durchwahl.
bei besagtem beispiel also
callerid=203

hmmm...

gruß, Sebastian
 
mcbastian schrieb:
123203 sondern 123123203
der fxe teil der dummer wird also "verdoppelt"
als callerid in z.b. der sip.conf steht aber nur die durchwahl.
bei besagtem beispiel also
callerid=203

Was ist denn das fuer ein Endgeraet? Kann es sein, dass dort die Hauptnummer eingestellt ist und automatisch auch vorangestellt wird?
telefonanlagen machen das ganz gerne.

Armin
 
die konfig ist

isdn-fon<->telekom<->nt2m<->diva server pri<->asterisk<->SIP (z.b. snom360) oder IAX

wobei ich es von mehreren verschiedenen isdn-telefonen über anlagen/direkt am NTBA probiert hab. das problem scheint wohl an meinem * zu liegen.

und der hängt über die diva server pri direkt an nt2m der DTAG. und da hängen verschiedene SIPs oder IAX2s dran (snom, digium,...)
 
Was sagen denn die verbose/debug logs? Eventuell kann man da sehen, wo die nummern 'veraendert' werden.

Armin
 
verbose (6)

Code:
  == ISDN1: Incoming call '0362YYYYXXXX' -> '123203'
    -- ISDN1: Updated channel name: CAPI/ISDN1/123203-41
    -- Executing Dial("CAPI/ISDN1/123203-41", "IAX2/[email protected]/s") in new stack
    -- Called [email protected]/s
    -- Call accepted by 172.19.3.184 (format ulaw)
    -- Format for call is ulaw
    -- IAX2/iaxy1-2 is ringing
    -- IAX2/iaxy1-2 answered CAPI/ISDN1/123203-41
  == ISDN1: Answering for 123203
  == ISDN1: Setting up DTMF detector (PLCI=0x201, flag=1)
    -- Fax tone detected, but no fax extension for CAPI/ISDN1/123203-41
    -- Hungup 'IAX2/iaxy1-2'
  == Spawn extension (incoming, 123203, 1) exited non-zero on 'CAPI/ISDN1/123203-41'
  == ISDN1: CAPI Hangingup
       > CAPI INFO 0x3490: Normal call clearing

das mit dem faxtone ignorier einfach mal ^^ isn analogfax an nem IAXy, der einzige, der um die zeit das gespräch mal entgegennimmt. is aber auch bei anderen geräten (SIP/IAX2) so.

capi debug
Code:
CAPI Debugging Enabled
CONNECT_IND ID=001 #0x0ddf LEN=0051
  Controller/PLCI/NCCI            = 0x101
  CIPValue                        = 0x10
  CalledPartyNumber               = <81>123203
  CallingPartyNumber              = <21 81>3621XXXXXXX
  CalledPartySubaddress           = default
  CallingPartySubaddress          = default
  BC                              = <80 90 a3>
  LLC                             = default
  HLC                             = <91 81>
  AdditionalInfo
   BChannelinformation            = default
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default

    -- CONNECT_IND (PLCI=0x101,DID=123203,CID=3621XXXXXX,CIP=0x10,CONTROLLER=0x1)
       > ISDN1: msn='*' DNID='123203' DID
  == ISDN1: Incoming call '03621XXXXXX' -> '123203'
INFO_IND ID=001 #0x0de0 LEN=0022
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x70
  InfoElement                     = <81>123203

INFO_RESP ID=001 #0x0de0 LEN=0012
  Controller/PLCI/NCCI            = 0x101

    -- ISDN1: info element CALLED PARTY NUMBER
    -- ISDN1: Updated channel name: CAPI/ISDN1/123203-43
    -- ISDN1: CAPI/ISDN1/123203-43: 123203 matches in context incoming
  == Started pbx on channel CAPI/ISDN1/123203-43
INFO_IND ID=001 #0x0de1 LEN=0018
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x18
  InfoElement                     = <a9 83 99>

INFO_RESP ID=001 #0x0de1 LEN=0012
  Controller/PLCI/NCCI            = 0x101

    -- ISDN1: info element CHANNEL IDENTIFICATION a9
INFO_IND ID=001 #0x0de2 LEN=0015
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x8005
  InfoElement                     = default

INFO_RESP ID=001 #0x0de2 LEN=0012
  Controller/PLCI/NCCI            = 0x101

    -- ISDN1: info element SETUP
    -- Executing Dial("CAPI/ISDN1/123203-43", "IAX2/[email protected]/s") in new stack
    -- Called [email protected]/s
    -- Call accepted by 172.19.3.184 (format ulaw)
    -- Format for call is ulaw
    -- IAX2/iaxy1-3 is ringing
  == ISDN1: Requested RINGING-Indication for CAPI/ISDN1/123203-43
ALERT_CONF ID=001 #0x0ce5 LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Info                            = 0x0

ALERT_REQ ID=001 #0x0ce5 LEN=0017
  Controller/PLCI/NCCI            = 0x101
  AdditionalInfo
   BChannelinformation            = default
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default

    -- IAX2/iaxy1-3 answered CAPI/ISDN1/123203-43
  == ISDN1: Requested Indication-STOP for CAPI/ISDN1/123203-43
  == ISDN1: Answering for 123203
CONNECT_RESP ID=001 #0x0ddf LEN=0040
  Controller/PLCI/NCCI            = 0x101
  Reject                          = 0x0
  BProtocol
   B1protocol                     = 0x1
   B2protocol                     = 0x1
   B3protocol                     = 0x0
   B1configuration                = default
   B2configuration                = default
   B3configuration                = default
  ConnectedNumber                 = <00 80>123203
  ConnectedSubaddress             = default
  LLC                             = default
  AdditionalInfo
   BChannelinformation            = default
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default

INFO_IND ID=001 #0x0de3 LEN=0015
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x800f
  InfoElement                     = default

INFO_RESP ID=001 #0x0de3 LEN=0012
  Controller/PLCI/NCCI            = 0x101

    -- ISDN1: info element CONNECT ACK
CONNECT_ACTIVE_IND ID=001 #0x0de5 LEN=0015
  Controller/PLCI/NCCI            = 0x101
  ConnectedNumber                 = default
  ConnectedSubaddress             = default
  LLC                             = default

CONNECT_ACTIVE_RESP ID=001 #0x0de5 LEN=0012
  Controller/PLCI/NCCI            = 0x101

CONNECT_B3_IND ID=001 #0x0de6 LEN=0013
  Controller/PLCI/NCCI            = 0x620101
  NCPI                            = default

CONNECT_B3_RESP ID=001 #0x0de6 LEN=0015
  Controller/PLCI/NCCI            = 0x620101
  Reject                          = 0x0
  NCPI                            = default

CONNECT_B3_ACTIVE_IND ID=001 #0x0de7 LEN=0013
  Controller/PLCI/NCCI            = 0x620101
  NCPI                            = default

CONNECT_B3_ACTIVE_RESP ID=001 #0x0de7 LEN=0012
  Controller/PLCI/NCCI            = 0x620101

  == ISDN1: Setting up DTMF detector (PLCI=0x101, flag=1)
FACILITY_REQ ID=001 #0x0ce6 LEN=0023
  Controller/PLCI/NCCI            = 0x101
  FacilitySelector                = 0x1
  FacilityRequestParameter        = <01 00 40 00 40 00 00 00>

FACILITY_CONF ID=001 #0x0ce6 LEN=0019
  Controller/PLCI/NCCI            = 0x101
  Info                            = 0x0
  FacilitySelector                = 0x1
  FacilityConfirmationParameter   = <00 00>

       > ISDN1: DTMF conf(PLCI=0x101)
FACILITY_IND ID=001 #0x0e60 LEN=0016
  Controller/PLCI/NCCI            = 0x101
  FacilitySelector                = 0x1
  FacilityIndicationParameter     = Y

FACILITY_RESP ID=001 #0x0e60 LEN=0016
  Controller/PLCI/NCCI            = 0x101
  FacilitySelector                = 0x1
  FacilityResponseParameters      = Y

       > ISDN1: c_dtmf = Y
    -- Fax tone detected, but no fax extension for CAPI/ISDN1/123203-43
INFO_IND ID=001 #0x0e7d LEN=0017
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x1e
  InfoElement                     = <82 88>

INFO_RESP ID=001 #0x0e7d LEN=0012
  Controller/PLCI/NCCI            = 0x101

    -- ISDN1: info element PI 82 88
       > ISDN1: In-band information available
INFO_IND ID=001 #0x0e7e LEN=0017
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x8
  InfoElement                     = <80 90>

INFO_RESP ID=001 #0x0e7e LEN=0012
  Controller/PLCI/NCCI            = 0x101

    -- ISDN1: info element CAUSE 80 90
INFO_IND ID=001 #0x0e7f LEN=0015
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x8045
  InfoElement                     = default

INFO_RESP ID=001 #0x0e7f LEN=0012
  Controller/PLCI/NCCI            = 0x101

    -- ISDN1: info element DISCONNECT
    -- ISDN1: Disconnect case 3
    -- Hungup 'IAX2/iaxy1-3'
  == Spawn extension (incoming, 123203, 1) exited non-zero on 'CAPI/ISDN1/123203-43'
  == ISDN1: CAPI Hangingup
    -- ISDN1: activehangingup (cause=16)
DISCONNECT_B3_REQ ID=001 #0x0d76 LEN=0013
  Controller/PLCI/NCCI            = 0x620101
  NCPI                            = default

DISCONNECT_B3_CONF ID=001 #0x0d76 LEN=0014
  Controller/PLCI/NCCI            = 0x620101
  Info                            = 0x0

DISCONNECT_B3_IND ID=001 #0x0e81 LEN=0015
  Controller/PLCI/NCCI            = 0x620101
  Reason_B3                       = 0x0
  NCPI                            = default

DISCONNECT_B3_RESP ID=001 #0x0e81 LEN=0012
  Controller/PLCI/NCCI            = 0x620101

DISCONNECT_REQ ID=001 #0x0d77 LEN=0017
  Controller/PLCI/NCCI            = 0x101
  AdditionalInfo
   BChannelinformation            = default
   Keypadfacility                 = default
   Useruserdata                   = default
  Facilitydataarray              = default

DISCONNECT_CONF ID=001 #0x0d77 LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Info                            = 0x0

INFO_IND ID=001 #0x0e82 LEN=0015
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x805a
  InfoElement                     = default

INFO_RESP ID=001 #0x0e82 LEN=0012
  Controller/PLCI/NCCI            = 0x101

    -- ISDN1: info element RELEASE COMPLETE
DISCONNECT_IND ID=001 #0x0e84 LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Reason                          = 0x3490

DISCONNECT_RESP ID=001 #0x0e84 LEN=0012
  Controller/PLCI/NCCI            = 0x101

       > CAPI INFO 0x3490: Normal call clearing
  == ISDN1: Interface cleanup PLCI=0x101
europa*CLI> capi no debug
CAPI Debugging Disabled

ich hoffe, das sagt dir was ^^

beim anrufer steht nun im display 03621123123203 (wobei 03621 die vorwahl ist)

Gruß,

Sebastian
 
Ich kann kein Hinweis (zumindest nicht bei CAPI) erkennen, wo die Nummer veraendert wird. Ueberall wo in dem Log die Nummer (CALLERID) Referenziert wird, ist sie unveraendert. Es kann also nur das Ziel, z.B.
IAX2/[email protected]/s
machen.
Ich denke Du solltest Dir mal IAX, bzw. SIP mit debug Ausgaben anzeigen lassen, eventuell ist da mehr zu sehen.

Armin
 
Kostenlos!

Statistik des Forums

Themen
249,052
Beiträge
2,309,534
Mitglieder
378,850
Neuestes Mitglied
IchBinEsDoch