Hallo nochmals,
hat nicht so recht geklappt.
bekomme folgende Fehlermeldungen:
Use EXIT or QUIT to exit the asterisk console
-- Executing SetCallerID("SIP/201-5b35", "4888124") in new stack
-- Executing Dial("SIP/201-5b35", "SIP/&{EXTEN}sipgate-out|60|tr") in new stack
Jun 13 21:59:10 WARNING[5477]: chan_sip.c:1399 create_addr: No such host:
Jun 13 21:59:10 NOTICE[5477]: app_dial.c:759 dial_exec: Unable to create channel of type 'SIP'
Jun 13 21:59:10 WARNING[5477]: app_dial.c:708 dial_exec: Dial argument takes format (technology1/[device:]number1&technology2/[device:]number2...|optional timeout)
== Spawn extension (201, 0180166666261024, 2) exited non-zero on 'SIP/201-5b35'
hier sind nochmals meine configs.
sip.conf
[general]
port=5060
bindaddr=0.0.0.0
context=sip-out
qualify=yes
localnet=192.168.1.0/255.255.255.0
disable=all
allow=alaw
allow=ulaw
allow=g729
allow=gsm
allow=slinear
;srvlookup=yes
canreinvite=yes
language=de
register => 4888124:
[email protected]/4888124
[sipgate-out]
type=friend
insecure=very
nat=yes
username=4888124
fromuser=4888124
secret=xxxxx
fromdomain=sipgate.de
host=sipgate.de
qualify=yes
;user "mowar"
[200]
type=friend
secret=080561
insecure=very
;host=192.168.1.200
host=dynamic
;defaultip=192.168.1.200
disable=all
allow=alaw
allow=ulaw
dtmfmode=rfc2833
username=200
context=200
qualify=1000
callerid="mowarman" <200>
canreinvite=no
reinvite=no
nat=yes
;user "dekosa"
[201]
type=friend
secret=080561
insecure=very
;auth=md5
host=dynamic
;host=192.168.1.201
;defaultip=192.168.1.201
disable=all
allow=alaw
allow=ulaw
nat=yes
username=201
dtmfmode=rfc2833
qualify=1000
context=201
callerid="dekosa" <201>
canreinvite=no
reinvite=no
und die extensins.conf
;[sip-out]
;exten => _X.,1,SetCallerID,4888124
;exten => _X.,2,Dial(SIP/${EXTEN}@sipgate-out,30,trg)
;exten => _X.,3,Hangup
[sipgate-out]
exten => 4888124,1,Dial(SIP/100&SIP/200,60,tr)
exten => 4888124,2,Congestion
exten => 4888124,102,Busy
exten => h,1,Hangup
[200]
exten => _201,1,NoOp("call for "${EXTEN})
exten => _201,2,Dial(SIP/${EXTEN},60,tr)
exten => _201,3,Congestion
exten => _x.,1,SetCallerID,4888124
exten => _x.,2,Dial(SIP/&{EXTEN}sipgate-out,60,tr)
exten => _x.,3,Congestion
exten => _x.,102,Busy
[201]
exten => _200,1,NoOp("call for "${EXTEN})
exten => _200,2,Dial(SIP/${EXTEN},60,tr)
exten => _200,3,Congestion
exten => _x.,1,SetCallerID,4888124
exten => _x.,2,Dial(SIP/&{EXTEN}sipgate-out,60,tr)
exten => _x.,3,Congestion
exten => _x.,102,Busy