[code]asterisk1*CLI>
<-- SIP read from 192.168.13.140:50682:
INVITE sip:102@192.168.13.11 SIP/2.0
Via: SIP/2.0/UDP 192.168.13.140:5060;branch=z9hG4bK005c62c9
From: “003094c450fc” sip:003094c450fc@192.168.13.11;tag=003094c450fc00e324d4cf1a-0695eeeb
To: sip:102@192.168.13.11
Call-ID: 003094c4-50fc0030-5b67d794-0432ec99@192.168.13.140
CSeq: 101 INVITE
User-Agent: CSCO/6
Contact: sip:003094c450fc@192.168.13.140:5060
Expires: 180
Content-Type: application/sdp
Content-Length: 248
Accept: application/sdp
v=0
o=Cisco-SIPUA 10651 44 IN IP4 192.168.13.140
s=SIP Call
c=IN IP4 192.168.13.140
t=0 0
m=audio 25030 RTP/AVP 0 8 18 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
— (12 headers 11 lines)—
Using INVITE request as basis request - 003094c4-50fc0030-5b67d794-0432ec99@192.168.13.140
Sending to 192.168.13.140 : 5060 (non-NAT)
Reliably Transmitting (no NAT) to 192.168.13.140:5060:
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 192.168.13.140:5060;branch=z9hG4bK005c62c9;received=192.168.13.140
From: “003094c450fc” sip:003094c450fc@192.168.13.11;tag=003094c450fc00e324d4cf1a-0695eeeb
To: sip:102@192.168.13.11;tag=as3174240b
Call-ID: 003094c4-50fc0030-5b67d794-0432ec99@192.168.13.140
CSeq: 101 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: sip:102@192.168.13.11
Proxy-Authenticate: Digest realm=“asterisk”, nonce="17205aaf"
Content-Length: 0
—erisk1CLI>
Scheduling destruction of call ‘003094c4-50fc0030-5b67d794-0432ec99@192.168.13.140’ in 15000 ms
Found user '003094c450fc’
asterisk1CLI>
<-- SIP read from 192.168.13.140:50896:
ACK sip:102@192.168.13.11 SIP/2.0
Via: SIP/2.0/UDP 192.168.13.140:5060;branch=z9hG4bK005c62c9
From: “003094c450fc” sip:003094c450fc@192.168.13.11;tag=003094c450fc00e324d4cf1a-0695eeeb
To: sip:102@192.168.13.11;tag=as3174240b
Call-ID: 003094c4-50fc0030-5b67d794-0432ec99@192.168.13.140
CSeq: 101 ACK
Content-Length: 0
— (7 headers 0 lines)—
asterisk1*CLI>
<-- SIP read from 192.168.13.140:50682:
INVITE sip:102@192.168.13.11 SIP/2.0
Via: SIP/2.0/UDP 192.168.13.140:5060;branch=z9hG4bK3dba8eb7
From: “003094c450fc” sip:003094c450fc@192.168.13.11;tag=003094c450fc00e324d4cf1a-0695eeeb
To: sip:102@192.168.13.11
Call-ID: 003094c4-50fc0030-5b67d794-0432ec99@192.168.13.140
CSeq: 102 INVITE
User-Agent: CSCO/6
Contact: sip:003094c450fc@192.168.13.140:5060
Proxy-Authorization: Digest username=“003094c450fc”,realm=“asterisk”,uri=“sip:192.168.13.11”,response=“56ff1b328e0c6ba5e82cebf11c5408a4”,nonce=“17205aaf”,algorithm=md5
Expires: 180
Content-Type: application/sdp
Content-Length: 248
v=0
o=Cisco-SIPUA 10651 44 IN IP4 192.168.13.140
s=SIP Call
c=IN IP4 192.168.13.140
t=0 0
m=audio 25030 RTP/AVP 0 8 18 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
— (12 headers 11 lines)—
Using INVITE request as basis request - 003094c4-50fc0030-5b67d794-0432ec99@192.168.13.140
Sending to 192.168.13.140 : 5060 (non-NAT)
Found user '003094c450fc’
Found RTP audio format 0
Found RTP audio format 8
Found RTP audio format 18
Found RTP audio format 101
Peer audio RTP is at port 192.168.13.140:25030
Found description format PCMU
Found description format PCMA
Found description format G729
Found description format telephone-event
Capabilities: us - 0x4 (ulaw), peer - audio=0x10c (ulaw|alaw|g729)/video=0x0 (nothing), combined - 0x4 (ulaw)
Non-codec capabilities: us - 0x1 (telephone-event), peer - 0x1 (telephone-event), combined - 0x1 (telephone-event)
Looking for 102 in from-internal (domain 192.168.13.11)
list_route: hop: sip:003094c450fc@192.168.13.140:5060
Transmitting (no NAT) to 192.168.13.140:5060:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.13.140:5060;branch=z9hG4bK3dba8eb7;received=192.168.13.140
From: “003094c450fc” sip:003094c450fc@192.168.13.11;tag=003094c450fc00e324d4cf1a-0695eeeb
To: sip:102@192.168.13.11
Call-ID: 003094c4-50fc0030-5b67d794-0432ec99@192.168.13.140
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: sip:102@192.168.13.11
Content-Length: 0
-- Executing AGI("SIP/003094c450fc-ad3c", "simicomm/from-internal.php") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/simicomm/from-internal.php
-- AGI Script Executing Application: (Dial) Options: (SIP/0004F204AB54|15|tr)
We’re at 192.168.13.11 port 19570
Adding codec 0x4 (ulaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
13 headers, 10 lines
Reliably Transmitting (no NAT) to 192.168.13.142:5060:
INVITE sip:0004f204ab54@192.168.13.142 SIP/2.0
Via: SIP/2.0/UDP 192.168.13.11:5060;branch=z9hG4bK65aef169;rport
From: “Test2” sip:102@192.168.13.11;tag=as18db8e63
To: sip:0004f204ab54@192.168.13.142
Contact: sip:102@192.168.13.11
Call-ID: 7297930405a0cfc02718a2242f0a405f@192.168.13.11
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Tue, 12 Sep 2006 21:06:35 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Content-Type: application/sdp
Content-Length: 218
v=0
o=root 28932 28932 IN IP4 192.168.13.11
s=session
c=IN IP4 192.168.13.11
t=0 0
m=audio 19570 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
-- Called 0004F204AB54
Transmitting (no NAT) to 192.168.13.140:5060:
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.13.140:5060;branch=z9hG4bK3dba8eb7;received=192.168.13.140
From: “003094c450fc” sip:003094c450fc@192.168.13.11;tag=003094c450fc00e324d4cf1a-0695eeeb
To: sip:102@192.168.13.11;tag=as53823535
Call-ID: 003094c4-50fc0030-5b67d794-0432ec99@192.168.13.140
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: sip:102@192.168.13.11
Content-Length: 0
asterisk1*CLI>
<-- SIP read from 192.168.13.142:5060:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.13.11:5060;branch=z9hG4bK65aef169;rport
From: “Test2” sip:102@192.168.13.11;tag=as18db8e63
To: sip:0004f204ab54@192.168.13.142;tag=BC6A9877-2C4FBC92
CSeq: 102 INVITE
Call-ID: 7297930405a0cfc02718a2242f0a405f@192.168.13.11
Contact: sip:0004f204ab54@192.168.13.142
User-Agent: PolycomSoundPointIP-SPIP_501-UA/1.6.3.0067
Content-Length: 0
— (9 headers 0 lines)—
asterisk1*CLI>
<-- SIP read from 192.168.13.142:5060:
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.13.11:5060;branch=z9hG4bK65aef169;rport
From: “Test2” sip:102@192.168.13.11;tag=as18db8e63
To: sip:0004f204ab54@192.168.13.142;tag=BC6A9877-2C4FBC92
CSeq: 102 INVITE
Call-ID: 7297930405a0cfc02718a2242f0a405f@192.168.13.11
Contact: sip:0004f204ab54@192.168.13.142
User-Agent: PolycomSoundPointIP-SPIP_501-UA/1.6.3.0067
Allow-Events: talk,hold,conference
Content-Length: 0
— (10 headers 0 lines)—
– SIP/0004F204AB54-057e is ringing
asterisk1*CLI>
<-- SIP read from 192.168.13.142:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.13.11:5060;branch=z9hG4bK65aef169;rport
From: “Test2” sip:102@192.168.13.11;tag=as18db8e63
To: sip:0004f204ab54@192.168.13.142;tag=BC6A9877-2C4FBC92
CSeq: 102 INVITE
Call-ID: 7297930405a0cfc02718a2242f0a405f@192.168.13.11
Contact: sip:0004f204ab54@192.168.13.142
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE, NOTIFY, PRACK, UPDATE, REFER
User-Agent: PolycomSoundPointIP-SPIP_501-UA/1.6.3.0067
Content-Type: application/sdp
Content-Length: 191
v=0
o=- 1158094931 1158094931 IN IP4 192.168.13.142
s=Polycom IP Phone
c=IN IP4 192.168.13.142
t=0 0
m=audio 2242 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
— (11 headers 8 lines)—
Found RTP audio format 0
Found RTP audio format 101
Peer audio RTP is at port 192.168.13.142:2242
Found description format PCMU
Found description format telephone-event
Capabilities: us - 0x4 (ulaw), peer - audio=0x4 (ulaw)/video=0x0 (nothing), combined - 0x4 (ulaw)
Non-codec capabilities: us - 0x1 (telephone-event), peer - 0x1 (telephone-event), combined - 0x1 (telephone-event)
list_route: hop: sip:0004f204ab54@192.168.13.142
set_destination: Parsing sip:0004f204ab54@192.168.13.142 for address/port to send to
set_destination: set destination to 192.168.13.142, port 5060
Transmitting (no NAT) to 192.168.13.142:5060:
ACK sip:0004f204ab54@192.168.13.142 SIP/2.0
Via: SIP/2.0/UDP 192.168.13.11:5060;branch=z9hG4bK4a5bf949;rport
From: “Test2” sip:102@192.168.13.11;tag=as18db8e63
To: sip:0004f204ab54@192.168.13.142;tag=BC6A9877-2C4FBC92
Contact: sip:102@192.168.13.11
Call-ID: 7297930405a0cfc02718a2242f0a405f@192.168.13.11
CSeq: 102 ACK
User-Agent: Asterisk PBX
Max-Forwards: 70
Content-Length: 0
-- SIP/0004F204AB54-057e answered SIP/003094c450fc-ad3c
We’re at 192.168.13.11 port 13196
Adding codec 0x4 (ulaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (no NAT) to 192.168.13.140:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.13.140:5060;branch=z9hG4bK3dba8eb7;received=192.168.13.140
From: “003094c450fc” sip:003094c450fc@192.168.13.11;tag=003094c450fc00e324d4cf1a-0695eeeb
To: sip:102@192.168.13.11;tag=as53823535
Call-ID: 003094c4-50fc0030-5b67d794-0432ec99@192.168.13.140
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: sip:102@192.168.13.11
Content-Type: application/sdp
Content-Length: 218
v=0
o=root 28932 28932 IN IP4 192.168.13.11
s=session
c=IN IP4 192.168.13.11
t=0 0
m=audio 13196 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
-- Attempting native bridge of SIP/003094c450fc-ad3c and SIP/0004F204AB54-057e
asterisk1*CLI>
<-- SIP read from 192.168.13.140:50682:
ACK sip:102@192.168.13.11:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.13.140:5060;branch=z9hG4bK4a3533a1
From: “003094c450fc” sip:003094c450fc@192.168.13.11;tag=003094c450fc00e324d4cf1a-0695eeeb
To: sip:102@192.168.13.11;tag=as53823535
Call-ID: 003094c4-50fc0030-5b67d794-0432ec99@192.168.13.140
CSeq: 102 ACK
User-Agent: CSCO/6
Content-Length: 0
— (8 headers 0 lines)—
asterisk1*CLI>
<-- SIP read from 192.168.13.142:5060:
BYE sip:102@192.168.13.11 SIP/2.0
Via: SIP/2.0/UDP 192.168.13.142;branch=z9hG4bKfb9ff6a0C864EFDD
From: sip:0004f204ab54@192.168.13.142;tag=BC6A9877-2C4FBC92
To: “Test2” sip:102@192.168.13.11;tag=as18db8e63
CSeq: 1 BYE
Call-ID: 7297930405a0cfc02718a2242f0a405f@192.168.13.11
Contact: sip:0004f204ab54@192.168.13.142
User-Agent: PolycomSoundPointIP-SPIP_501-UA/1.6.3.0067
Max-Forwards: 70
Content-Length: 0
— (10 headers 0 lines)—
Sending to 192.168.13.142 : 5060 (non-NAT)
Transmitting (no NAT) to 192.168.13.142:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.13.142;branch=z9hG4bKfb9ff6a0C864EFDD;received=192.168.13.142
From: sip:0004f204ab54@192.168.13.142;tag=BC6A9877-2C4FBC92
To: “Test2” sip:102@192.168.13.11;tag=as18db8e63
Call-ID: 7297930405a0cfc02718a2242f0a405f@192.168.13.11
CSeq: 1 BYE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: sip:102@192.168.13.11
Content-Length: 0
X-Asterisk-HangupCause: Normal Clearing
-- AGI Script simicomm/from-internal.php completed, returning 0
== Auto fallthrough, channel ‘SIP/003094c450fc-ad3c’ status is ‘ANSWER’
– Executing NoOp(“SIP/003094c450fc-ad3c”, “”) in new stack
set_destination: Parsing sip:003094c450fc@192.168.13.140:5060 for address/port to send to
set_destination: set destination to 192.168.13.140, port 5060
Reliably Transmitting (no NAT) to 192.168.13.140:5060:
BYE sip:003094c450fc@192.168.13.140:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.13.11:5060;branch=z9hG4bK5db11695;rport
From: sip:102@192.168.13.11;tag=as53823535
To: “003094c450fc” sip:003094c450fc@192.168.13.11;tag=003094c450fc00e324d4cf1a-0695eeeb
Contact: sip:102@192.168.13.11
Call-ID: 003094c4-50fc0030-5b67d794-0432ec99@192.168.13.140
CSeq: 102 BYE
User-Agent: Asterisk PBX
Max-Forwards: 70
Content-Length: 0
12 headers, 0 lines
Reliably Transmitting (no NAT) to 192.168.13.140:5060:
OPTIONS sip:003094c450fc@192.168.13.140:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.13.11:5060;branch=z9hG4bK2cd4f995;rport
From: “Unknown” sip:Unknown@192.168.13.11;tag=as03fbaec7
To: sip:003094c450fc@192.168.13.140:5060
Contact: sip:Unknown@192.168.13.11
Call-ID: 74785b9855f5fe660639984d3631e892@192.168.13.11
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Tue, 12 Sep 2006 21:06:40 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Content-Length: 0
Destroying call '7297930405a0cfc02718a2242f0a405f@192.168.13.11’
asterisk1*CLI>
<-- SIP read from 192.168.13.140:50682:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.13.11:5060;branch=z9hG4bK5db11695;rport
From: sip:102@192.168.13.11;tag=as53823535
To: “003094c450fc” sip:003094c450fc@192.168.13.11;tag=003094c450fc00e324d4cf1a-0695eeeb
Call-ID: 003094c4-50fc0030-5b67d794-0432ec99@192.168.13.140
CSeq: 102 BYE
Server: CSCO/6
Content-Length: 0
— (8 headers 0 lines)—
Destroying call '003094c4-50fc0030-5b67d794-0432ec99@192.168.13.140’
asterisk1*CLI>
<-- SIP read from 192.168.13.140:50897:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.13.11:5060;branch=z9hG4bK2cd4f995;rport
From: “Unknown” sip:Unknown@192.168.13.11;tag=as03fbaec7
To: sip:003094c450fc@192.168.13.140:5060;tag=003094c450fc00e46782dac0-125cec5b
Call-ID: 74785b9855f5fe660639984d3631e892@192.168.13.11
CSeq: 102 OPTIONS
Server: CSCO/6
Content-Type: application/sdp
Content-Length: 239
Allow: OPTIONS,INVITE,BYE,CANCEL,REGISTER,ACK,NOTIFY,REFER
v=0
o=Cisco-SIPUA 0 0 IN IP4 192.168.13.140
s=SIP Call
c=IN IP4 192.168.13.140
t=0 0
m=audio 1 RTP/AVP 0 8 18 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
— (10 headers 11 lines)—
Destroying call '74785b9855f5fe660639984d3631e892@192.168.13.11’
12 headers, 0 lines
Reliably Transmitting (no NAT) to 192.168.13.142:5060:
OPTIONS sip:0004f204ab54@192.168.13.142 SIP/2.0
Via: SIP/2.0/UDP 192.168.13.11:5060;branch=z9hG4bK1704a528;rport
From: “Unknown” sip:Unknown@192.168.13.11;tag=as7d7a0f35
To: sip:0004f204ab54@192.168.13.142
Contact: sip:Unknown@192.168.13.11
Call-ID: 42d5e1d47a0f15ea7d6f882126ac3876@192.168.13.11
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Tue, 12 Sep 2006 21:06:40 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Content-Length: 0
asterisk1*CLI>
<-- SIP read from 192.168.13.142:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.13.11:5060;branch=z9hG4bK1704a528;rport
From: “Unknown” sip:Unknown@192.168.13.11;tag=as7d7a0f35
To: sip:0004f204ab54@192.168.13.142;tag=70D8B5EC-E5C8B13
CSeq: 102 OPTIONS
Call-ID: 42d5e1d47a0f15ea7d6f882126ac3876@192.168.13.11
Contact: sip:0004f204ab54@192.168.13.142
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE, NOTIFY, PRACK, UPDATE, REFER
User-Agent: PolycomSoundPointIP-SPIP_501-UA/1.6.3.0067
Content-Length: 0
— (10 headers 0 lines)—
Destroying call ‘42d5e1d47a0f15ea7d6f882126ac3876@192.168.13.11’
[/code]