tripa
01/03/2011, 23h49
Bonjour à tous,
j'ai un petit problème de configuration d'Asterisk 1.6 et xlite (v3).
J'ai 2 Xlite et 1 téléphone spectralink 8020.
Quand j'appelle des xlites vers le spectralink -> ça fonctionne.
== Using SIP RTP CoS mark 5
-- Executing [1028@default:1] Dial("SIP/xlite1-00000004", "SIP/spectra,20") in new stack
== Using SIP RTP CoS mark 5
-- Called spectra
-- SIP/spectra-00000005 is ringing
== Spawn extension (default, 1028, 1) exited non-zero on 'SIP/xlite1-00000004'
Quand j'appelle du spectralink vers les xlite -> ça ne fonctionne pas.
== Using SIP RTP CoS mark 5
-- Executing [1029@default:1] Dial("SIP/spectra-00000006", "SIP/xlite1,20") in new stack
== Using SIP RTP CoS mark 5
[Mar 1 22:59:30] WARNING[9754]: app_dial.c:1747 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Unknown)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [1029@default:2] Hangup("SIP/spectra-00000006", "") in new stack
== Spawn extension (default, 1029, 2) exited non-zero on 'SIP/spectra-00000006'
sip.conf
[general]
disallow=all
allow=ulaw
allow=alow
context=default
port=5060
allowoverlap=no
udpbindaddr=0.0.0.0
tcpenable=no
tcpbindaddr=0.0.0.0
srvlookup=yes
[xlite1]
type=friend
context=default
defaultuser=xlite1
regexten=1029
callerid="Toto" <1029>
host=dynamic
nat=no
canreinvite=no
[xlite2]
type=friend
context=default
defaultuser=xlite2
regexten=1027
callerid="Titi" <1027>
host=dynamic
nat=no
canreinvite=no
[spectra]
type=friend
context=default
defaultuser=spectra
regexten=1028
callerid="Tata" <1028>
host=dynamic
nat=no
canreinvite=no
extensions.conf
[general]
static=yes
writeprotect=no
clearglobalvars=no
[globals]
CONSOLE=Console/dsp ; Console interface for demo
;CONSOLE=DAHDI/1
;CONSOLE=Phone/phone0
IAXINFO=guest ; IAXtel username/password
;IAXINFO=myuser:mypass
TRUNK=DAHDI/G2
TRUNKMSD=1
[default]
exten => 1027,1,Dial(SIP/xlite2,20)
exten => 1027,2,Hangup
exten => 1028,1,Dial(SIP/spectra,20)
exten => 1028,2,Hangup
exten => 1029,1,Dial(SIP/xlite1,20)
exten => 1029,2,Hangup
sip show peers
Name/username Host Dyn Nat ACL Port Status
spectra/spectra 192.168.1.47 D 5060 Unmonitored
xlite1/xlite1 (Unspecified) D 5060 Unmonitored
xlite2/xlite2 (Unspecified) D 5060 Unmonitored
3 sip peers [Monitored: 0 online, 0 offline Unmonitored: 3 online, 0 offline]
sip show users
Username Secret Accountcode Def.Context ACL NAT
xlite2 default No RFC3581
xlite1 default No RFC3581
spectra default No RFC3581
Auriez-vous une idée d'où vient le problème ?
Merci à tous ceux qui pourront m'aider.
j'ai un petit problème de configuration d'Asterisk 1.6 et xlite (v3).
J'ai 2 Xlite et 1 téléphone spectralink 8020.
Quand j'appelle des xlites vers le spectralink -> ça fonctionne.
== Using SIP RTP CoS mark 5
-- Executing [1028@default:1] Dial("SIP/xlite1-00000004", "SIP/spectra,20") in new stack
== Using SIP RTP CoS mark 5
-- Called spectra
-- SIP/spectra-00000005 is ringing
== Spawn extension (default, 1028, 1) exited non-zero on 'SIP/xlite1-00000004'
Quand j'appelle du spectralink vers les xlite -> ça ne fonctionne pas.
== Using SIP RTP CoS mark 5
-- Executing [1029@default:1] Dial("SIP/spectra-00000006", "SIP/xlite1,20") in new stack
== Using SIP RTP CoS mark 5
[Mar 1 22:59:30] WARNING[9754]: app_dial.c:1747 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Unknown)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [1029@default:2] Hangup("SIP/spectra-00000006", "") in new stack
== Spawn extension (default, 1029, 2) exited non-zero on 'SIP/spectra-00000006'
sip.conf
[general]
disallow=all
allow=ulaw
allow=alow
context=default
port=5060
allowoverlap=no
udpbindaddr=0.0.0.0
tcpenable=no
tcpbindaddr=0.0.0.0
srvlookup=yes
[xlite1]
type=friend
context=default
defaultuser=xlite1
regexten=1029
callerid="Toto" <1029>
host=dynamic
nat=no
canreinvite=no
[xlite2]
type=friend
context=default
defaultuser=xlite2
regexten=1027
callerid="Titi" <1027>
host=dynamic
nat=no
canreinvite=no
[spectra]
type=friend
context=default
defaultuser=spectra
regexten=1028
callerid="Tata" <1028>
host=dynamic
nat=no
canreinvite=no
extensions.conf
[general]
static=yes
writeprotect=no
clearglobalvars=no
[globals]
CONSOLE=Console/dsp ; Console interface for demo
;CONSOLE=DAHDI/1
;CONSOLE=Phone/phone0
IAXINFO=guest ; IAXtel username/password
;IAXINFO=myuser:mypass
TRUNK=DAHDI/G2
TRUNKMSD=1
[default]
exten => 1027,1,Dial(SIP/xlite2,20)
exten => 1027,2,Hangup
exten => 1028,1,Dial(SIP/spectra,20)
exten => 1028,2,Hangup
exten => 1029,1,Dial(SIP/xlite1,20)
exten => 1029,2,Hangup
sip show peers
Name/username Host Dyn Nat ACL Port Status
spectra/spectra 192.168.1.47 D 5060 Unmonitored
xlite1/xlite1 (Unspecified) D 5060 Unmonitored
xlite2/xlite2 (Unspecified) D 5060 Unmonitored
3 sip peers [Monitored: 0 online, 0 offline Unmonitored: 3 online, 0 offline]
sip show users
Username Secret Accountcode Def.Context ACL NAT
xlite2 default No RFC3581
xlite1 default No RFC3581
spectra default No RFC3581
Auriez-vous une idée d'où vient le problème ?
Merci à tous ceux qui pourront m'aider.