Код: Выделить всё
[general]
context=mycall
allowguest=yes
bindport=5060
bindaddr=0.0.0.0
tos_sip=cs3
tos_audio=ef
disallow=all
allow=alaw
allow=gsm
srvlookup=yes
language=ru
relaxdtmf=yes
dtmfmode=info
compactheaders=yes
nat=never
canreinvite=no
[401]
type=friend
context=mycall
secret=401
host=dynamic
username=401
[402]
type=friend
context=mycall
secret=402
host=dynamic
username=402
Код: Выделить всё
-- Executing [402@mycall:1] Dial("SIP/401-09330c50", "SIP/402") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [402@mycall:2] Hangup("SIP/401-09330c50", "") in new stack
Код: Выделить всё
-- Executing [402@mycall:1] Dial("SIP/401-09330c50", "SIP/402") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [402@mycall:2] Hangup("SIP/401-09330c50", "") in new stack
== Spawn extension (mycall, 402, 2) exited non-zero on 'SIP/401-09330c50'
Scheduling destruction of SIP dialog 'Mjk4MmYyNTA0MGIyMWI3NmZiMDkyOTQ0NDEzYzllMW M.' in 32000 ms (Method: INVITE)
trixbox1*CLI>
<--- Reliably Transmitting (no NAT) to 192.168.20.115:46204 --->
SIP/2.0 503 Service Unavailable
v: SIP/2.0/UDP 192.168.20.115:46204;branch=z9hG4bK-d8754z-2367c033c5df9a88-1---d 8754z-;rport;received=192.168.20.115
f: "401"<sip:401@192.168.20.124>;tag=36bfb110
t: "402"<sip:402@192.168.20.124>;tag=as3c383218
i: Mjk4MmYyNTA0MGIyMWI3NmZiMDkyOTQ0NDEzYzllMWM.
CSeq: 2 INVITE
User-Agent: Mega Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
k: replaces, timer
l: 0
<------------>
trixbox1*CLI>
<--- SIP read from UDP://192.168.20.115:46204 --->
ACK sip:402@192.168.20.124 SIP/2.0
Via: SIP/2.0/UDP 192.168.20.115:46204;branch=z9hG4bK-d8754z-2367c033c5df9a88-1-- -d8754z-;rport
Max-Forwards: 70
To: "402"<sip:402@192.168.20.124>;tag=as3c383218
From: "401"<sip:401@192.168.20.124>;tag=36bfb110
Call-ID: Mjk4MmYyNTA0MGIyMWI3NmZiMDkyOTQ0NDEzYzllMWM.
CSeq: 2 ACK
Content-Length: 0
<------------->
--- (8 headers 0 lines) ---
trixbox1*CLI>
<--- SIP read from UDP://192.168.20.115:46204 --->
<------------->