Mysterious
Neuer User
- Mitglied seit
- 3 Nov 2005
- Beiträge
- 158
- Punkte für Reaktionen
- 0
- Punkte
- 16
-- Executing [123@telefone-voip:1] Dial("SIP/122-0821e290", "SIP/123@smartnode") in new stack
-- Called 123@smartnode
-- SIP/smartnode-0818c410 is making progress passing it to SIP/122-0821e290
== Spawn extension (telefone-voip, 123, 1) exited non-zero on 'SIP/122-0821e290'
#----------------------------------------------------------------#
# #
# SN4634/3BIS/UI #
# R5.2 2009-01-14 H323 SIP BRI #
...
..
context ip router
route 0.0.0.0 0.0.0.0 10.20.30.1 0
context cs switch
national-prefix 0
international-prefix 00
interface isdn IF_ISDN_EXT
route call dest-interface IF_SIP_ASTERISK
interface isdn IF_ISDN_INT
route call dest-interface IF_SIP_ISDN_INT
interface sip IF_SIP_ASTERISK
bind context sip-gateway GW_SIP_ASTERISK
route call dest-interface IF_ISDN_EXT
remote 10.20.30.10
interface sip IF_SIP_ISDN_INT
bind context sip-gateway GW_SIP_ASTERISK
route call dest-interface IF_ISDN_INT
remote 10.20.30.10
context cs switch
no shutdown
authentication-service AS_ALL_LINES
realm 1 10.20.30.10
username smartnode password <geheim>== encrypted
location-service LS_SIP_TO_ASTERISK
context sip-gateway GW_SIP_ASTERISK
interface LAN_5061
bind interface LAN context router port 5061
context sip-gateway GW_SIP_ASTERISK
bind location-service LS_SIP_TO_ASTERISK
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
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side user
bchan-number-order ascending
encapsulation cc-isdn
bind interface IF_ISDN_EXT switch
port bri 0 0
no shutdown
port bri 0 1
clock auto
power-feed
encapsulation q921
q921
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side net
bchan-number-order ascending
encapsulation cc-isdn
bind interface IF_ISDN_INT switch
port bri 0 1
no shutdown
port bri 0 2
clock auto
encapsulation q921
q921
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side net
bchan-number-order ascending
port bri 0 2
shutdown
natürlich kenne ich den Thread, nur weitergeholfen hat er nicht.ganz einfach, mischen wir doch unsere Configs...
[smartnode]
type = peer
host = 10.20.30.6
port = 5061
fromdomain = 10.20.30.6
username = smartnode
fromuser = smartnode
secret = geheim
;qualify = 1200
insecure = very
canreinvite = no
nat = no
disallow = all
allow = alaw
context = telefone-voip
extension.conf
[smartnode-in]
type = peer
host = 10.20.30.6
port = 5061
fromdomain = 10.20.30.6
disallow = all
allow = alaw
context = smartnode-in
[smartnode-in]
;
; 122 waehlen -> internes VoIP-Telefon
exten => _122,1,Dial(SIP/${EXTEN})
; extern eingehende Anrufe auf interne Telefone leiten
exten => 1234567,1,Dial(SIP/122)
exten => 1234568,1,Dial(SIP/123@smartnode)
; 0 vorwaehlen -> Ueber ISDN waehlen
exten => _0X.,1,Set(CALLERID(all)=Thorolf <1234567>)
;exten => _0X.,1,Set(CALLERID(number)=1234567)
exten => _0X.,2,Dial(SIP/${EXTEN:1}@smartnode)
exten => _0X.,3,Hangup
[telefone-voip]
;
; 122 waehlen -> internes VoIP-Telefon
exten => _122,1,Dial(SIP/${EXTEN})
; 123 waehlen -> ISDN-Telefon am SmartNode 4634
exten => _123,1,Dial(SIP/${EXTEN}@smartnode)
;
; 0 vorwaehlen -> Ueber ISDN waehlen
exten => _0X.,1,Set(CALLERID(all)=Thorolf <1234567>)
;exten => _0X.,1,Set(CALLERID(number)=1234567)
exten => _0X.,2,Dial(SIP/${EXTEN:1}@smartnode)
exten => _0X.,3,Hangup
; Test-Extension um Telefonie vom Asterisk zu testen
exten => 1234,1,Answer()
exten => 1234,2,Playback(hello-world)
exten => 1234,3,Hangup()