- Mitglied seit
- 6 Jul 2015
- Beiträge
- 4
- Punkte für Reaktionen
- 0
- Punkte
- 0
Hallo liebe Forenmember,
ich bastle nun schon seit Tagen an meinem Asterisk Trunking Server. Ausgehende Anrufe klappen ohne Probleme, eingehende leider nicht. Kann mir bitte jemand helfen?
Hier meine Konfiguration:
sip.conf
extensions.conf
Was mache ich falsch?
Gruß farbdenker
ich bastle nun schon seit Tagen an meinem Asterisk Trunking Server. Ausgehende Anrufe klappen ohne Probleme, eingehende leider nicht. Kann mir bitte jemand helfen?
Hier meine Konfiguration:
sip.conf
Code:
[general]
port = 5060
bindaddr = 0.0.0.0
canreinvite = no
srvlookup = yes
language = de
minexpiry = 60
maxexpiry = 120
disallow = all
allow = alaw
allow = ulaw
allow = gsm
allowsubscribe = no
notifyringing = yes
notifyhold = yes
limitonpeers = yes
useclientcode = yes
register => 1234567t1:[email protected]/1234567t1
[sipconnect.sipgate.de]
type = peer
context = INCENTA
canreinvite = no
nat = no
language = de
outboundproxy = sipconnect.sipgate.de
host = sipconnect.sipgate.de
fromdomain = sipconnect.sipgate.de
insecure = invite
username = 1234567t1
fromuser = 1234567t1
secret = XXXXXXXXXXXX
disallow = all
allow = alaw
allow = ulaw
; Users
[10]
type = friend
username = 10
secret = CJK6HJK
host = dynamic
nat = yes
qualify = no
context = INCENTA
subscribecontext = INCENTA
call-limit = 2
busylimit = 1
[100]
type = friend
username = 100
secret = CJK6HJK
host = dynamic
nat = yes
qualify = no
context = INCENTA
subscribecontext = INCENTA
call-limit = 2
busylimit = 1
[1010]
type = friend
username = 1010
secret = AJK6HJK
host = dynamic
nat = yes
qualify = no
context = INCENTA
subscribecontext = INCENTA
call-limit = 2
busylimit = 1
[1011]
type = friend
username = 1011
secret = BJK6HJK
host = dynamic
nat = yes
qualify = no
context = INCENTA
subscribecontext = INCENTA
call-limit = 2
busylimit = 1
[1020]
type = friend
username = 1020
secret = DJK6HJK
host = dynamic
nat = yes
qualify = no
context = INCENTA
subscribecontext = INCENTA
call-limit = 2
busylimit = 1
[1030]
type = friend
username = 1030
secret = EJK6HJK
host = dynamic
nat = yes
qualify = no
context = INCENTA
subscribecontext = INCENTA
call-limit = 2
busylimit = 1
[1040]
type = friend
username = 1040
secret = FJK6HJK
host = dynamic
nat = yes
qualify = no
context = INCENTA
subscribecontext = INCENTA
call-limit = 2
busylimit = 1
[1050]
type = friend
username = 1050
secret = GJK6HJK
host = dynamic
nat = yes
qualify = no
context = INCENTA
subscribecontext = INCENTA
call-limit = 2
busylimit = 1
[1060]
type = friend
username = 1060
secret = HJK6HJK
host = dynamic
nat = yes
qualify = no
context = INCENTA
subscribecontext = INCENTA
call-limit = 2
busylimit = 1
[1099]
type = friend
username = 1099
secret = IJK6HJK
host = dynamic
nat = yes
qualify = no
context = INCENTA
subscribecontext = INCENTA
call-limit = 2
busylimit = 1
extensions.conf
Code:
[general]
static = yes
writeprotect = no
autofallthrough = yes
clearglobalvars = no
priorityjumping = no
language = de
[default]
exten => 4940123450,1,NoOp(${EXTEN})
exten => 4940123450,n,Dial(SIP/10,30,Ttr)
exten => 4940123450,n,Set(CHANNEL(language)=de)
exten => 4940123450,n,VoiceMail(10);
exten => 4940123450,n,Hangup
exten => 49401234500,1,NoOp(${EXTEN})
exten => 49401234500,n,Dial(SIP/100,30,Ttr)
exten => 49401234500,n,Set(CHANNEL(language)=de)
exten => 49401234500,n,VoiceMail(100);
exten => 49401234500,n,Hangup
exten => 494012345099,1,NoOp(${EXTEN})
exten => 494012345099,n,Set(CHANNEL(language)=de)
exten => 494012345099,n,VoiceMailMain()
exten => 494012345099,n,Hangup
exten => _4940123450X9,1,NoOp(${EXTEN})
exten => _4940123450X9,n,Set(CHANNEL(language)=de)
exten => _4940123450X9,n,Set(USER=10${EXTEN:-2:1}0);
exten => _4940123450X9,n,VoiceMailMain(${USER})
exten => _4940123450X9,n,Hangup
exten => _4940123450XX,1,NoOp(${EXTEN})
exten => _4940123450XX,n,Dial(SIP/10${EXTEN:-2},30,Ttr)
exten => _4940123450XX,n,Set(CHANNEL(language)=de)
exten => _4940123450XX,n,VoiceMail(10${EXTEN:-2});
exten => _4940123450XX,n,Hangup
[special]
exten => t,1,Congestion
exten => t,n,Hangup
exten => i,1,Congestion
exten => i,n,Hangup
exten => h,1,Hangup
[INCENTA]
include => special
exten => _1X.,1,NoOp(Waehle lokal / ${CALLERID(all)})
exten => _1X.,n,Dial(SIP/${EXTEN},30,Ttr)
exten => _1X.,n,VoiceMail(${EXTEN})
exten => _1X.,n,Hangup
exten => _0X.,1,NoOp(Waehle über die SIPGATE-Leitung / ${CALLERID(all)})
exten => _0X.,n,Set(DN=${SIP_HEADER(FROM)})
exten => _0X.,n,SipAddHeader(P-Preferred-Identity: <sip:4940123450${CALLERID(num):2}@sipconnect.sipgate.de>)
exten => _0X.,n,Dial(SIP/${EXTEN}@sipconnect.sipgate.de,60,Ttr);
exten => _0X.,n,Hangup
Was mache ich falsch?
Gruß farbdenker