rendered paste bodyentry in sip_buddies:
| id | name | accountcode | amaflags | callgroup | callerid | canreinvite | context | defaultip | dtmfmode | fromuser | fromdomain | fullcontact | host | insecure | language | mailbox | md5secret | nat | deny | permit | mask | pickupgroup | port | qualify | restrictcid | rtptimeout | rtpholdtimeout | secret | type | username | disallow | allow | musiconhold | regseconds | ipaddr | regexten | cancallforward | setvar |
+-----+------+-------------+----------+-----------+----------+-------------+---------+-----------+----------+----------+------------+-------------+---------+----------+----------+---------+-----------+-----+------+--------+------+-------------+------+---------+-------------+------------+----------------+--------+--------+----------+----------+-------------------------+-------------+------------+---------------+----------+----------------+--------+
| 104 | PSTN | NULL | NULL | NULL | | yes | default | NULL | NULL | NULL | NULL | NULL | dynamic | NULL | NULL | | NULL | no | NULL | NULL | NULL | NULL | 5060 | NULL | NULL | NULL | NULL | | friend | 7001 | all | g729;ilbc;gsm;ulaw;alaw | NULL | 0 | 10.200.82.115 | | yes | |
+-----+------+-------------+----------+-----------+----------+-------------+---------+-----------+----------+----------+------------+-------------+---------+----------+----------+---------+-----------+-----+------+--------+------+-------------+------+---------+-------------+------------+----------------+--------+--------+----------+----------+-------------------------+-------------+------------+---------------+----------+----------------+--------+
from logs:
Mar 13 13:55:32 VERBOSE[4492] logger.c:
<-- SIP read from 10.200.82.115:50792:
INVITE sip:4050@10.200.82.116:5060 SIP/2.0
Via: SIP/2.0/UDP 10.200.82.115:5060
From: <sip:4050@10.200.82.115>;tag=537CECB8-1D34
To: <sip:4050@10.200.82.116>
Date: Mon, 17 Jan 2000 05:04:53 GMT
Call-ID: 777FD976-CBD211D3-9E6C8E35-E77D95C6@10.200.82.115
Supported: timer,100rel
Min-SE: 1800
Cisco-Guid: 2004827470-3419541971-2657717813-3883767238
User-Agent: Cisco-SIPGateway/IOS-12.x
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER, SUBSCRIBE, NOTIFY, INFO
CSeq: 101 INVITE
Max-Forwards: 6
Remote-Party-ID: <sip:4050@10.200.82.115>;party=calling;screen=no;privacy=off
Timestamp: 948085493
Contact: <sip:4050@10.200.82.115:5060>
Expires: 180
Allow-Events: telephone-event
Content-Type: application/sdp
Content-Length: 297
v=0
o=CiscoSystemsSIP-GW-UserAgent 7174 2894 IN IP4 10.200.82.115
s=SIP Call
c=IN IP4 10.200.82.115
t=0 0
m=audio 17106 RTP/AVP 18 101 19
c=IN IP4 10.200.82.115
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtpmap:19 CN/8000
a=ptime:60
Mar 13 13:55:32 VERBOSE[4492] logger.c: --- (20 headers 13 lines)Mar 13 13:55:32 VERBOSE[4492] logger.c: --- (20 headers 13 lines)---
Mar 13 13:55:32 VERBOSE[4492] logger.c: Using INVITE request as basis request - 777FD976-CBD211D3-9E6C8E35-E77D95C6@10.200.82.115
Mar 13 13:55:32 VERBOSE[4492] logger.c: Sending to 10.200.82.115 : 5060 (non-NAT)
Mar 13 13:55:32 VERBOSE[4492] logger.c: Reliably Transmitting (no NAT) to 10.200.82.115:5060:
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 10.200.82.115:5060;received=10.200.82.115
From: <sip:4050@10.200.82.115>;tag=537CECB8-1D34
To: <sip:4050@10.200.82.116>;tag=as2e836b70
Call-ID: 777FD976-CBD211D3-9E6C8E35-E77D95C6@10.200.82.115
CSeq: 101 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: <sip:4050@10.200.82.116>
Proxy-Authenticate: Digest realm="asterisk", nonce="79050763"
Content-Length: 0
---
Mar 13 13:55:32 VERBOSE[4492] logger.c: Scheduling destruction of call '777FD976-CBD211D3-9E6C8E35-E77D95C6@10.200.82.115' in 15000 ms
Mar 13 13:55:32 VERBOSE[4492] logger.c: Found user '4050'
Mar 13 13:55:32 VERBOSE[4492] logger.c:
<-- SIP read from 10.200.82.115:50792:
ACK sip:4050@10.200.82.116:5060 SIP/2.0
Via: SIP/2.0/UDP 10.200.82.115:5060
From: <sip:4050@10.200.82.115>;tag=537CECB8-1D34
To: <sip:4050@10.200.82.116>;tag=as2e836b70
Date: Mon, 17 Jan 2000 05:04:53 GMT
Call-ID: 777FD976-CBD211D3-9E6C8E35-E77D95C6@10.200.82.115
Max-Forwards: 6
Content-Length: 0
CSeq: 101 ACK
Mar 13 13:55:32 VERBOSE[4492] logger.c: --- (9 headers 0 lines)Mar 13 13:55:32 VERBOSE[4492] logger.c: --- (9 headers 0 lines)---