So I made a 30 second phone call to a land line and left a message. Pretty sure the audio dropped since the answering machine hung up on me.
192.168.10.22 is the asterisk server and 192.168.10.28 is the spa922 with extensions 2600
-bash-3.2# ngrep 192.168.10.28 port 5060
interface: eth0 (192.168.10.0/255.255.255.0)
filter: (ip) and ( port 5060 )
match: 192.168.10.28
U 192.168.10.28:5061 -> 192.168.10.22:5060
INVITE sip:[email protected] SIP/2.0..Via: SIP/2.0/UDP 192.168.10.28:5061;branch=z9hG4bK-7d740b67;rport..From: <sip:[email protected]>;tag=208e964033
b553b7o0..To: <sip:[email protected]>..Call-ID: [email protected]: 101 INVITE..Max-Forwards: 70..Contact: <sip:[email protected]:5
061>..Expires: 240..User-Agent: Linksys/SPA922-6.1.5(a)..Content-Length: 401..Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER..Supported: re
places..Content-Type: application/sdp....v=0..o=- 24625784 24625784 IN IP4 192.168.10.28..s=-..c=IN IP4 192.168.10.28..t=0 0..m=audio 16440 RTP/AVP 0 2 4
8 18 96 97 98 101..a=rtpmap:0 PCMU/8000..a=rtpmap:2 G726-32/8000..a=rtpmap:4 G723/8000..a=rtpmap:8 PCMA/8000..a=rtpmap:18 G729a/8000..a=rtpmap:96 G726-40/
8000..a=rtpmap:97 G726-24/8000..a=rtpmap:98 G726-16/8000..a=rtpmap:101 telephone-event/8000..a=fmtp:101 0-15..a=ptime:30..a=sendrecv..
#
U 192.168.10.22:5060 -> 192.168.10.28:5061
SIP/2.0 401 Unauthorized..Via: SIP/2.0/UDP 192.168.10.28:5061;branch=z9hG4bK-7d740b67;received=192.168.10.28;rport=5061..From: <sip:[email protected]>;ta
g=208e964033b553b7o0..To: <sip:[email protected]>;tag=as159b9130..Call-ID: [email protected]: 101 INVITE..Server: FPBX-2.8.1(1.8.2)
..Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH..Supported: replaces, timer..WWW-Authenticate: Digest algorithm=MD5, r
ealm="asterisk", nonce="6c4109ed"..Content-Length: 0....
#
U 192.168.10.28:5061 -> 192.168.10.22:5060
ACK sip:[email protected] SIP/2.0..Via: SIP/2.0/UDP 192.168.10.28:5061;branch=z9hG4bK-7d740b67;rport..From: <sip:[email protected]>;tag=208e964033b55
3b7o0..To: <sip:[email protected]>;tag=as159b9130..Call-ID: [email protected]: 101 ACK..Max-Forwards: 70..Contact: <sip:[email protected]
8.10.28:5061>..User-Agent: Linksys/SPA922-6.1.5(a)..Content-Length: 0....
#
U 192.168.10.28:5061 -> 192.168.10.22:5060
INVITE sip:[email protected] SIP/2.0..Via: SIP/2.0/UDP 192.168.10.28:5061;branch=z9hG4bK-3f1a6b47;rport..From: <sip:[email protected]>;tag=208e964033
b553b7o0..To: <sip:[email protected]>..Call-ID: [email protected]: 102 INVITE..Max-Forwards: 70..Authorization: Digest username="26
00",realm="asterisk",nonce="6c4109ed",uri="sip:[email protected]",algorithm=MD5,response="c08cb5bfffd058dc8517c854937432b2"..Contact: <sip:[email protected]
8.10.28:5061>..Expires: 240..User-Agent: Linksys/SPA922-6.1.5(a)..Content-Length: 401..Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER..Supp
orted: replaces..Content-Type: application/sdp....v=0..o=- 24625784 24625784 IN IP4 192.168.10.28..s=-..c=IN IP4 192.168.10.28..t=0 0..m=audio 16440 RTP/A
VP 0 2 4 8 18 96 97 98 101..a=rtpmap:0 PCMU/8000..a=rtpmap:2 G726-32/8000..a=rtpmap:4 G723/8000..a=rtpmap:8 PCMA/8000..a=rtpmap:18 G729a/8000..a=rtpmap:96
G726-40/8000..a=rtpmap:97 G726-24/8000..a=rtpmap:98 G726-16/8000..a=rtpmap:101 telephone-event/8000..a=fmtp:101 0-15..a=ptime:30..a=sendrecv..
#
U 192.168.10.22:5060 -> 192.168.10.28:5061
SIP/2.0 100 Trying..Via: SIP/2.0/UDP 192.168.10.28:5061;branch=z9hG4bK-3f1a6b47;received=192.168.10.28;rport=5061..From: <sip:[email protected]>;tag=208e
964033b553b7o0..To: <sip:[email protected]>..Call-ID: [email protected]: 102 INVITE..Server: FPBX-2.8.1(1.8.2)..Allow: INVITE, ACK,
CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH..Supported: replaces, timer..Contact: <sip:[email protected]:5060>..Content-Length: 0..
..
#
U 192.168.10.22:5060 -> 192.168.10.28:5061
SIP/2.0 183 Session Progress..Via: SIP/2.0/UDP 192.168.10.28:5061;branch=z9hG4bK-3f1a6b47;received=192.168.10.28;rport=5061..From: <sip:[email protected]
>;tag=208e964033b553b7o0..To: <sip:[email protected]>;tag=as776ff54f..Call-ID: [email protected]: 102 INVITE..Server: FPBX-2.8.1(1.
8.2)..Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH..Supported: replaces, timer..Contact: <sip:[email protected]:5
060>..Content-Type: application/sdp..Content-Length: 305....v=0..o=root 266103694 266103694 IN IP4 192.168.10.22..s=Asterisk PBX 1.8.2..c=IN IP4 192.168.1
0.22..t=0 0..m=audio 15202 RTP/AVP 0 8 18 101..a=rtpmap:0 PCMU/8000..a=rtpmap:8 PCMA/8000..a=rtpmap:18 G729/8000..a=fmtp:18 annexb=no..a=rtpmap:101 teleph
one-event/8000..a=fmtp:101 0-16..a=ptime:20..a=sendrecv..
#############
U 192.168.10.28:5061 -> 192.168.10.22:5060
NOTIFY sip:192.168.10.22 SIP/2.0..Via: SIP/2.0/UDP 192.168.10.28:5061;branch=z9hG4bK-8dc4ad0b;rport..From: <sip:[email protected]>;tag=84ea475db01dcf56o0
..To: <sip:192.168.10.22>..Call-ID: [email protected]: 16406 NOTIFY..Max-Forwards: 70..Contact: <sip:[email protected]:5061>..Event:
keep-alive..User-Agent: Linksys/SPA922-6.1.5(a)..Content-Length: 0....
#
U 192.168.10.22:5060 -> 192.168.10.28:5061
SIP/2.0 200 OK..Via: SIP/2.0/UDP 192.168.10.28:5061;branch=z9hG4bK-8dc4ad0b;received=192.168.10.28;rport=5061..From: <sip:[email protected]>;tag=84ea475d
b01dcf56o0..To: <sip:192.168.10.22>;tag=as0971749e..Call-ID: [email protected]: 16406 NOTIFY..Server: FPBX-2.8.1(1.8.2)..Allow: INVITE
, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH..Supported: replaces, timer..Content-Length: 0....
######################
U 192.168.10.22:5060 -> 192.168.10.28:5061
SIP/2.0 200 OK..Via: SIP/2.0/UDP 192.168.10.28:5061;branch=z9hG4bK-3f1a6b47;received=192.168.10.28;rport=5061..From: <sip:[email protected]>;tag=208e9640
33b553b7o0..To: <sip:[email protected]>;tag=as776ff54f..Call-ID: [email protected]: 102 INVITE..Server: FPBX-2.8.1(1.8.2)..Allow: I
NVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH..Supported: replaces, timer..Contact: <sip:[email protected]:5060>..Content-
Type: application/sdp..Content-Length: 305....v=0..o=root 266103694 266103695 IN IP4 192.168.10.22..s=Asterisk PBX 1.8.2..c=IN IP4 192.168.10.22..t=0 0..m
=audio 15202 RTP/AVP 0 8 18 101..a=rtpmap:0 PCMU/8000..a=rtpmap:8 PCMA/8000..a=rtpmap:18 G729/8000..a=fmtp:18 annexb=no..a=rtpmap:101 telephone-event/8000
..a=fmtp:101 0-16..a=ptime:20..a=sendrecv..
#
U 192.168.10.28:5061 -> 192.168.10.22:5060
ACK sip:[email protected]:5060 SIP/2.0..Via: SIP/2.0/UDP 192.168.10.28:5061;branch=z9hG4bK-6f6dbc15;rport..From: <sip:[email protected]>;tag=208e9640
33b553b7o0..To: <sip:[email protected]>;tag=as776ff54f..Call-ID: [email protected]: 102 ACK..Max-Forwards: 70..Authorization: Diges
t username="2600",realm="asterisk",nonce="6c4109ed",uri="sip:[email protected]",algorithm=MD5,response="c08cb5bfffd058dc8517c854937432b2"..Contact: <s
ip:[email protected]:5061>..User-Agent: Linksys/SPA922-6.1.5(a)..Content-Length: 0....
#
U 192.168.10.28:5061 -> 192.168.10.22:5060
NOTIFY sip:192.168.10.22 SIP/2.0..Via: SIP/2.0/UDP 192.168.10.28:5061;branch=z9hG4bK-f51de872;rport..From: <sip:[email protected]>;tag=84ea475db01dcf56o0
..To: <sip:192.168.10.22>..Call-ID: [email protected]: 16407 NOTIFY..Max-Forwards: 70..Contact: <sip:[email protected]:5061>..Event:
keep-alive..User-Agent: Linksys/SPA922-6.1.5(a)..Content-Length: 0....
#
U 192.168.10.22:5060 -> 192.168.10.28:5061
SIP/2.0 200 OK..Via: SIP/2.0/UDP 192.168.10.28:5061;branch=z9hG4bK-f51de872;received=192.168.10.28;rport=5061..From: <sip:[email protected]>;tag=84ea475d
b01dcf56o0..To: <sip:192.168.10.22>;tag=as0971749e..Call-ID: [email protected]: 16407 NOTIFY..Server: FPBX-2.8.1(1.8.2)..Allow: INVITE
, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH..Supported: replaces, timer..Content-Length: 0....
#################
U 192.168.10.28:5061 -> 192.168.10.22:5060
NOTIFY sip:192.168.10.22 SIP/2.0..Via: SIP/2.0/UDP 192.168.10.28:5061;branch=z9hG4bK-fea1e596;rport..From: <sip:[email protected]>;tag=84ea475db01dcf56o0
..To: <sip:192.168.10.22>..Call-ID: [email protected]: 16408 NOTIFY..Max-Forwards: 70..Contact: <sip:[email protected]:5061>..Event:
keep-alive..User-Agent: Linksys/SPA922-6.1.5(a)..Content-Length: 0....
#
U 192.168.10.22:5060 -> 192.168.10.28:5061
SIP/2.0 200 OK..Via: SIP/2.0/UDP 192.168.10.28:5061;branch=z9hG4bK-fea1e596;received=192.168.10.28;rport=5061..From: <sip:[email protected]>;tag=84ea475d
b01dcf56o0..To: <sip:192.168.10.22>;tag=as0971749e..Call-ID: [email protected]: 16408 NOTIFY..Server: FPBX-2.8.1(1.8.2)..Allow: INVITE
, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH..Supported: replaces, timer..Content-Length: 0....
#
U 192.168.10.22:5060 -> 192.168.10.28:5061
OPTIONS sip:[email protected]:5061 SIP/2.0..Via: SIP/2.0/UDP 192.168.10.22:5060;branch=z9hG4bK55f6a2e7;rport..Max-Forwards: 70..From: "Unknown" <sip:Unkn
[email protected]>;tag=as23306105..To: <sip:[email protected]:5061>..Contact: <sip:[email protected]:5060>..Call-ID: 2301e1b5473f82dd276da2fa33e2f7de
@192.168.10.22:5060..CSeq: 102 OPTIONS..User-Agent: FPBX-2.8.1(1.8.2)..Date: Fri, 25 Feb 2011 01:56:04 GMT..Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFE
R, SUBSCRIBE, NOTIFY, INFO, PUBLISH..Supported: replaces, timer..Content-Length: 0....
#
U 192.168.10.28:5061 -> 192.168.10.22:5060
SIP/2.0 200 OK..To: <sip:[email protected]:5061>;tag=b9f42129b732dffai0..From: "Unknown" <sip:[email protected]>;tag=as23306105..Call-ID: 2301e1b5473
[email protected]:5060..CSeq: 102 OPTIONS..Via: SIP/2.0/UDP 192.168.10.22:5060;branch=z9hG4bK55f6a2e7;rport=5060..Server: Linksys/SPA922
-6.1.5(a)..Content-Length: 0..Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER..Supported: replaces....
###########################
U 192.168.10.28:5061 -> 192.168.10.22:5060
BYE sip:[email protected]:5060 SIP/2.0..Via: SIP/2.0/UDP 192.168.10.28:5061;branch=z9hG4bK-64476ee9;rport..From: <sip:[email protected]>;tag=208e9640
33b553b7o0..To: <sip:[email protected]>;tag=as776ff54f..Call-ID: [email protected]: 103 BYE..Max-Forwards: 70..Authorization: Diges
t username="2600",realm="asterisk",nonce="6c4109ed",uri="sip:[email protected]:5060",algorithm=MD5,response="72fb53380ee3899dbc186ee7a08b3211"..User-A
gent: Linksys/SPA922-6.1.5(a)..Content-Length: 0....
#
U 192.168.10.22:5060 -> 192.168.10.28:5061
SIP/2.0 200 OK..Via: SIP/2.0/UDP 192.168.10.28:5061;branch=z9hG4bK-64476ee9;received=192.168.10.28;rport=5061..From: <sip:[email protected]>;tag=208e9640
33b553b7o0..To: <sip:[email protected]>;tag=as776ff54f..Call-ID: [email protected]: 103 BYE..Server: FPBX-2.8.1(1.8.2)..Allow: INVI
TE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH..Supported: replaces, timer..Content-Length: 0....
##########
U 192.168.10.28:5061 -> 192.168.10.22:5060
NOTIFY sip:192.168.10.22 SIP/2.0..Via: SIP/2.0/UDP 192.168.10.28:5061;branch=z9hG4bK-b7d9bf68;rport..From: <sip:[email protected]>;tag=84ea475db01dcf56o0
..To: <sip:192.168.10.22>..Call-ID: [email protected]: 16409 NOTIFY..Max-Forwards: 70..Contact: <sip:[email protected]:5061>..Event:
keep-alive..User-Agent: Linksys/SPA922-6.1.5(a)..Content-Length: 0....
#
U 192.168.10.22:5060 -> 192.168.10.28:5061
SIP/2.0 200 OK..Via: SIP/2.0/UDP 192.168.10.28:5061;branch=z9hG4bK-b7d9bf68;received=192.168.10.28;rport=5061..From: <sip:[email protected]>;tag=84ea475d
b01dcf56o0..To: <sip:192.168.10.22>;tag=as0971749e..Call-ID: [email protected]: 16409 NOTIFY..Server: FPBX-2.8.1(1.8.2)..Allow: INVITE
, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH..Supported: replaces, timer..Content-Length: 0....
####exit
115 received, 0 dropped
Does this help?