SN4638 - Asterisk - kann mal jemand drüber schauen

trudeh

Mitglied
Mitglied seit
11 Sep 2005
Beiträge
419
Punkte für Reaktionen
17
Punkte
18
Hallo Experten,

nach langem hin und her hab ich mich zu nem SN4638 anstatt einer QUAD Bri ISDN Karte entschieden.
Nachdem ich mich eine Weile mit dem SN auseinander gesetzt hatte, bekam ich das starke Verlangen, es zurück zu geben, weil entweder das SN sehr kompliziert, oder mein Talent zu gering ist.

Da ich nun doch so schnell nicht aufgebe, hab ich so ziemlich alles gelesen was ich zu dem Thema gefunden hab, und hab aus den Schnipsel was gebastelt.
Leider muss ich im Moment ein bissel Trockenschwimmen machen, da ich vorm WE nicht "basteln" kann.

Es wäre nett, wenn Ihr mal über meine Schnipsel gucken würdet, um zumindest sicher zu sein, dass ich keine groben Fehler drin hab.

Aufgabenstellung:
Anlagenanschluss mit 4S0 übers SN an Asterisk.
Nummer der Zentrale: 659800
IP vom Asterisk: 172.20.0.200
IP vom SN4638: 172.20.0.201
IP Gateway: 172.20.0.1

Code:
#----------------------------------------------------------------#
#                                                                #
# SN4638/5BIS/UI                                                 #
# R4.T 2007-05-25 H323 SIP BRI                                   #
# 2007-07-01T18:54:08                                            #
# Generated configuration file                                   #
#                                                                #
#----------------------------------------------------------------#

cli version 3.20
dns-client server 172.20.0.3
dns-relay
webserver port 80 language en
sntp-client
sntp-client server primary 129.132.2.21 port 123 version 4

system

  ic voice 0
    low-bitrate-codec g729

system
  clock-source 1 bri 0 0
  clock-source 2 bri 0 1
  clock-source 3 bri 0 2
  clock-source 4 bri 0 3
  clock-source 5 bri 0 4

profile napt NAPT_WAN

profile ppp default

profile tone-set default

profile voip default
  codec 1 g711alaw64k rx-length 20 tx-length 20
  codec 2 g711ulaw64k rx-length 40 tx-length 20
  rtp traffic-class local-default
  fax transmission 1 bypass g711alaw64k
  fax max-bit-rate 9600
  no modem detection on-remote-fax-request

profile pstn default

profile sip default

profile dhcp-server DHCPS_LAN
  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 WAN
    ipaddress dhcp
    use profile napt NAPT_WAN
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

  interface LAN
    ipaddress 172.20.0.201 255.255.0.0
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

context ip router
  dhcp-server use profile DHCPS_LAN
  route 0.0.0.0 0.0.0.0 172.20.0.1 1

context cs switch
  digit-collection timeout 2
  national-prefix 0
  international-prefix 00

  routing-table called-e164 fromlocal
    route .T dest-service isdn mod_2

  routing-table called-e164 fromisdn
    route 65980(.%) dest-interface sip-gw mod_1

  routing-table calling-e164 callerid

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

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

 ; mapping-table itc to itc speech
 ;   map default to speech
 ;   map unrestricted-digital to unrestricted-digital

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

  interface isdn isdn01
    route call dest-table fromisdn

  interface isdn isdn02
    route call dest-table fromisdn

  interface isdn isdn03
    route call dest-table fromisdn

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

  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 isdn00
    route call 2 dest-interface isdn01
    route call 3 dest-interface isdn03
    route call 4 dest-interface isdn04

context cs switch
  no shutdown

gateway sip sip-gw
  bind interface LAN router

  service default
    domain 172.20.0.200
    realm 172.20.0.200
    registrar 172.20.0.200 5060
    defaultserver 172.20.0.200 5060 loose-router
    authentication 888 password 9ztB2vCBsXk= encrypted    
    user 888

gateway sip sip-gw
  no shutdown

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

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

port bri 0 0
  clock auto
  power-feed
  encapsulation q921

  q921
    protocol pp
    uni-side user
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      bchan-number-order ascending
      encapsulation cc-isdn

port bri 0 0
  no shutdown

port bri 0 1
  clock auto
  power-feed
  encapsulation q921

  q921
    protocol pp
    uni-side user
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      bchan-number-order ascending
      encapsulation cc-isdn
      bind interface isdn00 switch

port bri 0 1
  no shutdown

port bri 0 2
  clock auto
  power-feed
  encapsulation q921

  q921
    protocol pp
    uni-side user
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      bchan-number-order ascending
      encapsulation cc-isdn
      bind interface isdn01 switch

port bri 0 2
  no shutdown

port bri 0 3
  clock auto
  power-feed
  encapsulation q921

  q921
    protocol pp
    uni-side user
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      bchan-number-order ascending
      encapsulation cc-isdn
      bind interface isdn02 switch

port bri 0 3
  no shutdown

port bri 0 4
  clock auto
  power-feed
  encapsulation q921

  q921
    protocol pp
    uni-side user
    encapsulation q931

    q931
      protocol dss1
      uni-side net
      bchan-number-order ascending
      encapsulation cc-isdn
      bind interface isdn03 switch

port bri 0 4
  no shutdown

Vielen Dank im Voraus

Trude
 
Ich hab das Smartnode zum testen mal direkt an einen Mehrgeräteanschluss gehangen und meine Konfiguration entsprechend angepasst.

Bei einem eingehenden Anruf klingelt die entsprechende Nebenstelle ca. 4 - 5 Sekunden und danach ist ruhe. Selbst wenn ich innerhalb der Klingelzeit abhebe, kommt keine Verbindung zu stande. Der Anrufer erhält während der ganzen Zeit ein Rufsignal.
Bei den abgehenden Gesprächen klemmt es auch.

Code:
#----------------------------------------------------------------#
#                                                                #
# SN4638/5BIS/UI                                                 #
# R4.T 2007-05-25 H323 SIP BRI                                   #
# 2007-07-01T18:54:08                                            #
# Generated configuration file                                   #
#                                                                #
#----------------------------------------------------------------#

cli version 3.20
dns-client server 172.20.0.3
dns-relay
webserver port 80 language en
sntp-client
sntp-client server primary 129.132.2.21 port 123 version 4

system

  ic voice 0
    low-bitrate-codec g729

system
  clock-source 1 bri 0 0
  clock-source 2 bri 0 1
  clock-source 3 bri 0 2
  clock-source 4 bri 0 3
  clock-source 5 bri 0 4

profile napt NAPT_WAN

profile ppp default

profile tone-set default

profile voip default
  codec 1 g711alaw64k rx-length 20 tx-length 20
  codec 2 g711ulaw64k rx-length 40 tx-length 20
  rtp traffic-class local-default
  fax transmission 1 bypass g711alaw64k
  fax max-bit-rate 9600
  no modem detection on-remote-fax-request

profile pstn default

profile sip default

profile dhcp-server DHCPS_LAN
  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 WAN
    ipaddress dhcp
    use profile napt NAPT_WAN
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

  interface LAN
    ipaddress 172.20.0.201 255.255.0.0
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

context ip router
  dhcp-server use profile DHCPS_LAN
  route 0.0.0.0 0.0.0.0 172.20.0.1 1

context cs switch
  digit-collection timeout 2
  national-prefix 0
  international-prefix 00

  routing-table called-e164 RT_CDPN_ISDN_2_SIP
    route default dest-interface SIP_GW

  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 5769951\1

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

  mapping-table called-e164 to called-e164 MT_ADD_0
    map $ to 0

   complex-function CF_TO_PSTN
    execute 1 MT_ADD_KOPFNR
    execute 2 MT_TON_PSTN

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

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

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

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

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

   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 isdn00
    route call 2 dest-interface isdn01
;    route call 3 dest-interface isdn02
;    route call 4 dest-interface isdn03  

context cs switch
  no shutdown

gateway sip sip-gw
  bind interface LAN router

  service default
    domain 172.20.0.200
    realm 172.20.0.200
    registrar 172.20.0.200 5060
    default-server 172.20.0.200 5060 loose-router
    authentication patton password 9ztB2vCBsXk= encrypted
    user patton

gateway sip sip-gw
  no shutdown

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

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

port bri 0 0
  clock auto
   encapsulation q921

  q921
    protocol pmp
    uni-side user
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      bchan-number-order ascending
      encapsulation cc-isdn

port bri 0 0
  no shutdown

port bri 0 1
  clock auto
  encapsulation q921

  q921
    protocol pmp
    uni-side user
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      bchan-number-order ascending
      encapsulation cc-isdn
      bind interface isdn00 switch

port bri 0 1
  no shutdown

port bri 0 2
  clock auto
  encapsulation q921

  q921
    protocol pmp
    uni-side user
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      bchan-number-order ascending
      encapsulation cc-isdn
      bind interface isdn01 switch

port bri 0 2
  no shutdown

port bri 0 3
  clock auto
  encapsulation q921

  q921
    protocol pmp
    uni-side user
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      bchan-number-order ascending
      encapsulation cc-isdn
      bind interface isdn02 switch

port bri 0 3
  no shutdown

port bri 0 4
  clock auto
  encapsulation q921

  q921
    protocol pmp
    uni-side user
    encapsulation q931

    q931
      protocol dss1
      uni-side net
      bchan-number-order ascending
      encapsulation cc-isdn
      bind interface isdn03 switch

port bri 0 4
  no shutdown

im SIP debugging sehe ich im Asterisk folgendes:
Code:
asterisk1*CLI>
<-- SIP read from 172.20.0.201:5060:
SIP/2.0 405 Method Not Allowed
Call-ID: [email protected]
CSeq: 102 OPTIONS
From: "Unknown" <sip:[email protected]>;tag=as29ba9389
To: <sip:[email protected]:5060>;tag=a142fd3b162e8d0
Via: SIP/2.0/UDP 172.20.0.200:5060;branch=z9hG4bK2f560431;rport
Content-Length: 0
User-Agent: Patton SN4638 5BIS UI MxSF v3.2.8.45 00A0BA02C8BC R4.T 2007-05-25 H323 SIP BRI
Das "SIP/2.0 405 Method Not Allowed" macht mich hier ein bissel nervös?


Ein #debug ccisdn signaling bringt bei einem eingenden Anruf:
Code:
172.20.0.201#
172.20.0.201#08:20:36  ICC   > [isdn01] << Message: primitive=64
08:20:36  ICC   > [isdn01] Added endpoint isdn01-00eb6d28
08:20:36  ICC   > [isdn01] NEW CALL. Allocated Endpoint isdn01-00eb6d28
08:20:36  ICC   > [EP isdn01-00eb6d28] << [080005]
SETUP (DSS1 User)
  [A1]
  Sending complete
  [04038090A3]
  Bearer capability : speech - CCITT
    circuit mode - 64kBit/s - G.711 A-law
  [180189]
  Channel id : 1 - exclusive
    basic rate interface - is not d-channel - CCITT - b-channel units
  [1E028583]
  Progress indicator : origination address is non-ISDN
    private network serving remote user - CCITT
  [6C0D21813231363136353938303331]
  Calling party number : XXXXXX31
    national number - E.164 numbering plan
    presentation allowed - user provided verified and passed
  [7008C135373639393531]
  Called party number : 5769951
    subscriber number - E.164 numbering plan
  [7D029181]
  High layer compatibility : telephony
    CCITT

08:20:36  ICC   > [EP isdn01-00eb6d28] State: NULL, Event: TERMINAL SETUP IND
08:20:36  ICC   > [EP isdn01-00eb6d28] Set state to CALL PRESENT
08:20:36  ICC   > [EP isdn01-00eb6d28] set call key: 4
08:20:36  ICC   > [EP isdn01-00eb6d28] Set state to INCOMING PROCEEDING
08:20:36  ICC   > [EP isdn01-00eb6d28] >> [080002]
CALL PROCEEDING (DSS1 User)
  [1E028582]
  Progress indicator : destination address is non-ISDN
    private network serving remote user - CCITT

08:20:36  ICC   > [EP isdn01-00eb6d28] State: INCOMING PROCEEDING, Event: PEER TRYING
08:20:36  ICC   > [EP isdn01-00eb6d28] Hold State: IDLE, Hold Event: PEER TRYING
08:20:36  ICC   > [EP isdn01-00eb6d28] State: INCOMING PROCEEDING, Event: PEER ALERTING
08:20:36  ICC   > [EP isdn01-00eb6d28] Set state to CALL RECEIVED
08:20:36  ICC   > [EP isdn01-00eb6d28] >> [080001]
ALERTING (DSS1 User)

08:20:36  ICC   > [EP isdn01-00eb6d28] Hold State: IDLE, Hold Event: PEER ALERTING
08:20:42  ICC   > [isdn01] << Message: primitive=63
08:20:42  ICC   > [EP isdn01-00eb6d28] << [08004D]
RELEASE (DSS1 User)
  [080280A6]
  Cause : network out of order
    user - CCITT - Q.931

08:20:42  ICC   > [EP isdn01-00eb6d28] State: CALL RECEIVED, Event: TERMINAL RELEASE IND
08:20:42  ICC   > [EP isdn01-00eb6d28] Set state to NULL
08:20:42  ICC   > [isdn01] CLEARING CALL isdn01-00eb6d28
08:20:42  ICC   > [isdn01] Removed endpoint isdn01-00eb6d28
08:20:42  ICC   > [isdn01] Destroying finished calls.
08:20:42  ICC   > [isdn01] Destroyed endpoint isdn01-00eb6d28


debug gateway sip transport:
Code:
08:37:36  SIP_TR> [GW] < Stack: OPTIONS sip:[email protected]:5060 SIP/2.0
08:37:36  SIP_TR> [GW] > Stack: SIP/2.0 405 Method Not Allowed
08:38:36  SIP_TR> [GW] < Stack: OPTIONS sip:[email protected]:5060 SIP/2.0
08:38:36  SIP_TR> [GW] > Stack: SIP/2.0 405 Method Not Allowed
08:38:59  SIP_TR> [GW] > Stack: INVITE sip:[email protected] SIP/2.0
08:38:59  SIP_TR> [GW] < Stack: SIP/2.0 100 Trying
08:38:59  SIP_TR> [GW] < Stack: SIP/2.0 180 Ringing
08:38:59  SIP_TR> [GW] < Stack: SIP/2.0 180 Ringing
08:39:05  SIP_TR> [GW] > Stack: CANCEL sip:[email protected] SIP/2.0
08:39:05  SIP_TR> [GW] < Stack: SIP/2.0 487 Request Terminated
08:39:05  SIP_TR> [GW] < Stack: SIP/2.0 200 OK
08:39:05  SIP_TR> [GW] > Stack: ACK sip:[email protected] SIP/2.0
08:39:05  SIP_TR> [GW] < Stack: SIP/2.0 487 Request Terminated
08:39:05  SIP_TR> [GW] > Stack: ACK sip:[email protected] SIP/2.0
08:39:36  SIP_TR> [GW] < Stack: OPTIONS sip:[email protected]:5060 SIP/2.0
08:39:36  SIP_TR> [GW] > Stack: SIP/2.0 405 Method Not Allowed
Mal abgesehen davon, dass hier auch alle Minute die Meldung "SIP/2.0 405 Method Not Allowed" zu sehen ist, frag ich mich woher das kommt:
CANCEL sip:[email protected] SIP/2.0
SIP/2.0 487 Request Terminated

Beendet der Asterisk das Gespräch oder wird die Anforderung von Patton beendet?
Hiiiiiiilfe... ich dreh noch durch!!!
Bin für jeden Tip dankbar.

Gruss Trude
 
Auch wenn es bisher zu einem Monolog auszuarten scheint, aber vielleicht ist ja doch jemand am Stand meiner "Forschungen" interessiert.
Ich hab ein klassisches Eigentor geschossen. Da ich das Gerät evt. zurück geben wollte, hab ich nicht die mitgelieferten Strippen genommen, sondern hab in die grosse Kiste gegriffen.
Dabei hab ich ein defektes Kabel erwischt, was ich zum Anschliessen des ISDN Ports benutzt hab!
Dummerweise hat ja die Signalisierung usw. geklappt, sonst wär ich vielleicht eher auf das defekte Kabel gekommen - Kismet

Am Mehrgeräteanschluss funzt es jetzt ganz gut. Am Anlagenanschluss konnte ich es nach wie vor nicht testen.

Im SIP debugging seh ich immer noch regelmässig folgende Fehlermeldung:
Code:
13:56:49  SIP_TR> [GW] < Stack: OPTIONS sip:[email protected]:5060 SIP/2.0
13:56:49  SIP_TR> [GW] > Stack: SIP/2.0 405 Method Not Allowed
Der Funktion scheint es keinen Abbruch zu tun. Muss der Fehler mir Sorgen machen oder kann ich ihn einfach ignorieren?

Gruss Trude
 
Bitte zeige mir noch einmal deine aktuelle Patton und Asterisk Konfiguration.

mfg Guard-X
 
Hallo Guard-X,

im Moment hab ich folgende Konfiguration im SN:

Code:
#----------------------------------------------------------------#
#                                                                #
# SN4638/5BIS/UI                                                 #
# R4.T 2007-05-25 H323 SIP BRI                                   #
# 2007-07-01T18:54:08                                            #
# Generated configuration file                                   #
#                                                                #
#----------------------------------------------------------------#

cli version 3.20
dns-client server 172.20.0.3
dns-relay
webserver port 80 language en
sntp-client
sntp-client server primary 129.132.2.21 port 123 version 4

system

  ic voice 0
    low-bitrate-codec g729

system
  clock-source 1 bri 0 0
  clock-source 2 bri 0 1
  clock-source 3 bri 0 2
  clock-source 4 bri 0 3
  clock-source 5 bri 0 4

profile napt NAPT_WAN

profile ppp default

profile tone-set default

profile voip default
  codec 1 g711alaw64k rx-length 20 tx-length 20
  codec 2 g711ulaw64k rx-length 40 tx-length 20
  rtp traffic-class local-default
  fax transmission 1 bypass g711alaw64k
  fax max-bit-rate 9600
  no modem detection on-remote-fax-request

profile pstn default

profile sip default

profile dhcp-server DHCPS_LAN
  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 WAN
    ipaddress dhcp
    use profile napt NAPT_WAN
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

  interface LAN
    ipaddress 172.20.0.201 255.255.0.0
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

context ip router
  dhcp-server use profile DHCPS_LAN
  route 0.0.0.0 0.0.0.0 172.20.0.1 1

context cs switch
  digit-collection timeout 2
  national-prefix 0
  international-prefix 00

  routing-table called-e164 RT_CDPN_ISDN_2_SIP
    route default dest-interface SIP_GW

  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 \1

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

  mapping-table called-e164 to called-e164 MT_ADD_0
    map $ to 0

  mapping-table itc to itc speech
    map default to speech
    map unrestricted-digital to unrestricted-digital

   complex-function CF_TO_PSTN
    execute 1 MT_ADD_KOPFNR
    execute 2 MT_TON_PSTN

  interface isdn isdn00
    route call dest-table RT_CDPN_ISDN_2_SIP
    

  interface isdn isdn01
    route call dest-table RT_CDPN_ISDN_2_SIP


  interface isdn isdn02
    route call dest-table RT_CDPN_ISDN_2_SIP


  interface isdn isdn03
    route call dest-table RT_CDPN_ISDN_2_SIP


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

   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 isdn00
    route call 2 dest-interface isdn01
    route call 3 dest-interface isdn02
    route call 4 dest-interface isdn03  

context cs switch
  no shutdown

gateway sip sip-gw
  bind interface LAN router

  service default
    domain 172.20.0.200
    realm 172.20.0.200
    registrar 172.20.0.200 5060
    default-server 172.20.0.200 5060 loose-router
    authentication patton password 9ztB2vCBsXk= encrypted
    user patton

gateway sip sip-gw
  no shutdown

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

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

port bri 0 0
  clock auto
   encapsulation q921

  q921
    protocol pmp
    uni-side user
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      bchan-number-order ascending
      encapsulation cc-isdn

port bri 0 0
  shutdown

port bri 0 1
  clock auto
  encapsulation q921

  q921
    protocol pmp
    uni-side user
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      bchan-number-order ascending
      encapsulation cc-isdn
      bind interface isdn00 switch

port bri 0 1
  no shutdown

port bri 0 2
  clock auto
  encapsulation q921

  q921
    protocol pmp
    uni-side user
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      bchan-number-order ascending
      encapsulation cc-isdn
      bind interface isdn01 switch

port bri 0 2
  no shutdown

port bri 0 3
  clock auto
  encapsulation q921

  q921
    protocol pmp
    uni-side user
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      bchan-number-order ascending
      encapsulation cc-isdn
      bind interface isdn02 switch

port bri 0 3
  no shutdown

port bri 0 4
  clock auto
  encapsulation q921

  q921
    protocol pmp
    uni-side user
    encapsulation q931

    q931
      protocol dss1
      uni-side net
      bchan-number-order ascending
      encapsulation cc-isdn
      bind interface isdn03 switch

port bri 0 4
  no shutdown

und im Asterisk:
Code:
[patton]
username=patton
type=friend
secret=XXXX
qualify=1200
insecure=very
host=dynamic
dtmfmode=rfc2833
disallow=all
context=from-pstn
allow=alaw
canreinvite=no

Gruss Trude
 
Zuletzt bearbeitet:
...und noch die extensions.conf bitte, wäre doch gelacht wenn wir das nicht hinkriegen würden.

Eigentlich ist das 405 nur eine Warnmeldung und kann ignoriert werden. Allerdings würde mich doch interessieren, wo das weg kommt. Mache doch auf dem Asterisk noch mal ein "sip debug", irgendwas wird da gesendet und nicht verstanden.

Lass im default voip profile mal nur das stehen:
Code:
profile voip default
  codec 1 g711alaw64k rx-length 20 tx-length 20
mfg Guard-X
 
alt - aber interessant

hi,
nachdem meine patton mir hier rätsel über rätsel aufgibt stöber ich nach lösungen. leider brechen die schönen threads irgenwie weg. meine 4638 mit fw 5.2 zeigt auch diesen "SIP 405 Method not allowed" fehler. leider gabs hier wohl keine lösung, was?

grüsse,
ozett
 
Nimm am besten den 4er Zweig, denn darauf basieren hier die meisten Beiträge.
 
Nimm am besten den 4er Zweig, denn darauf basieren hier die meisten Beiträge.
Also an der 5.2er kann's ja nicht liegen. Im Beitrag #5 wird ja eine 4er Version verwendet und dennoch erscheint der "SIP 405 Method not allowed" Fehler. Gab es dazu denn eine Lösung???
 
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.