Re: Объединение 2х Asterisk по IAX
user перепутал username
iax & sip debug (Звонок с номера 377 на 134)
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
Timestamp: 00002ms SCall: 03415 DCall: 00000 [192.168.2.3:4569]
VERSION : 2
CALLED NUMBER : 134
CODEC_PREFS : (alaw)
CALLING NUMBER : 377
CALLING PRESNTN : 0
CALLING TYPEOFN : 0
CALLING TRANSIT : 0
CALLING NAME : SEA
LANGUAGE : en
CALLED CONTEXT : office
FORMAT : 8
CAPABILITY : 57352
ADSICPE : 2
DATE TIME : 2008-10-08 14:17:06
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: AUTHREQ
Timestamp: 00003ms SCall: 00002 DCall: 03415 [192.168.2.3:4569]
AUTHMETHODS : 7
CHALLENGE : 139195289
USERNAME : nvkz
Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: AUTHREP
Timestamp: 00100ms SCall: 03415 DCall: 00002 [192.168.2.3:4569]
MD5 RESULT : 4143687b58cab80058102025773d5e61
-- Accepting AUTHENTICATED call from 192.168.2.3:
> requested format = alaw,
> requested prefs = (alaw),
> actual format = alaw,
> host prefs = (alaw),
> priority = mine
Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: ACCEPT
Timestamp: 00159ms SCall: 00002 DCall: 03415 [192.168.2.3:4569]
FORMAT : 8
-- Executing Macro("IAX2/nvkz-2", "userdial|134|377")
-- Executing [s@macro-userdial:1] Dial("IAX2/nvkz-2", "SIP/134|40|Ttrj") in new stack
Audio is at 192.168.0.133 port 14584
Adding codec 0x8 (alaw) to SDP
Adding codec 0x2 (gsm) to SDP
Adding codec 0x4 (ulaw) to SDP
Adding codec 0x200 (speex) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (no NAT) to 192.168.0.6:5060:
INVITE sip:134@192.168.0.6:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.133:5060;branch=z9hG4bK398d0e82;rport
From: "SEA" <sip:377@192.168.0.133>;tag=as19c43702
To: <sip:134@192.168.0.6:5060>
Contact: <sip:377@192.168.0.133>
Call-ID: 3e7b1aaa4d47dc4e3191c0c46e773e2f@192.168.0.133
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Max-Forwards: 70
Remote-Party-ID: "SEA" <sip:377@192.168.0.133>;privacy=off;screen=no
Date: Wed, 08 Oct 2008 07:22:13 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Type: application/sdp
Content-Length: 318
v=0
o=root 65072 65072 IN IP4 192.168.0.133
s=session
c=IN IP4 192.168.0.133
t=0 0
m=audio 14584 RTP/AVP 8 3 0 110 101
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:110 speex/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
---
-- Called 134
Tx-Frame Retry[000] -- OSeqno: 002 ISeqno: 002 Type: CONTROL Subclass: RINGING
Timestamp: 00162ms SCall: 00002 DCall: 03415 [192.168.2.3:4569]
voipserver*CLI>
<--- SIP read from 192.168.0.6:5060 --->
SIP/2.0 100 Trying
Via:SIP/2.0/UDP 192.168.0.133:5060;rport;branch=z9hG4bK398d0e82
From: "SEA" <sip:377@192.168.0.133>;tag=as19c43702
To: <sip:134@192.168.0.6:5060>
Call-ID:3e7b1aaa4d47dc4e3191c0c46e773e2f@192.168.0.133
CSeq:102 INVITE
Content-Type:application/sdp
Content-Length:0
<------------->
--- (8 headers 0 lines) ---
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 002 Type: IAX Subclass: ACK
Timestamp: 00159ms SCall: 03415 DCall: 00002 [192.168.2.3:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 003 Type: IAX Subclass: ACK
Timestamp: 00162ms SCall: 03415 DCall: 00002 [192.168.2.3:4569]
voipserver*CLI>
<--- SIP read from 192.168.0.6:5060 --->
SIP/2.0 180 Ringing
Via:SIP/2.0/UDP 192.168.0.133:5060;rport;branch=z9hG4bK398d0e82
From: "SEA" <sip:377@192.168.0.133>;tag=as19c43702
To: <sip:134@192.168.0.6:5060>;tag=18928f34-794311
Call-ID:3e7b1aaa4d47dc4e3191c0c46e773e2f@192.168.0.133
CSeq:102 INVITE
Contact:<sip:134@192.168.0.6:5060>
User-Agent:dlink 12-37-35926137
Content-Length:0
<------------->
--- (9 headers 0 lines) ---
-- SIP/134-098b2000 is ringing
voipserver*CLI>
<--- SIP read from 192.168.0.1:43452 --->
<------------->
--- (0 headers 1 lines) ---
voipserver*CLI>
<--- SIP read from 192.168.0.6:5060 --->
SIP/2.0 200 OK
Allow:INVITE,ACK,OPTIONS,BYE,CANCEL,INFO,PRACK,REFER,SUBSCRIBE,NOTIFY,UPDATE
Via:SIP/2.0/UDP 192.168.0.133:5060;rport;branch=z9hG4bK398d0e82
From: "SEA" <sip:377@192.168.0.133>;tag=as19c43702
To: <sip:134@192.168.0.6:5060>;tag=18928f34-794311
Call-ID:3e7b1aaa4d47dc4e3191c0c46e773e2f@192.168.0.133
CSeq:102 INVITE
Contact:<sip:134@192.168.0.6:5060>
User-Agent:dlink 12-37-35926137
Content-Type:application/sdp
Content-Length:203
v=0
o=134 1901510420 1901510420 IN IP4 192.168.0.6
s=Session SDP
c=IN IP4 192.168.0.6
t=0 0
m=audio 9000 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000/1
a=rtpmap:101 telephone-event/8000/1
a=fmtp:101 0-15
<------------->
--- (11 headers 9 lines) ---
Found RTP audio format 8
Found RTP audio format 101
Peer audio RTP is at port 192.168.0.6:9000
Found audio description format PCMA for ID 8
Found audio description format telephone-event for ID 101
Capabilities: us - 0x8020e (gsm|ulaw|alaw|speex|h263), peer - audio=0x8 (alaw)/video=0x0 (nothing), combined - 0x8 (alaw)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event), peer - 0x1 (telephone-event), combined - 0x1 (telephone-event)
Peer audio RTP is at port 192.168.0.6:9000
list_route: hop: <sip:134@192.168.0.6:5060>
set_destination: Parsing <sip:134@192.168.0.6:5060> for address/port to send to
set_destination: set destination to 192.168.0.6, port 5060
Transmitting (no NAT) to 192.168.0.6:5060:
ACK sip:134@192.168.0.6:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.133:5060;branch=z9hG4bK7f3edbe0;rport
From: "SEA" <sip:377@192.168.0.133>;tag=as19c43702
To: <sip:134@192.168.0.6:5060>;tag=18928f34-794311
Contact: <sip:377@192.168.0.133>
Call-ID: 3e7b1aaa4d47dc4e3191c0c46e773e2f@192.168.0.133
CSeq: 102 ACK
User-Agent: Asterisk PBX
Max-Forwards: 70
Remote-Party-ID: "SEA" <sip:377@192.168.0.133>;privacy=off;screen=no
Content-Length: 0
---
-- SIP/134-098b2000 answered IAX2/nvkz-2
Tx-Frame Retry[000] -- OSeqno: 003 ISeqno: 002 Type: CONTROL Subclass: (255?)
Timestamp: 04300ms SCall: 00002 DCall: 03415 [192.168.2.3:4569]
Tx-Frame Retry[000] -- OSeqno: 004 ISeqno: 002 Type: CONTROL Subclass: ANSWER
Timestamp: 04303ms SCall: 00002 DCall: 03415 [192.168.2.3:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 004 Type: IAX Subclass: ACK
Timestamp: 04300ms SCall: 03415 DCall: 00002 [192.168.2.3:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 005 Type: IAX Subclass: ACK
Timestamp: 04303ms SCall: 03415 DCall: 00002 [192.168.2.3:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 005 Type: CONTROL Subclass: (20?)
Timestamp: 04406ms SCall: 03415 DCall: 00002 [192.168.2.3:4569]
Tx-Frame Retry[-01] -- OSeqno: 005 ISeqno: 003 Type: IAX Subclass: ACK
Timestamp: 04406ms SCall: 00002 DCall: 03415 [192.168.2.3:4569]
Tx-Frame Retry[000] -- OSeqno: 005 ISeqno: 003 Type: VOICE Subclass: 8
Timestamp: 04420ms SCall: 00002 DCall: 03415 [192.168.2.3:4569]
Rx-Frame Retry[ No] -- OSeqno: 003 ISeqno: 005 Type: VOICE Subclass: 8
Timestamp: 04497ms SCall: 03415 DCall: 00002 [192.168.2.3:4569]
Tx-Frame Retry[-01] -- OSeqno: 005 ISeqno: 004 Type: IAX Subclass: ACK
Timestamp: 04497ms SCall: 00002 DCall: 03415 [192.168.2.3:4569]
Rx-Frame Retry[ No] -- OSeqno: 003 ISeqno: 006 Type: IAX Subclass: ACK
Timestamp: 04420ms SCall: 03415 DCall: 00002 [192.168.2.3:4569]
Rx-Frame Retry[ No] -- OSeqno: 004 ISeqno: 006 Type: IAX Subclass: HANGUP
Timestamp: 04630ms SCall: 03415 DCall: 00002 [192.168.2.3:4569]
CAUSE CODE : 16
Tx-Frame Retry[-01] -- OSeqno: 006 ISeqno: 005 Type: IAX Subclass: ACK
Timestamp: 04630ms SCall: 00002 DCall: 03415 [192.168.2.3:4569]
Scheduling destruction of SIP dialog '3e7b1aaa4d47dc4e3191c0c46e773e2f@192.168.0.133' in 32000 ms (Method: INVITE)
set_destination: Parsing <sip:134@192.168.0.6:5060> for address/port to send to
set_destination: set destination to 192.168.0.6, port 5060
Reliably Transmitting (no NAT) to 192.168.0.6:5060:
BYE sip:134@192.168.0.6:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.133:5060;branch=z9hG4bK76399451;rport
From: "SEA" <sip:377@192.168.0.133>;tag=as19c43702
To: <sip:134@192.168.0.6:5060>;tag=18928f34-794311
Call-ID: 3e7b1aaa4d47dc4e3191c0c46e773e2f@192.168.0.133
CSeq: 103 BYE
User-Agent: Asterisk PBX
Max-Forwards: 70
Remote-Party-ID: "SEA" <sip:377@192.168.0.133>;privacy=off;screen=no
Content-Length: 0
---
== Spawn extension (macro-userdial, s, 1) exited non-zero on 'IAX2/nvkz-2' in macro 'userdial'
== Spawn extension (macro-userdial, s, 1) exited non-zero on 'IAX2/nvkz-2'
-- Hungup 'IAX2/nvkz-2'
voipserver*CLI>
<--- SIP read from 192.168.0.6:5060 --->
SIP/2.0 200 OK
Via:SIP/2.0/UDP 192.168.0.133:5060;rport;branch=z9hG4bK76399451
From: "SEA" <sip:377@192.168.0.133>;tag=as19c43702
To: <sip:134@192.168.0.6:5060>;tag=18928f34-794311
Call-ID:3e7b1aaa4d47dc4e3191c0c46e773e2f@192.168.0.133
CSeq:103 BYE
User-Agent:dlink 12-37-35926137
Content-Length:0
<------------->
--- (8 headers 0 lines) ---
Really destroying SIP dialog '3e7b1aaa4d47dc4e3191c0c46e773e2f@192.168.0.133' Method: INVITE
|