Hello,
i tyed the Config from Sipgate ***, but did not get it running.
No outgoing and incomeing calls.
But i can see at sipgate.de a connected Phone.
*** https://www.sipgate.de/basic/konfiguration/219/asterisk-pbx
Tyed some diffrent Configs too.
Did someone use a German Sipgate Account (Basic) with Asterisk 13.9.x ?
And can share his sip.conf and extensions.conf.
If got a Account from my DSL-Provider, the SIP Provider is: artelis.de
did anyone has this running ?
My Target is: get calls from: sipgate.de and artelis.de
outgoing call only from: artelis.de
Asterisk is running on the DSL-Router.
Thanks
Dennis
lede*CLI> sip show peers
Name/username Host Dyn Forcerport Comedia ACL Port Status Description
sipgate-MySipgateID/MySipgateID 217.xx.xx.x Auto (No) No 5060 OK (31 ms)
1 sip peers [Monitored: 1 online, 0 offline Unmonitored: 0 online, 0 offline]
lede*CLI> sip show registry
Host dnsmgr Username Refresh State Reg.Time
sipgate.de:5060 N MySipgateID 105 Registered Sun, 19 Feb 2017 15:55:46
1 SIP registrations.
sip.conf
[global]
disallow=all
allow=g722
allow=alaw
allow=ulaw
[sipgate-MySipgateID]
type=peer
insecure=invite
defaultuser=MySipgateID
fromuser=MySipgateID
fromdomain=sipgate.de
secret=MyPassword
host=sipgate.de
qualify=yes
canreinvite=no
dtmfmode=rfc2833
context=sipgate-in
callbackextension=MySipgateID
outboundproxy=sipgate.de
trustrpid=yes
sendrpid=no
extensions.conf
[sipgate-in]
exten => MySipgateID,1,Goto(tel1_in,s,1)
[tel1_out]
exten => _Z,1,Goto(out_internal,${EXTEN},1)
exten => _[+0-9].,1,Gosub(out_sipgate,${EXTEN})
[tel2_out]
exten => _Z,1,Goto(out_internal,${EXTEN},1)
exten => _[+0-9].,1,Gosub(out_sipgate,${EXTEN})
[ltq1_out]
;exten => _[+0-9]!,1,Goto(tel1_out,${EXTEN},1)
exten => _[+0-9]!,1,Dial(local/${EXTEN}@tel1_out/n)
[ltq2_out]
;exten => _[+0-9]!,1,Goto(tel2_out,${EXTEN},1)
exten => _[+0-9]!,1,Dial(local/${EXTEN}@tel2_out/n)
[ltq1_in]
exten => s,1,Dial(TAPI/1,30,t)
[sipgate-out]
exten => _[+0-9].,1,Set(CALLERID(num)=NUMBER)
exten => _[+0-9].,2,Dial(SIP/sipgate/${EXTEN},30,Trg)
exten => _[+0-9].,3,Hangup
If i call my Sipgate Number got this Message in: /var/log/asterisk/messages
[Feb 19 16:01:22] NOTICE[3344] chan_sip.c: Peer ‘sipgate-MySipgateID’ is now Reachable. (30ms / 2000ms)
[Feb 19 16:01:57] WARNING[3351][C-00000000] pbx.c: Channel ‘SIP/sipgate-MySipgateID-00000000’ sent to invalid extension but no invalid handler: context,exten,priority=tel1_in,s,1