[Gelöst]SN2400 Configuration: CallerID-Problem; eingehende Calls nicht möglich

VOIPdani schrieb:
Bei ausgehenden Calls setze ich die CallerID mittels
Code:
exten => _00X.,1,SetCallerID(72363XXX${CALLERIDNUM})
So mach ich es zur Zeit ... sorry hab gedacht das wars was du wissen wolltest.

Wenn ich an das SN2400 einen Call übergebe mach ich das so:
Code:
exten => _8.,1,Dial(SIP/${EXTEN:1}@OUTGOING,20,tr)
OUTGOING ist mein User am SN2400 und die 8 wähl ich vor für Tests.

lg Dani
 
Guard-X schrieb:
In der sip.conf nur bei den Usern die CallerID setzen:

callerid="TEST" <15>

Die SmartNode macht dann den Rest.
Das ist nicht wirklich die Lösung meines Problems, da ich ja 80 verschiedene Nebenstellen über den Asterisk bzw. das Gateway betreiben möchte (und auch die unterschiedlichen Nebenstellennr. mitschicken will)

Was mir in meinen Debugs aufgefallen ist:
VOIPdani schrieb:
0/incoming] Set call-leg property: E164-Number -> 066454xxxxx
08:45:15 CC > [EP router-00c49850/incoming] Set call-leg property: Type-Of-Number -> Unknown
08:45:15 CC > [EP router-00c49850/incoming] Set call-leg property: Numbering-Plan -> Unknown
08:45:15 CC > [EP router-00c49850/incoming] Set call-leg property: Name ->
08:45:15 CC > [EP router-00c49850/incoming] Set call-leg property: URI -> sip:[email protected]
.31.67
08:45:15 CC > [EP router-00c49850/incoming] Set call-leg property: Network -> router
08:45:15 CC > [EP router-00c49850/incoming] Set call-leg property: Call-Leg-ID -> 0x008a51a0
08:45:15 CC > [EP router-00c49850/incoming] Set call-leg property: State -> TRYING
08:45:15 CC > [EP router-00c49850] Start route-lookup
08:45:15 CC > [EP router-00c49850] Route found; immediately place call
08:45:15 CC > [EP router-00c49850] Route to provider 'HUNT-PUBLIC-PSTN'
08:45:15 CC > [EP router-00c49850/outgoing] Set call-leg property: E164-Number -> 7236335115

08:45:15 CC > [EP router-00c49850/outgoing] Set call-leg property: Name -> 15
Kann es sein, dass das Setzen von "Name" auf 15 nicht richtig ist, bzw. weißt du wo ich das unterbinden kann?

PS: Eigentlich wäre es mir recht wenn ich auch weiterhin die CallerID am Asterisk manipulieren könnte und das SN2400 nur meine "dumme" Schnittstelle zu ISDN wäre. Sprich das SN2400 gibt die Calls (und auch die Nummern) von und an Asterisk bzw. ISDN weiter und beinhaltet nicht viel Logik.

Danke für deine Hilfe, lg Dani
 
Hallo,

ich hab mit Hilfe eines netten Mitarbeiters von Inalp das Problem gelöst (über eine complex function....)

Danke für deine Hilfe, lg Dani
 
VOIPdani schrieb:
Sprich das SN2400 gibt die Calls (und auch die Nummern) von und an Asterisk bzw. ISDN weiter und beinhaltet nicht viel Logik.

So ist es bei mir eigentlich auch...

Kannst du deinen Context noch mal posten, würde mich echt interessieren wie du das jetzt gelöst hast.

mfg Guard-X
 
Hier nochmal mein Context CS Switch:
Code:
context cs switch
  national-prefix 0
  international-prefix 00

  routing-table called-e164 Fax
    route 9011 dest-interface fxs_4_3
    route 11 dest-interface fxs_4_3
    route default dest-interface SIP_GW

  routing-table called-e164 RT_CDPN_ISDN_2_SIP
    route .T dest-table Fax

  routing-table calling-e164 RT_CDPN_SIP_2_ISDN
    route .T dest-service HUNT-PUBLIC-PSTN CF_TO_PSTN

  mapping-table calling-e164 to calling-e164 MT_ADD_KOPFNR
    map (.%) to 72363351\1

  mapping-table calling-type-of-number to calling-type-of-number MT_TON_PSTN
    map default to national

  complex-function CF_TO_PSTN
    execute 1 MT_ADD_KOPFNR
    execute 2 MT_TON_PSTN

  interface isdn ISDN_1_0
    route call dest-table RT_CDPN_ISDN_2_SIP
    dtmf-dialing

  interface isdn ISDN_1_1
    route call dest-table RT_CDPN_ISDN_2_SIP
    dtmf-dialing

  interface isdn ISDN_1_2
    route call dest-table RT_CDPN_ISDN_2_SIP

  interface isdn ISDN_1_3
    route call dest-table RT_CDPN_ISDN_2_SIP

  interface isdn ISDN_2_0
    route call dest-table RT_CDPN_ISDN_2_SIP

  interface isdn ISDN_2_1
    route call dest-table RT_CDPN_ISDN_2_SIP

  interface isdn ISDN_2_2
    route call dest-table RT_CDPN_ISDN_2_SIP

  interface isdn ISDN_2_3
    route call dest-table RT_CDPN_ISDN_2_SIP

  interface isdn ISDN_3_0
    route call dest-service HUNT-PUBLIC-PSTN

  interface isdn ISDN_3_1
    route call dest-service HUNT-PUBLIC-PSTN

  interface isdn ISDN_3_2
    route call dest-service HUNT-PUBLIC-PSTN

  interface isdn ISDN_3_3
    route call dest-service HUNT-PUBLIC-PSTN

  interface sip SIP_GW
    bind gateway Asterisk
    service default
    route call dest-table RT_CDPN_SIP_2_ISDN
    early-connect
    early-disconnect

  interface fxs fxs_4_0
    route call dest-service HUNT-PUBLIC-PSTN

  interface fxs fxs_4_1
    route call dest-service HUNT-PUBLIC-PSTN

  interface fxs fxs_4_2
    route call dest-service HUNT-PUBLIC-PSTN

  interface fxs fxs_4_3
    route call dest-service HUNT-PUBLIC-PSTN

  service hunt-group HUNT-PUBLIC-PSTN
    drop-cause normal-unspecified
    drop-cause no-circuit-channel-available
    drop-cause network-out-of-order
    drop-cause temporary-failure
    drop-cause switching-equipment-congestion
    drop-cause access-info-discarded
    drop-cause circuit-channel-not-available
    drop-cause resources-unavailable
    route call 1 dest-interface ISDN_1_0
    route call 2 dest-interface ISDN_1_1
    route call 3 dest-interface ISDN_1_2
    route call 4 dest-interface ISDN_1_3
    route call 5 dest-interface ISDN_2_0

context cs switch
  no shutdown
 
Kostenlos!

Statistik des Forums

Themen
248,876
Beiträge
2,303,693
Mitglieder
378,541
Neuestes Mitglied
FR6r24