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

VOIPdani

Mitglied
Mitglied seit
8 Aug 2005
Beiträge
432
Punkte für Reaktionen
0
Punkte
0
Hallo,

Ich habe seit kurzem ein SN2400 von Patton mit 12 ISDN Ports und 4 analogen Ports. Gestern hab ich das Gateway zum ersten mal an den Amtsleitungen getestet und dabei hatte ich folgende Probleme:

1) Bei ausgehendem Anruf wurde die CallerID nicht richtig übertragen.
Asterisk sagt zwar:
Code:
Jun 22 17:39:38 VERBOSE[4633] logger.c:     -- Accepting overlap voice call from '44' to '<unspecified>' on channel 0/1, span 4
Jun 22 17:39:38 VERBOSE[19069] logger.c:     -- Starting simple switch on 'Zap/10-1'
Jun 22 17:39:42 VERBOSE[19069] logger.c:     -- Executing SetCallerID("Zap/10-1", "723xxxxx44") in new stack
Jun 22 17:39:42 VERBOSE[19069] logger.c:     -- Executing Dial("Zap/10-1", "SIP/066019xxxxx@OUTGOING") in new stack
Jun 22 17:39:42 VERBOSE[19069] logger.c:     -- Called 066019xxxxx@OUTGOING
Jun 22 17:39:49 VERBOSE[19069] logger.c:     -- SIP/OUTGOING-e6ef is ringing
Jun 22 17:39:57 VERBOSE[4633] logger.c:     -- Channel 0/1, span 4 got hangup request
Jun 22 17:39:57 VERBOSE[19069] logger.c:   == Spawn extension (ISDN-IN-KAPSCH, 066019xxxxx, 2) exited non-zero on 'Zap/10-1'
aber am Handy wird nur 723xxxxx angezeigt, die DW leider nicht.
OUTGOING ist der SIP-User des Gateways SN2400.

2) Das zweite Problem war, das keine eingehenden Calls möglich waren.

Im Anhang hab ich meine Konfigurationen geposted, vielleicht kann mir ja jemand von euch einen Tipp geben?

lg Dani
 

Anhänge

  • config_sn2400_220606.txt
    8.2 KB · Aufrufe: 33
Zuletzt bearbeitet:
Hi,

VOIPdani schrieb:
aber am Handy wird nur 723xxxxx angezeigt, die DW leider nicht.
OUTGOING ist der SIP-User des Gateways SN2400.
du musst wahrscheinlich die vollständige modifizierte MSN ins Amt senden, d.h. bei PP ISDN die Hauptnummer+Asterisk interne Nebenstelle z.B.:

mapping-table calling-e164 to calling-e164 mod_1
map (.%) to 723xxxxx\1

VOIPdani schrieb:
Das zweite Problem war, das keine eingehenden Calls möglich waren.
hier musst du evtl. die Hauptnummer abschneiden, damit nur die Nebenstelle in den Asterisk gesendet wird.

mapping-table called-e164 to called-e164 mod_2
map 723xxxxx(.%) to \1

Die Anmeldung an den Asterisk muss so aussehen:

service default
domain Servername
realm Servername
authentication SIP-ID password SIP-Kennwort
default-server Servername 5060 loose-router
registrar Servername 5060
user SIP-ID

im Asterisk type=friend und insecure=very setzen...

PS.: vielleicht mal genau erklären, wie du das Gateway einsetzen möchtest, das Gerät hat nämlich tausende Konfigurationsmöglichkeiten!

mfg Guard-X
 
Hallo Guard-X,

Danke für deine Antwort.

Ich hab folgendes mal eingetragen:
Code:
gateway sip Asterix
  bind interface eth0 router

  service default
    domain 172.21.31.51
    realm 172.21.31.51
    authentication OUTGOING display-name SN2400 password Wmnvmmbb5BwWqL+4Oy6gow== encrypted
    default-server 172.21.31.51 loose-router
    registrar 172.21.31.51 5060
    user SN2400 display-name SN2400 password 36ocYTYpKxk= encrypted
    user OUTGOING display-name SN2400 password Wmnvmmbb5BwWqL+4Oy6gow== encrypted

Vielleicht könntest du mir noch sagen in welchem Abschnitt des Konfig-Files ich

mapping-table calling-e164 to calling-e164 mod_1
map (.%) to 723xxxxx\1

mapping-table called-e164 to called-e164 mod_2
map 723xxxxx(.%) to \1

eintragen muss?

PS: Was ich mit dem SN2400 machen möchte: Am Gateway sollen unsere 5 Amtsleitungen angebunden werden. Alle Calls vom ISDN-Netz sollen an meinen Asterisk weitergegeben werden. Alle Calls, die vom Asterisk kommen sollen ins ISDN-Netz geleitet werden. Wie du meiner Signatur entnehmen kannst wird dies zur Zeit vom 'Obelisk' erledigt.

Danke im Voraus, lg Dani

Edit: Ich hab jetzt diese Mappings unter context cs switch eingetragen, hoffe das passt.

Ich hab jetzt einige Tests mit einem ISDN-Telefon durchgeführt. Mein Problem ist dass ich entweder vom SIP-Endgerät zum ISDN-Telefon anrufen kann, oder vom ISDN-Telefon zum SIP-Endgerät. Eine Konfiguration die mir beides erlaubt hab ich leider noch nicht gefunden. Es wäre aber ganz cool, wenn das ganze bidirektional funktionieren würde. ;-)

Vielleicht hast du ja noch einen Hinweis für mich...
 
Zuletzt bearbeitet:
Hi Dani,

wenn ich Montag wieder in der Firma bin, suche ich dir mal einen passenden context cs switch raus. Damit sind Calls in alle Richtungen möglich. Aber wie schon gesagt, die Smartnodes sind bzgl. Konfiguration ziemlich mächtig. Aber wir kriegen das schon hin. Falls ich das vergessen sollte, erinnere mich bitte noch mal per PM.

mfg Guard-X
 
Hi dani,

hier mal ein Versuch...

- 12345 ist die Hauptnummer
- Im Asterisk musst du noch die 111 wieder abschneiden. In der sip.conf als context z.B. "locate_area" bei den Gateways eintragen.
- Alle MSNs die du an die lokalen Ports weitergeben möchtest, muss du noch zusätzlich eintragen.

[locate_area]
exten => _111X.,1,Goto(area111,${EXTEN:3},1)

Code:
context cs switch
  digit-collection timeout 2
  national-prefix 00					; kann evtl. auch 0 heissen
  international-prefix 000				; kann evtl. auch 00 heissen

  routing-table called-e164 fromlocal
    route .T dest-service isdn mod_2
    route 19 dest-interface fxs23 mod_2			; Nebenstelle 19 auf Analogport routen (interne Anrufer)
   
  routing-table called-e164 fromisdn
    route .T dest-interface sip-gw mod_1
    route 1234519 dest-interface fxs23 mod_1		; Nebenstelle 19 auf Analogport routen (externe Anrufer)

  mapping-table called-e164 to called-e164 mod_1
    map 1234572 to 72\1					; Nebenstelle 72 - externe MSN auf interne MSN modifizieren
    map 123450 to 11110\1				; Nebenstelle 0 auf 10 routen (Zentrale-Telefon)
    map 12345(.%) to 111\1				; bei allen Nebenstellen 111 voranstellen (muss im Asterisk wieder abgeschnitten werden)

  mapping-table called-e164 to called-e164 mod_2
    map (.%) to \1
    map 0(.%) to \1

  mapping-table itc to itc speech
    map default to speech
    map unrestricted-digital to unrestricted-digital	; 3,1 kHz auf Speech umstellen

  interface isdn isdn40
    route call dest-table fromlocal

  interface isdn isdn41
    route call dest-table fromlocal

  interface isdn isdn30
    route call dest-table fromlocal

  interface isdn isdn31
    route call dest-table fromlocal

  interface isdn isdn42
    route call dest-table fromisdn
    use mapping-table out 1 speech

  interface isdn isdn43
    route call dest-table fromisdn
    use mapping-table out 1 speech

  interface isdn isdn32
    route call dest-table fromlocal
    use mapping-table out 1 speech

  interface isdn isdn33
    route call dest-table fromisdn
    use mapping-table out 1 speech

  interface sip sip-gw
    bind gateway sip-gw
    service default
    route call dest-table fromlocal
    early-connect
    early-disconnect

  interface fxs fxs10
    route call dest-table fromlocal

  interface fxs fxs11
    route call dest-table fromlocal

  interface fxs fxs12
    route call dest-table fromlocal

  interface fxs fxs13
    route call dest-table fromlocal

  interface fxs fxs20
    route call dest-table fromlocal

  interface fxs fxs21
    route call dest-table fromlocal

  interface fxs fxs22
    route call dest-table fromlocal

  interface fxs fxs23
    route call dest-table fromlocal

  service hunt-group isdn
    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 isdn43
    route call 2 dest-interface isdn42
    route call 3 dest-interface isdn33
    route call 4 dest-interface isdn32

context cs switch
  no shutdown
 
Hallo,

erst mal Dankeschön für deine Antwort, aber jetzt hab ich einige Fragen zu den Konfigs:

1) digit-collection timeout 2
Ich denke mal, damit setzt du ein Timeout von 2 sek. um dem Anrufer die Möglichkeit zu geben noch eine Nebenstellennummer zu wählen.
Werden diese 2 sek. immer gewartet oder nur dann wenn noch keine Nebenstelle gewählt wurde?

2) national-prefix 00
international-prefix 000
Wie macht sich diese Konfiguration bemerkbar? Wird bei jedem Call 00 bzw. 000 vorgestellt?

3) mapping-table called-e164 to called-e164 mod_2
map (.%) to \1
map 0(.%) to \1
Wird mittels diesem Mapping jedem ausgehenden Call eine 0 vorgestellt?

4) interface sip sip-gw
bind gateway sip-gw
service default
route call dest-table fromlocal
early-connect
early-disconnect
Was bewirken die Parameter early-connect bzw. early disconnect?

5) Du verwendest ja hauptsächlich dest-table als Routing-Destination. Welche Vorteile hat dest-table gegenüber dest-service (ich verwende als Routing-Destination das Service Hunt-Group).

Vielleicht hast du ja kurz Zeit mir einige meiner Fragen zu beantworten.

Danke im Voraus, lg Dani

PS: Ich beschäftige mich mit dem SN2400 erst seit kurzem und hab bis jetzt alles über die Weboberfläche konfiguriert, daher meine große Wissenslücke.
 
Zuletzt bearbeitet:
Hallo Dani,

VOIPdani schrieb:
1) digit-collection timeout 2
Ich denke mal, damit setzt du ein Timeout von 2 sek. um dem Anrufer die Möglichkeit zu geben noch eine Nebenstellennummer zu wählen.
Werden diese 2 sek. immer gewartet oder nur dann wenn noch keine Nebenstelle gewählt wurde?
Das gilt nur für eingehende Gespräche von Extern. Damit werden die gewählten Ziffern erstmal gesammelt und dann als Block an den Asterisk übertragen.
VOIPdani schrieb:
2) national-prefix 00
international-prefix 000
Wie macht sich diese Konfiguration bemerkbar? Wird bei jedem Call 00 bzw. 000 vorgestellt?
Damit werden die Rufnummern richtig im Asterisk dargestellt, wenn z.B. eine "0" für Amt gewählt werden muss (Stichwort Rückruf).
VOIPdani schrieb:
3) mapping-table called-e164 to called-e164 mod_2
map (.%) to \1
map 0(.%) to \1
Wird mittels diesem Mapping jedem ausgehenden Call eine 0 vorgestellt?
Ist vielleicht nicht unbedingt notwendig, hatte ich mal für einen mod drin.
VOIPdani schrieb:
4) interface sip sip-gw
bind gateway sip-gw
service default
route call dest-table fromlocal
early-connect
early-disconnect
Was bewirken die Parameter early-connect bzw. early disconnect?
Damit wird sozusagen die Sprache schon beim wählen durchgeschaltet. Ansonsten kann es vorkommern, das die ersten Sekunden abgehackt werden.
VOIPdani schrieb:
5) Du verwendest ja hauptsächlich dest-table als Routing-Destination. Welche Vorteile hat dest-table gegenüber dest-service (ich verwende als Routing-Destination das Service Hunt-Group).
Du musst die dest-tables verwenden um die Rufnummern zu modifizieren...

mfg Guard-X
 
Hallo,

Mir ist es jetzt - Dank der Hilfe eines netten Mitarbeiters von InAlp - möglich sowohl eingehende als auch abgehende Calls über das SN2400 zu tätigen.

Meine verwendete Konfiguration sieht so aus:
Code:
#----------------------------------------------------------------#
#                                                                #
# SN2400                                                         #
# R3.20 2006-02-02 H323 SIP                                      #
# 2006-06-27T09:36:23                                            #
# Generated configuration file                                   #
#                                                                #
#----------------------------------------------------------------#

cli version 3.20
dns-relay
webserver port 80 language en
sntp-client
sntp-client server primary 172.21.0.101 port 123 version 4
sntp-client poll-interval 60
sntp-client local-clock-offset

system

  ic voice 1

  ic voice 2

  ic voice 3

  ic voice 4

system
  clock-source 1 0

profile service-policy test
  no rate-limit

profile napt NAPT

profile ppp default

profile tone-set default

profile voip default
  codec 1 g711alaw64k rx-length 20 tx-length 20
  codec 2 g711ulaw64k rx-length 20 tx-length 20
  codec 3 transparent rx-length 10 tx-length 10
  modem transmission 1 bypass g711alaw64k

profile voip test
  codec 1 g711alaw64k rx-length 20 tx-length 20
  codec 2 g711ulaw64k rx-length 20 tx-length 20

profile pstn default

profile sip default

profile dhcp-server DHCP
  network 192.168.1.0 255.255.255.0
  include 1 192.168.1.10 192.168.1.99
  lease 2 hours
  default-router 1 192.168.1.1
  domain-name-server 1 192.168.1.1

profile aaa default
  method 1 local
  method 2 none

context ip router

  interface eth0
    ipaddress dhcp
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

  interface eth1
    ipaddress dhcp
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

context ip router
  route 0.0.0.0 0.0.0.0 172.21.0.1 1

context cs switch

  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-interface SIP_GW

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

  mapping-table called-e164 to called-e164 mod_2
    map 72363351(.%) to \1

  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-service HUNT-PUBLIC-PSTN
    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

gateway sip Asterisk
  bind interface eth0 router

  service default
    domain 172.21.31.51
    realm 172.21.31.51
    default-server 172.21.31.51 loose-router
    registrar 172.21.31.51 5060
    user SN2400 display-name SN2400 password 36ocYTYpKxk= encrypted
    user OUTGOING display-name SN2400 password Wmnvmmbb5BwWqL+4Oy6gow== encrypted

gateway sip Asterisk
  no shutdown

port ethernet 0 0
  medium auto
  encapsulation ip
  bind interface eth0 router
  no shutdown

port ethernet 0 1
  medium auto
  encapsulation ip
  bind interface eth1 router
  no shutdown

port fxs 4 0
  encapsulation cc-fxs
  bind interface fxs_4_0 switch
  no shutdown

port fxs 4 1
  encapsulation cc-fxs
  bind interface fxs_4_1 switch
  no shutdown

port fxs 4 2
  encapsulation cc-fxs
  bind interface fxs_4_2 switch
  no shutdown

port fxs 4 3
  encapsulation cc-fxs
  bind interface fxs_4_3 switch
  no shutdown

port bri 1 0
  clock auto
  encapsulation q921

  q921
    permanent-layer2
    protocol pp
    uni-side auto
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      encapsulation cc-isdn
      bind interface ISDN_1_0 switch

port bri 1 0
  no shutdown

port bri 1 1
  clock auto
  encapsulation q921

  q921
    permanent-layer2
    protocol pp
    uni-side auto
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      encapsulation cc-isdn
      bind interface ISDN_1_1 switch

port bri 1 1
  no shutdown

port bri 1 2
  clock auto
  encapsulation q921

  q921
    permanent-layer2
    protocol pp
    uni-side auto
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      encapsulation cc-isdn
      bind interface ISDN_1_2 switch

port bri 1 2
  no shutdown

port bri 1 3
  clock auto
  encapsulation q921

  q921
    permanent-layer2
    protocol pp
    uni-side auto
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      encapsulation cc-isdn
      bind interface ISDN_1_3 switch

port bri 1 3
  no shutdown

port bri 2 0
  clock auto
  encapsulation q921

  q921
    permanent-layer2
    protocol pp
    uni-side auto
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      encapsulation cc-isdn
      bind interface ISDN_2_0 switch

port bri 2 0
  no shutdown

port bri 2 1
  clock auto
  encapsulation q921

  q921
    permanent-layer2
    protocol pp
    uni-side auto
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      encapsulation cc-isdn
      bind interface ISDN_2_1 switch

port bri 2 1
  no shutdown

port bri 2 2
  clock auto
  encapsulation q921

  q921
    permanent-layer2
    protocol pp
    uni-side auto
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      encapsulation cc-isdn
      bind interface ISDN_2_2 switch

port bri 2 2
  no shutdown

port bri 2 3
  clock auto
  encapsulation q921

  q921
    permanent-layer2
    protocol pmp
    uni-side auto
    encapsulation q931

    q931
      protocol dss1
      uni-side net
      encapsulation cc-isdn
      bind interface ISDN_2_3 switch

port bri 2 3
  no shutdown

port bri 3 0
  clock master
  encapsulation q921

  q921
    permanent-layer2
    protocol pmp
    uni-side auto
    encapsulation q931

    q931
      protocol dss1
      uni-side net
      encapsulation cc-isdn
      bind interface ISDN_3_0 switch

port bri 3 0
  no shutdown

port bri 3 1
  clock master
  encapsulation q921

  q921
    permanent-layer2
    protocol pmp
    uni-side auto
    encapsulation q931

    q931
      protocol dss1
      uni-side net
      encapsulation cc-isdn
      bind interface ISDN_3_1 switch

port bri 3 1
  no shutdown

port bri 3 2
  clock master
  encapsulation q921

  q921
    permanent-layer2
    protocol pmp
    uni-side auto
    encapsulation q931

    q931
      protocol dss1
      uni-side net
      encapsulation cc-isdn
      bind interface ISDN_3_2 switch

port bri 3 2
  no shutdown

port bri 3 3
  clock master
  encapsulation q921

  q921
    permanent-layer2
    protocol pmp
    uni-side net
    encapsulation q931

    q931
      protocol dss1
      uni-side net
      encapsulation cc-isdn
      bind interface ISDN_3_3 switch

port bri 3 3
  no shutdown

ABER: Die CallerID wird falsch übertragen :-(

Bei einem abgehenden Anruf wird die Nebenstellennummer nicht mitübertragen und bei einem eingehenden Anruf wird mit 9999 angezeigt (weil die CallerID des verwendeten Users in der sip.conf so definiert wird)

@Guard-X
Du hast mir ja 2 Mapping-Tables vorgeschlagen:
Code:
mapping-table calling-e164 to calling-e164 mod_1
    map (.%) to 72363351\1

  mapping-table called-e164 to called-e164 mod_2
    map 72363351(.%) to \1
Diese muss ich wahrscheinlich nutzen um die CallerID richtig zu setzen, nur ich weiß leider nicht recht wie...

Vielleicht hast du ja Rat für mich, Danke im Voraus
lg Dani
 
VOIPdani schrieb:
Bei einem abgehenden Anruf wird die Nebenstellennummer nicht mitübertragen und bei einem eingehenden Anruf wird mit 9999 angezeigt (weil die CallerID des verwendeten Users in der sip.conf so definiert wird)

Die Caller-ID kannst du im Asterisk rausnehmen. Für ausgehende Gespräche z.B. exten => _0X.,1,Dial(SIP/${EXTEN:1}@user_in_der_sip.conf) benutzen

user SN2400 display-name SN2400 password xxx
user OUTGOING display-name SN2400 password xxx

Hier muss eigentlich der display-name raus, nur den User benutzen!

Bzgl. der mods
Code:
mapping-table calling-e164 to calling-e164 mod_1
    map (.%) to 72363351\1

  mapping-table called-e164 to called-e164 mod_2
    map 72363351(.%) to \1

Guck dir nochmal genau meine Beschreibungen an, mod_1 ist nur dazu da die MSN anzupassen für die eingehenden Gespräche, mod_2 für die ausgehenden Gespräche.
Code:
  mapping-table called-e164 to called-e164 mod_1
    map 1234572 to 72\1					; Nebenstelle 72 - externe MSN auf interne MSN modifizieren
    map 123450 to 11110\1				; Nebenstelle 0 auf 10 routen (Zentrale-Telefon)
    map 12345(.%) to 111\1				; bei allen Nebenstellen 111 voranstellen (muss im Asterisk wieder abgeschnitten werden)

  mapping-table called-e164 to called-e164 mod_2
    map (.%) to \1
    map 0(.%) to \1


Nimm doch einfach mal meinen context und pass den auf deine Rufnummern an. Das funktioniert auf jeden Fall. Bei deiner jetzigen Konfiguration denkt der Asterisk das Gateway ist ein normaler Client und wird immer die gleichen Rufnummern anzeigen, abgehend wie eingehend.

Ansonsten mal im Gateway debug isdn/call-router einschalten, da sieht man immer gleich was los ist...

mfg Guard-X
 
Hi Dani,

wie hast du es denn jetzt gelöst?

mfg Guard-X
 
Hallo Guard-X,

also ganz gelöst hab ich mein Problem leider immer noch nicht. Es ist mir nun möglich sowohl eingehende als auch ausgehende Calls über das SN2400 zu tätigen und bei eingehenden Calls wird mir die CallerID mittlerweile auch richtig angezeigt.

Um die CallerID richtig anzuzeigen hab ich folgendes konfiguriert:
Code:
sip.conf
[OUTGOING]
name=OUTGOING
callerid="SN2400"
canreinvite=no
context=FIRMAINTERN
dtmfmode=rfc2833
host=dynamic
type=friend
insecure=very
secret=asterisk
username=OUTGOING

SN2400 (Auszug Konfig-File)
gateway sip Asterisk
  bind interface eth0 router

  service default
    domain 172.21.31.51
    realm 172.21.31.51
    authentication OUTGOING password Wmnvmmbb5BwWqL+4Oy6gow== encrypted
    default-server 172.21.31.51 loose-router
    registrar 172.21.31.51 5060
    user OUTGOING

gateway sip Asterisk
  no shutdown

Das einzige Problem, das ich nicht lösen kann, ist das Setzen der CallerID bei ausgehenden Anrufen. Ich möchte das bei ausgehenden Calls die Nebenstellennr. mit übertragen wird, aber bei mir wird immer nur die Kopfnummer rausgeschickt :-(

Ich verwende derzeit die Mapping Table MT_ADD_KOPFNR um der Nebenstellennr. die Kopfnr. vorzustellen, aber es hat nicht den gewünschten Effekt.
Code:
mapping-table calling-e164 to calling-e164 MT_ADD_KOPFNR
    map (.%) to 072363XXX\1

Kannst du mir sagen ob calling-e164 für das manipulieren der abgehenden Rufnummer der richtige Ansatz ist?

lg Dani
 
VOIPdani schrieb:
Code:
mapping-table calling-e164 to calling-e164 MT_ADD_KOPFNR
    map (.%) to 072363XXX\1
Kannst du mir sagen ob calling-e164 für das manipulieren der abgehenden Rufnummer der richtige Ansatz ist?

Der Ansatz ist richtig, aber du kannst mal folgendes versuchen:

Kopfnummer ohne "0" -> map (.%) to 72363XXX\1
Kopfnummer im internationalen Format -> map (.%) to 4372363XXX\1

mfg Guard-X
 
Guard-X schrieb:
Der Ansatz ist richtig, aber du kannst mal folgendes versuchen:

Kopfnummer ohne "0" -> map (.%) to 72363XXX\1
Kopfnummer im internationalen Format -> map (.%) to 4372363XXX\1
Ich hab deinen Vorschlag gerade ausgetestet, hat aber leider nicht das gewünschte Ergebnis gebracht. Am Handy wird trotzdem +4372363XXX signalisiert. Ich möcht aber, das mit +4372363XXX44 angezeigt wird.

Hast du vielleicht noch einen Vorschlag für mich?

PS: Wird die Mapping-Table einfach so verwendet? Muss ich nicht irgendwo angeben, das zum rauswählen auf die Mapping-Table zurückgegriffen werden soll?

lg Dani
 
VOIPdani schrieb:
PS: Wird die Mapping-Table einfach so verwendet? Muss ich nicht irgendwo angeben, das zum rauswählen auf die Mapping-Table zurückgegriffen werden soll?
Ja, in der destination-table, wo nach ISDN geroutet wird. Hast du mal im debug nachgesehen, ob die Nebenstelle überhaupt von Asterisk gesendet wird?

Nimm das noch mal aus der sip.conf raus: callerid="SN2400"

mfg Guard-X
 
So, ich hab jetzt nochmals einen Test gemacht und dabei folgende Debug-Infos aufgezeichnet:
Code:
08:45:15  SIP_TR> [GW] < Stack: from 172.21.31.51:5060
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 172.21.31.51:5060;branch=z9hG4bK6d0869e7;rport
From: "15" <sip:[email protected]>;tag=as12e66872
To: <sip:[email protected]>
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Thu, 06 Jul 2006 08:45:07 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Content-Type: application/sdp
Content-Length: 240

v=0
o=root 19914 19914 IN IP4 172.21.31.51
s=session
c=IN IP4 172.21.31.51
t=0 0
m=audio 16242 RTP/AVP 8 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -

08:45:15  SIP_TR> [GW] > Stack: to 172.21.31.51:5060
SIP/2.0 100 Trying
Call-ID: [email protected]
CSeq: 102 INVITE
From: "15" <sip:[email protected]>;tag=as12e66872
To: <sip:[email protected]>;tag=79a218763758d6c
Via: SIP/2.0/UDP 172.21.31.51:5060;branch=z9hG4bK6d0869e7;rport
Content-Length: 0
User-Agent: Patton SN2400 MxSF v3.2.7.44 00A0BA01E76E


08:45:15  CC    > [EP SIP_GW-008a6748/active] Set call-leg property: Network -> Asterisk
08:45:15  CC    > [EP SIP_GW-008a6748/active] Set call-leg property: E164-Number -> 15
08:45:15  CC    > [EP SIP_GW-008a6748/active] Set call-leg property: URI -> sip:[email protected]
08:45:15  CC    > [EP SIP_GW-008a6748/active] Set call-leg property: Type-Of-Number -> Unknown
08:45:15  CC    > [EP SIP_GW-008a6748/active] Set call-leg property: Numbering-Plan -> Unknown
08:45:15  CC    > [EP SIP_GW-008a6748/active] Set call-leg property: Presentation-Indicator -> Prese
ntation allowed
08:45:15  CC    > [EP SIP_GW-008a6748/active] Set call-leg property: Name -> 15
08:45:15  CC    > [EP SIP_GW-008a6748/active] Set call-leg property: Screening-Indicator -> User pro
vided, not screened
08:45:15  CC    > [EP SIP_GW-008a6748/active] Set call-leg property: Supports Overlap-Sending -> tru
e
08:45:15  CC    > [EP SIP_GW-008a6748/active] Set call-leg property: Supported Codecs -> Voice: G.71
1 A-law[20/20], G.711 u-law[20/20]
08:45:15  CC    > [EP SIP_GW-008a6748/active] Set call-leg property: Unique Identifier -> 3baf27f107
[email protected]
08:45:15  CC    > [EP SIP_GW-008a6748/active] Set call-leg property: IP-Address -> 172.21.31.51
08:45:15  CC    > [EP SIP_GW-008a6748/active] Set call-leg property: Call-Leg-ID -> 0x008a5be0
08:45:15  CC    > [EP SIP_GW-008a6748/active] Set call-leg property: State -> CONNECTED
08:45:15  CC    > Acquired datapath context 0000007f
08:45:15  CC    > Started datapath context tracking 0000007f
08:45:15  CC    > [Call 00c4a070] Set call property: Context -> 0x0000007f
08:45:15  CC    > [Call 00c4a070] Set call property: Information-Transfer-Capability -> 3.1kHz Audio
08:45:15  CC    > [Call 00c4a070] Set call property: Hops -> 0x00000010
08:45:15  CC    > [EP SIP_GW-008a6748/active] Dial to provider router (SIP_GW-precall-service) using
 call 00c4a070
08:45:15  CC    > [EP router-00c49850/incoming] Accept call 00c4a070
08:45:15  CC    > [EP router-00c49850/incoming] Set call-leg property: E164-Number -> 06645466731
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: URI -> sip:[email protected]
08:45:15  CC    > [EP router-00c49850/outgoing] Set call-leg property: Type-Of-Number -> Unknown
08:45:15  CC    > [EP router-00c49850/outgoing] Set call-leg property: Numbering-Plan -> Unknown
08:45:15  CC    > [EP router-00c49850/outgoing] Set call-leg property: Presentation-Indicator -> Pre
sentation allowed
08:45:15  CC    > [EP router-00c49850/outgoing] Set call-leg property: Name -> 15
08:45:15  CC    > [EP router-00c49850/outgoing] Set call-leg property: Screening-Indicator -> User p
rovided, not screened
08:45:15  CC    > [EP router-00c49850/outgoing] Set call-leg property: Supports Overlap-Sending -> t
rue
08:45:15  CC    > [EP router-00c49850/outgoing] Set call-leg property: Supported Codecs -> Voice: G.
711 A-law[20/20], G.711 u-law[20/20]
08:45:15  CC    > [EP router-00c49850/outgoing] Set call-leg property: Unique Identifier -> 3baf27f1
[email protected]
08:45:15  CC    > [EP router-00c49850/outgoing] Set call-leg property: IP-Address -> 172.21.31.51
08:45:15  CC    > [EP router-00c49850/outgoing] Set call-leg property: Network -> router
08:45:15  CC    > [EP router-00c49850/outgoing] Set call-leg property: Call-Leg-ID -> 0x00c45418
08:45:15  CC    > [EP router-00c49850/outgoing] Set call-leg property: State -> CONNECTED
08:45:15  CC    > [Call 00c44f68] Set call property: Context -> 0x0000007f
08:45:15  CC    > [Call 00c44f68] Set call property: Information-Transfer-Capability -> 3.1kHz Audio
08:45:15  CC    > [Call 00c44f68] Set call property: Hops -> 0x0000000f
08:45:15  CC    > [EP router-00c49850/outgoing] Dial to provider HUNT-PUBLIC-PSTN () using call 00c4
4f68
08:45:15  CC    > [EP HUNT-PUBLIC-PSTN-008a7e78/incoming] Accept call 00c44f68
08:45:15  CC    > [EP HUNT-PUBLIC-PSTN-008a7e78/incoming] Set call-leg property: E164-Number -> 0664
5466731
08:45:15  CC    > [EP HUNT-PUBLIC-PSTN-008a7e78/incoming] Set call-leg property: Type-Of-Number -> U
nknown
08:45:15  CC    > [EP HUNT-PUBLIC-PSTN-008a7e78/incoming] Set call-leg property: Numbering-Plan -> U
nknown
08:45:15  CC    > [EP HUNT-PUBLIC-PSTN-008a7e78/incoming] Set call-leg property: Name ->
08:45:15  CC    > [EP HUNT-PUBLIC-PSTN-008a7e78/incoming] Set call-leg property: URI -> sip:06645466
[email protected]
08:45:15  CC    > [EP HUNT-PUBLIC-PSTN-008a7e78/incoming] Set call-leg property: Network -> HUNT-PUB
LIC-PSTN
08:45:15  CC    > [EP HUNT-PUBLIC-PSTN-008a7e78/incoming] Set call-leg property: Call-Leg-ID -> 0x00
8a81f0
08:45:15  CC    > [EP HUNT-PUBLIC-PSTN-008a7e78/incoming] Set call-leg property: State -> TRYING
08:45:15  CC    > [EP HUNT-PUBLIC-PSTN-008a7e78] Hunt to ISDN_1_0 ()
08:45:15  CC    > [EP HUNT-PUBLIC-PSTN-008a7e78/outgoing] Set call-leg property: E164-Number -> 7236
335115
08:45:15  CC    > [EP HUNT-PUBLIC-PSTN-008a7e78/outgoing] Set call-leg property: URI -> sip:[email protected]
1.31.51
08:45:15  CC    > [EP HUNT-PUBLIC-PSTN-008a7e78/outgoing] Set call-leg property: Type-Of-Number -> U
nknown
08:45:15  CC    > [EP HUNT-PUBLIC-PSTN-008a7e78/outgoing] Set call-leg property: Numbering-Plan -> U
nknown
08:45:15  CC    > [EP HUNT-PUBLIC-PSTN-008a7e78/outgoing] Set call-leg property: Presentation-Indica
tor -> Presentation allowed
08:45:15  CC    > [EP HUNT-PUBLIC-PSTN-008a7e78/outgoing] Set call-leg property: Name -> 15
08:45:15  CC    > [EP HUNT-PUBLIC-PSTN-008a7e78/outgoing] Set call-leg property: Screening-Indicator
 -> User provided, not screened
08:45:15  CC    > [EP HUNT-PUBLIC-PSTN-008a7e78/outgoing] Set call-leg property: Supports Overlap-Se
nding -> true
08:45:15  CC    > [EP HUNT-PUBLIC-PSTN-008a7e78/outgoing] Set call-leg property: Supported Codecs ->
 Voice: G.711 A-law[20/20], G.711 u-law[20/20]
08:45:15  CC    > [EP HUNT-PUBLIC-PSTN-008a7e78/outgoing] Set call-leg property: Unique Identifier -
> [email protected]
08:45:15  CC    > [EP HUNT-PUBLIC-PSTN-008a7e78/outgoing] Set call-leg property: IP-Address -> 172.2
1.31.51
08:45:15  CC    > [EP HUNT-PUBLIC-PSTN-008a7e78/outgoing] Set call-leg property: Network -> HUNT-PUB
LIC-PSTN
08:45:15  CC    > [EP HUNT-PUBLIC-PSTN-008a7e78/outgoing] Set call-leg property: Call-Leg-ID -> 0x00
8a9300
08:45:15  CC    > [EP HUNT-PUBLIC-PSTN-008a7e78/outgoing] Set call-leg property: State -> CONNECTED
08:45:15  CC    > [Call 008a91e8] Set call property: Context -> 0x0000007f
08:45:15  CC    > [Call 008a91e8] Set call property: Information-Transfer-Capability -> 3.1kHz Audio
08:45:15  CC    > [Call 008a91e8] Set call property: Hops -> 0x0000000e
08:45:15  CC    > [EP HUNT-PUBLIC-PSTN-008a7e78/outgoing] Dial to provider ISDN_1_0 () using call 00
8a91e8
08:45:15  ICC   > [ISDN_1_0] Added endpoint ISDN_1_0-0089cdd8
08:45:15  ICC   > [ISDN_1_0] NEW CALL. Allocated Endpoint ISDN_1_0-0089cdd8
08:45:15  CC    > [EP ISDN_1_0-0089cdd8/active] Accept call 008a91e8
08:45:15  CC    > [EP ISDN_1_0-0089cdd8/active] Set call-leg property: E164-Number -> 06645466731
08:45:15  CC    > [EP ISDN_1_0-0089cdd8/active] Set call-leg property: Type-Of-Number -> Unknown
08:45:15  CC    > [EP ISDN_1_0-0089cdd8/active] Set call-leg property: Numbering-Plan -> Unknown
08:45:15  CC    > [EP ISDN_1_0-0089cdd8/active] Set call-leg property: Name ->
08:45:15  CC    > [EP ISDN_1_0-0089cdd8/active] Set call-leg property: URI -> sip:[email protected]
.31.67
08:45:15  CC    > [EP ISDN_1_0-0089cdd8/active] Set call-leg property: Network -> ISDN_1_0
08:45:15  CC    > [EP ISDN_1_0-0089cdd8/active] Set call-leg property: Call-Leg-ID -> 0x0089e950
08:45:15  CC    > [EP ISDN_1_0-0089cdd8/active] Set call-leg property: State -> TRYING
08:45:15  ICC   > [EP ISDN_1_0-0089cdd8] AOC-S User << Call Setup
08:45:15  ICC   > [EP ISDN_1_0-0089cdd8] AOC-D User << Call Setup
08:45:15  ICC   > [EP ISDN_1_0-0089cdd8] AOC-E User << Call Setup
08:45:15  ICC   > [EP ISDN_1_0-0089cdd8] >> [080005]
SETUP (DSS1 User)
  [04039090A3]
  Bearer capability : 3.1kHz Audio - CCITT
    circuit mode - 64kBit/s - G.711 A-law
  [6C0C008037323336333335313135]
  Calling party number : 7236335115
    unknown number - unknown numbering plan
    presentation allowed - user provided not screened
  [700C803036363435343636373331]
  Called party number : 06645466731
    unknown number - unknown numbering plan

08:45:15  ICC   > [EP ISDN_1_0-0089cdd8] Set state to CALL INITIATED
08:45:15  CC    > [EP SIP_GW-008a6748/active] Set call-leg property: E164-Number -> 7236335115
08:45:15  CC    > [Call 00c4a070] Set call property: Hops -> 0x0000000f
08:45:15  CC    > [EP HUNT-PUBLIC-PSTN-008a7e78/outgoing] Set call-leg property: Network -> router
08:45:15  CC    > [EP HUNT-PUBLIC-PSTN-008a7e78/outgoing] Set call-leg property: Call-Leg-ID -> 0x00
c45418
08:45:15  ICC   > [EP ISDN_1_0-0089cdd8] State: CALL INITIATED, Event: PEER CONNECTED
08:45:15  ICC   > [EP ISDN_1_0-0089cdd8] Hold State: IDLE, Hold Event: PEER CONNECTED
08:45:15  ICC   > [ISDN_1_0] << Message: primitive=38
08:45:15  ICC   > [EP ISDN_1_0-0089cdd8] << [08000D]
SETUP ACKNOWLEDGEMENT (DSS1 User)
  [180189]
  Channel id : 1 - exclusive
    basic rate interface - is not d-channel - CCITT - b-channel units

08:45:15  ICC   > [EP ISDN_1_0-0089cdd8] State: CALL INITIATED, Event: TERMINAL MORE INFO IND
08:45:15  ICC   > [EP ISDN_1_0-0089cdd8] Set state to OVERLAP SENDING
08:45:15  CC    > [EP ISDN_1_0-0089cdd8/active] Set call-leg property: State -> ADDRESS-INCOMPLETE
08:45:15  CC    > [EP HUNT-PUBLIC-PSTN-008a7e78] Hunting tentatively succeeded
08:45:15  CC    > [EP HUNT-PUBLIC-PSTN-008a7e78/incoming] Set call-leg property: State -> ADDRESS-IN
COMPLETE
08:45:15  CC    > [EP router-00c49850/incoming] Set call-leg property: State -> ADDRESS-INCOMPLETE
08:45:25  ICC   > [ISDN_1_0] << Message: primitive=31
08:45:25  ICC   > [EP ISDN_1_0-0089cdd8] << [080001]
ALERTING (DSS1 User)

08:45:25  ICC   > [EP ISDN_1_0-0089cdd8] State: OVERLAP SENDING, Event: TERMINAL ALERTING IND
08:45:25  ICC   > [EP ISDN_1_0-0089cdd8] Set state to CALL DELIVERED
08:45:25  CC    > [EP ISDN_1_0-0089cdd8/active] Set call-leg property: State -> ALERTING
08:45:25  CC    > [EP HUNT-PUBLIC-PSTN-008a7e78/incoming] Set call-leg property: State -> ALERTING
08:45:25  CC    > [EP router-00c49850] Routing succeeded
08:45:25  CC    > [EP router-00c49850/incoming] Transfer call 00c44f68 to 00c4a070 ==> conference
08:45:25  CC    > [EP router-00c49850/incoming] Drop call 00c4a070
08:45:25  CC    > [EP router-00c49850/incoming] Set call-leg property: Cause -> Normal call clearing
08:45:25  CC    > [EP router-00c49850/incoming] Set call-leg property: State -> RELEASED
08:45:25  CC    > [EP router-00c49850/outgoing] Drop call 00c44f68
08:45:25  CC    > [EP router-00c49850/outgoing] Set call-leg property: Cause -> Normal call clearing
08:45:25  CC    > [EP router-00c49850/outgoing] Set call-leg property: State -> RELEASED
08:45:25  SIP_TR> [GW] > Stack: to 172.21.31.51:5060
SIP/2.0 180 Ringing
Call-ID: [email protected]
CSeq: 102 INVITE
From: "15" <sip:[email protected]>;tag=as12e66872
To: <sip:[email protected]>;tag=79a218763758d6c
Via: SIP/2.0/UDP 172.21.31.51:5060;branch=z9hG4bK6d0869e7;rport
Content-Length: 0
Contact: sip:[email protected]:5060
User-Agent: Patton SN2400 MxSF v3.2.7.44 00A0BA01E76E
Ich les mir aus diesen Debug-Infos raus, das die Nebenstellennr. 15 mitgeschickt wird, nur am Handy kommt das ganze irgendwie nicht an :-(
 
Kannst du noch mal den context cs switch posten!?
 
Gerne!
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-interface SIP_GW

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

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

  mapping-table called-e164 to called-e164 MT_SPEED_DIAL
    map (...) to 72363351\1

  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
 
Die Konfiguration für die ausgehenden Gespräche scheint in Ordnung zu sein.

Das Amt kann aber irgendwie die gesendete Rufnummer nicht weiterverarbeiten. Ist auch in jedem Land verschieden.

Wie setzt du die CallerID und NUM bei den Asterisk-Clients?

mfg Guard-X
 
Bei ausgehenden Calls setze ich die CallerID mittels
Code:
exten => _00X.,1,SetCallerID(72363XXX${CALLERIDNUM})

lg Dani
 
Das musst du aber nicht!? In der sip.conf nur bei den Usern die CallerID setzen:

callerid="TEST" <15>

Die SmartNode macht dann den Rest.

mfg Guard-X
 

Zurzeit aktive Besucher

Statistik des Forums

Themen
244,840
Beiträge
2,219,266
Mitglieder
371,543
Neuestes Mitglied
Brainbanger
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.