<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EstiloDeEmail17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EstiloDeEmail18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=PT-BR link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span lang=EN-US>Can Someone help me?<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>-------------------------------------------------------------<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>NGREP LOG<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>sps0:/# ngrep rafael@sps0.matrix.net.br -q<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>interface: eth0 (200.196.28.0/255.255.255.0)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>match: rafael@sps0.matrix.net.br<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>U 200.196.28.25:63042 ->
200.196.28.124:5060<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> REGISTER sip:sps0.matrix.net.br
SIP/2.0..Via: SIP/2.0/UDP
192.168.5.38:63042;branch=z9hG4bK-d8754z-73147a384a27ac3c-1---d8754z-;rport..Max-Forwards:
70..Contact: <sip:rafael<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
@192.168.5.38:63042;rinstance=bcdb08a4009ee386>..To:
"SPS0"<sip:rafael@sps0.matrix.net.br>..From:
"SPS0"<sip:rafael@sps0.matrix.net.br>;tag=43659358..Call-ID:
ZWVkMTRiNjQ1ZT<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
VkZTNlNmMyOGE5M2MzOTM2NTM4YmY...CSeq: 1 REGISTER..Expires: 3600..Allow: INVITE,
ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO..User-Agent:
X-Lite releas<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> e 1103d stamp 53117..Content-Length:
0....<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>U 200.196.28.124:5060 ->
200.196.28.25:63042<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> SIP/2.0 401 Unauthorized..Via:
SIP/2.0/UDP 192.168.5.38:63042;branch=z9hG4bK-d8754z-73147a384a27ac3c-1---d8754z-;rport=63042;received=200.196.28.25..To:
"SPS0"<sip:rafael@sp<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
s0.matrix.net.br>;tag=f8f2ab2c1295e90ed7dbb499b30f44b2.07e7..From:
"SPS0"<sip:rafael@sps0.matrix.net.br>;tag=43659358..Call-ID:
ZWVkMTRiNjQ1ZTVkZTNlNmMyOGE5M2MzOTM2NTM4YmY..<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> .CSeq: 1 REGISTER..WWW-Authenticate:
Digest realm="sps0.matrix.net.br",
nonce="4a68f31e000000008e5e591d36c39beb4f5939faad6d9d29"..Server:
Kamailio (1.5.1-notls (i386/linux))<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> ..Content-Length: 0....<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>U 200.196.28.25:63042 ->
200.196.28.124:5060<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> REGISTER sip:sps0.matrix.net.br
SIP/2.0..Via: SIP/2.0/UDP
192.168.5.38:63042;branch=z9hG4bK-d8754z-2209c854c438c347-1---d8754z-;rport..Max-Forwards:
70..Contact: <sip:rafael<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> @192.168.5.38:63042;rinstance=bcdb08a4009ee386>..To:
"SPS0"<sip:rafael@sps0.matrix.net.br>..From:
"SPS0"<sip:rafael@sps0.matrix.net.br>;tag=43659358..Call-ID:
ZWVkMTRiNjQ1ZT<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
VkZTNlNmMyOGE5M2MzOTM2NTM4YmY...CSeq: 2 REGISTER..Expires: 3600..Allow: INVITE,
ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO..User-Agent:
X-Lite releas<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> e 1103d stamp 53117..Authorization:
Digest
username="rafael",realm="sps0.matrix.net.br",nonce="4a68f31e000000008e5e591d36c39beb4f5939faad6d9d29",uri="sip:sps0.matrix.net.br"<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> ,response="386a15e662550d45f24bccb6cbb25494",algorithm=MD5..Content-Length:
0....<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>U 200.196.28.124:5060 ->
200.196.28.25:63042<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> SIP/2.0 200 OK..Via: SIP/2.0/UDP
192.168.5.38:63042;branch=z9hG4bK-d8754z-2209c854c438c347-1---d8754z-;rport=63042;received=200.196.28.25..To:
"SPS0"<sip:rafael@sps0.matrix.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
net.br>;tag=f8f2ab2c1295e90ed7dbb499b30f44b2.d55b..From:
"SPS0"<sip:rafael@sps0.matrix.net.br>;tag=43659358..Call-ID:
ZWVkMTRiNjQ1ZTVkZTNlNmMyOGE5M2MzOTM2NTM4YmY...CSeq: 2 R<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> EGISTER..Contact:
<sip:rafael@192.168.5.38:63042;rinstance=bcdb08a4009ee386>;expires=3600..Server:
Kamailio (1.5.1-notls (i386/linux))..Content-Length: 0....<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>U 200.196.28.25:63042 ->
200.196.28.124:5060<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> REGISTER sip:sps0.matrix.net.br
SIP/2.0..Via: SIP/2.0/UDP 192.168.5.38:63042;branch=z9hG4bK-d8754z-e552bf20e46b0448-1---d8754z-;rport..Max-Forwards:
70..Contact: <sip:rafael<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
@192.168.5.38:63042;rinstance=bcdb08a4009ee386>;expires=0..To:
"SPS0"<sip:rafael@sps0.matrix.net.br>..From:
"SPS0"<sip:rafael@sps0.matrix.net.br>;tag=43659358..Call-ID:
ZWVk<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> MTRiNjQ1ZTVkZTNlNmMyOGE5M2MzOTM2NTM4YmY...CSeq:
3 REGISTER..Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE,
SUBSCRIBE, INFO..User-Agent: X-Lite release 110<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> 3d stamp 53117..Authorization:
Digest username="rafael",realm="sps0.matrix.net.br",nonce="4a68f31e000000008e5e591d36c39beb4f5939faad6d9d29",uri="sip:sps0.matrix.net.br",resp<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
onse="386a15e662550d45f24bccb6cbb25494",algorithm=MD5..Content-Length:
0....<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>U 200.196.28.124:5060 ->
200.196.28.25:63042<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> SIP/2.0 200 OK..Via: SIP/2.0/UDP
192.168.5.38:63042;branch=z9hG4bK-d8754z-e552bf20e46b0448-1---d8754z-;rport=63042;received=200.196.28.25..To:
"SPS0"<sip:rafael@sps0.matrix.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
net.br>;tag=f8f2ab2c1295e90ed7dbb499b30f44b2.8472..From:
"SPS0"<sip:rafael@sps0.matrix.net.br>;tag=43659358..Call-ID: ZWVkMTRiNjQ1ZTVkZTNlNmMyOGE5M2MzOTM2NTM4YmY...CSeq:
3 R<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> EGISTER..Server: Kamailio
(1.5.1-notls (i386/linux))..Content-Length: 0....<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>U 200.196.28.25:63042 ->
200.196.28.124:5060<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> REGISTER sip:sps0.matrix.net.br
SIP/2.0..Via: SIP/2.0/UDP 192.168.5.38:63042;branch=z9hG4bK-d8754z-a95082141970153a-1---d8754z-;rport..Max-Forwards:
70..Contact: <sip:rafael<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> </span>@200.196.28.25:63042;rinstance=381876ea15534dcf>..To:
"SPS0"<sip:rafael@sps0.matrix.net.br>..From:
"SPS0"<sip:rafael@sps0.matrix.net.br>;tag=43659358..Call-ID:
ZWVkMTRiNjQ1Z<o:p></o:p></p>
<p class=MsoNormal> <span lang=EN-US>TVkZTNlNmMyOGE5M2MzOTM2NTM4YmY...CSeq:
4 REGISTER..Expires: 3600..Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER,
NOTIFY, MESSAGE, SUBSCRIBE, INFO..User-Agent: X-Lite relea<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> se 1103d stamp 53117..Authorization:
Digest
username="rafael",realm="sps0.matrix.net.br",nonce="4a68f31e000000008e5e591d36c39beb4f5939faad6d9d29",uri="sip:sps0.matrix.net.br<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
",response="386a15e662550d45f24bccb6cbb25494",algorithm=MD5..Content-Length:
0....<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>U 200.196.28.124:5060 -> 200.196.28.25:63042<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> SIP/2.0 200 OK..Via: SIP/2.0/UDP
192.168.5.38:63042;branch=z9hG4bK-d8754z-a95082141970153a-1---d8754z-;rport=63042;received=200.196.28.25..To:
"SPS0"<sip:rafael@sps0.matrix.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
net.br>;tag=f8f2ab2c1295e90ed7dbb499b30f44b2.26f5..From:
"SPS0"<sip:rafael@sps0.matrix.net.br>;tag=43659358..Call-ID:
ZWVkMTRiNjQ1ZTVkZTNlNmMyOGE5M2MzOTM2NTM4YmY...CSeq: 4 R<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> EGISTER..Contact:
<sip:rafael@200.196.28.25:63042;rinstance=381876ea15534dcf>;expires=3600..Server:
Kamailio (1.5.1-notls (i386/linux))..Content-Length: 0....<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>U 200.196.28.25:63042 ->
200.196.28.124:5060<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> SUBSCRIBE
sip:rafael@sps0.matrix.net.br SIP/2.0..Via: SIP/2.0/UDP
192.168.5.38:63042;branch=z9hG4bK-d8754z-7c5a2623fb530542-1---d8754z-;rport..Max-Forwards:
70..Contact: <si<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> p:rafael@200.196.28.25:63042>..To:
"SPS0"<sip:rafael@sps0.matrix.net.br>..From:
"SPS0"<sip:rafael@sps0.matrix.net.br>;tag=d1708236..Call-ID:
ZjdlZWUwNjkzM2ZmYzk1MDBkMGJmYzVk<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> YWIyZmMwM2Q...CSeq: 1
SUBSCRIBE..Expires: 300..Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER,
NOTIFY, MESSAGE, SUBSCRIBE, INFO..User-Agent: X-Lite release 1103d stamp 5311<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> 7..Event:
message-summary..Content-Length: 0....<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>U 200.196.28.124:5060 ->
200.196.28.25:63042<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> SIP/2.0 407 Proxy Authentication
Required..Via: SIP/2.0/UDP 192.168.5.38:63042;branch=z9hG4bK-d8754z-7c5a2623fb530542-1---d8754z-;rport=63042;received=200.196.28.25..To:
"SP<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
S0"<sip:rafael@sps0.matrix.net.br>;tag=f8f2ab2c1295e90ed7dbb499b30f44b2.39a7..From:
"SPS0"<sip:rafael@sps0.matrix.net.br>;tag=d1708236..Call-ID:
ZjdlZWUwNjkzM2ZmYzk1MDBkMGJm<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> YzVkYWIyZmMwM2Q...CSeq: 1
SUBSCRIBE..Proxy-Authenticate: Digest realm="sps0.matrix.net.br",
nonce="4a68f321000000012f11dfcfba5649b1bb6b23b82b0749a9"..Server:
Kamailio (1.5.1<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> -notls
(i386/linux))..Content-Length: 0....<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>U 200.196.28.25:63042 -> 200.196.28.124:5060<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> SUBSCRIBE
sip:rafael@sps0.matrix.net.br SIP/2.0..Via: SIP/2.0/UDP
192.168.5.38:63042;branch=z9hG4bK-d8754z-59288923603d7744-1---d8754z-;rport..Max-Forwards:
70..Contact: <si<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
p:rafael@200.196.28.25:63042>..To: "SPS0"<sip:rafael@sps0.matrix.net.br>..From:
"SPS0"<sip:rafael@sps0.matrix.net.br>;tag=d1708236..Call-ID:
ZjdlZWUwNjkzM2ZmYzk1MDBkMGJmYzVk<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> YWIyZmMwM2Q...CSeq: 2
SUBSCRIBE..Expires: 300..Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER,
NOTIFY, MESSAGE, SUBSCRIBE, INFO..Proxy-Authorization: Digest
username="rafae<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
l",realm="sps0.matrix.net.br",nonce="4a68f321000000012f11dfcfba5649b1bb6b23b82b0749a9",uri="sip:rafael@sps0.matrix.net.br",response="ea373d573d66ba1386711d34d96d75c1",algori<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> thm=MD5..User-Agent: X-Lite release
1103d stamp 53117..Event: message-summary..Content-Length: 0....<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>U 200.196.28.124:5060 ->
200.196.28.25:63042<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> SUBSCRIBE
sip:rafael@200.196.28.25:63042;rinstance=381876ea15534dcf
SIP/2.0..Record-Route: <sip:200.196.28.124;lr=on>..Via: SIP/2.0/UDP
200.196.28.124;branch=z9hG4bK3224.45a<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> 47c61.0..Via: SIP/2.0/UDP
192.168.5.38:63042;received=200.196.28.25;branch=z9hG4bK-d8754z-59288923603d7744-1---d8754z-;rport=63042..Max-Forwards:
69..Contact: <sip:rafael@20<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> 0.196.28.25:63042>..To:
"SPS0"<sip:rafael@sps0.matrix.net.br>..From:
"SPS0"<sip:rafael@sps0.matrix.net.br>;tag=d1708236..Call-ID:
ZjdlZWUwNjkzM2ZmYzk1MDBkMGJmYzVkYWIyZmMwM2Q<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> ...CSeq: 2 SUBSCRIBE..Expires:
300..Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE,
SUBSCRIBE, INFO..User-Agent: X-Lite release 1103d stamp 53117..Event: m<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> essage-summary..Content-Length:
0....<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>U 200.196.28.25:63042 ->
200.196.28.124:5060<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> SIP/2.0 489 Event Package Not
Supported..Via: SIP/2.0/UDP 200.196.28.124;branch=z9hG4bK3224.45a47c61.0..Via:
SIP/2.0/UDP 192.168.5.38:63042;received=200.196.28.25;branch=z9h<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
G4bK-d8754z-59288923603d7744-1---d8754z-;rport=63042..To:
"SPS0"<sip:rafael@sps0.matrix.net.br>;tag=be58b818..From:
"SPS0"<sip:rafael@sps0.matrix.net.br>;tag=d1708236..Call-<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> ID: ZjdlZWUwNjkzM2ZmYzk1MDBkMGJmYzVkYWIyZmMwM2Q...CSeq:
2 SUBSCRIBE..User-Agent: X-Lite release 1103d stamp 53117..Content-Length:
0....<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>U 200.196.28.124:5060 ->
200.196.28.25:63042<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> SIP/2.0 489 Event Package Not
Supported..Via: SIP/2.0/UDP 192.168.5.38:63042;received=200.196.28.25;branch=z9hG4bK-d8754z-59288923603d7744-1---d8754z-;rport=63042..To:
"SPS0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
"<sip:rafael@sps0.matrix.net.br>;tag=be58b818..From:
"SPS0"<sip:rafael@sps0.matrix.net.br>;tag=d1708236..Call-ID:
ZjdlZWUwNjkzM2ZmYzk1MDBkMGJmYzVkYWIyZmMwM2Q...CSeq: 2 SUBSC<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> RIBE..User-Agent: X-Lite release
1103d stamp 53117..Content-Length: 0....<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>U 200.196.28.25:63042 ->
200.196.28.124:5060<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> INVITE
sip:551133239212@sps0.matrix.net.br SIP/2.0..Via: SIP/2.0/UDP
192.168.5.38:63042;branch=z9hG4bK-d8754z-a957a2771c264219-1---d8754z-;rport..Max-Forwards:
70..Contact:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
<sip:rafael@200.196.28.25:63042>..To:
"551133239212"<sip:551133239212@sps0.matrix.net.br>..From:
"SPS0"<sip:rafael@sps0.matrix.net.br>;tag=b45cd830..Call-ID:
NzNiNzc0YzhkNTJ<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> mYWE1ZWNmYzcwZGNlMzQ3NDc5ZDU...CSeq:
1 INVITE..Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE,
SUBSCRIBE, INFO..Content-Type: application/sdp..User-Agent:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> X-Lite release 1103d stamp
53117..Content-Length: 361....v=0..o=- 7 2 IN IP4 192.168.5.38..s=CounterPath
X-Lite 3.0..c=IN IP4 192.168.5.38..t=0 0..m=audio 8934 RTP/AVP 107 0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> </span>8 101..a=alt:1 3 :
b2cv/jrI CAiY+XUC 192.168.5.38 8934..a=alt:2 2 : oUZIn8S0 Uq5tdU9E 192.168.52.1
8934..a=alt:3 1 : Z8/DE0ry qIvXPCKF 192.168.228.1 8934..a=fmtp:101 0-15..<o:p></o:p></p>
<p class=MsoNormal> <span lang=EN-US>a=rtpmap:107 BV32/16000..a=rtpmap:101
telephone-event/8000..a=sendrecv..<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>U 200.196.28.124:5060 ->
200.196.28.25:63042<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> SIP/2.0 407 Proxy Authentication
Required..Via: SIP/2.0/UDP 192.168.5.38:63042;branch=z9hG4bK-d8754z-a957a2771c264219-1---d8754z-;rport=63042;received=200.196.28.25..To:
"55<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
1133239212"<sip:551133239212@sps0.matrix.net.br>;tag=f8f2ab2c1295e90ed7dbb499b30f44b2.e355..From:
"SPS0"<sip:rafael@sps0.matrix.net.br>;tag=b45cd830..Call-ID:
NzNiNzc0YzhkNT<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
JmYWE1ZWNmYzcwZGNlMzQ3NDc5ZDU...CSeq: 1 INVITE..Proxy-Authenticate: Digest
realm="sps0.matrix.net.br",
nonce="4a68f32800000002a304ed8610abc47da56bdc29957a394d"..Server:
Kama<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> ilio (1.5.1-notls
(i386/linux))..Content-Length: 0....<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>U 200.196.28.25:63042 ->
200.196.28.124:5060<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> ACK
sip:551133239212@sps0.matrix.net.br SIP/2.0..Via: SIP/2.0/UDP
192.168.5.38:63042;branch=z9hG4bK-d8754z-a957a2771c264219-1---d8754z-;rport..To:
"551133239212"<sip:5511332<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> 39212@sps0.matrix.net.br>;tag=f8f2ab2c1295e90ed7dbb499b30f44b2.e355..From:
"SPS0"<sip:rafael@sps0.matrix.net.br>;tag=b45cd830..Call-ID:
NzNiNzc0YzhkNTJmYWE1ZWNmYzcwZGNlMzQ3N<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> Dc5ZDU...CSeq: 1
ACK..Content-Length: 0....<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal>U 200.196.28.25:63042 -> 200.196.28.124:5060<o:p></o:p></p>
<p class=MsoNormal> INVITE sip:551133239212@sps0.matrix.net.br
SIP/2.0..Via: SIP/2.0/UDP
192.168.5.38:63042;branch=z9hG4bK-d8754z-267c082e8463a77a-1---d8754z-;rport..Max-Forwards:
70..Contact:<o:p></o:p></p>
<p class=MsoNormal> <sip:rafael@200.196.28.25:63042>..To:
"551133239212"<sip:551133239212@sps0.matrix.net.br>..From:
"SPS0"<sip:rafael@sps0.matrix.net.br>;tag=b45cd830..Call-ID:
NzNiNzc0YzhkNTJ<o:p></o:p></p>
<p class=MsoNormal> <span lang=EN-US>mYWE1ZWNmYzcwZGNlMzQ3NDc5ZDU...CSeq:
2 INVITE..Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE,
SUBSCRIBE, INFO..Content-Type: application/sdp..Proxy-Author<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> ization: Digest
username="rafael",realm="sps0.matrix.net.br",nonce="4a68f32800000002a304ed8610abc47da56bdc29957a394d",uri="sip:551133239212@sps0.matrix.net.br",response="bd0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
2426b09957f78a347036f020e4c48",algorithm=MD5..User-Agent: X-Lite release 1103d
stamp 53117..Content-Length: 361....v=0..o=- 7 2 IN IP4
192.168.5.38..s=CounterPath X-Lite 3.0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> ..c=IN IP4 192.168.5.38..t=0
0..m=audio 8934 RTP/AVP 107 0 8 101..a=alt:1 3 : b2cv/jrI CAiY+XUC 192.168.5.38
8934..a=alt:2 2 : oUZIn8S0 Uq5tdU9E 192.168.52.1 8934..a=alt:3 1<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> : Z8/DE0ry qIvXPCKF
192.168.228.1 8934..a=fmtp:101 0-15..a=rtpmap:107 BV32/16000..a=rtpmap:101
telephone-event/8000..a=sendrecv..<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>U 200.196.28.124:5060 ->
200.196.28.25:63042<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> SIP/2.0 404 Not Found..Via:
SIP/2.0/UDP 192.168.5.38:63042;branch=z9hG4bK-d8754z-267c082e8463a77a-1---d8754z-;rport=63042;received=200.196.28.25..To:
"551133239212"<sip:5511<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
33239212@sps0.matrix.net.br>;tag=bbd8f31c58bc6a3266ec5509a254d55b-2513..From:
"SPS0"<sip:rafael@sps0.matrix.net.br>;tag=b45cd830..Call-ID:
NzNiNzc0YzhkNTJmYWE1ZWNmYzcwZGNlMz<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> Q3NDc5ZDU...CSeq: 2 INVITE..Server:
Kamailio (1.5.1-notls (i386/linux))..Content-Length: 0....<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal>U 200.196.28.25:63042 -> 200.196.28.124:5060<o:p></o:p></p>
<p class=MsoNormal> ACK sip:551133239212@sps0.matrix.net.br SIP/2.0..Via:
SIP/2.0/UDP 192.168.5.38:63042;branch=z9hG4bK-d8754z-267c082e8463a77a-1---d8754z-;rport..To:
"551133239212"<sip:5511332<o:p></o:p></p>
<p class=MsoNormal>
39212@sps0.matrix.net.br>;tag=bbd8f31c58bc6a3266ec5509a254d55b-2513..From:
"SPS0"<sip:rafael@sps0.matrix.net.br>;tag=b45cd830..Call-ID:
NzNiNzc0YzhkNTJmYWE1ZWNmYzcwZGNlMzQ3N<o:p></o:p></p>
<p class=MsoNormal> <span lang=EN-US>Dc5ZDU...CSeq: 2
ACK..Content-Length: 0....<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>-------------------------------------------------------------<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>SIP LOG<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>SIP/2.0 489 Event Package Not Supported<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Via: SIP/2.0/UDP 192.168.5.38:63042;received=200.196.28.25;branch=z9hG4bK-d8754z-59288923603d7744-1---d8754z-;rport=63042<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>To:
"SPS0"<sip:rafael@sps0.matrix.net.br>;tag=be58b818<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>From:
"SPS0"<sip:rafael@sps0.matrix.net.br>;tag=d1708236<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Call-ID: ZjdlZWUwNjkzM2ZmYzk1MDBkMGJmYzVkYWIyZmMwM2Q.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>CSeq: 2 SUBSCRIBE<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>User-Agent: X-Lite release 1103d stamp
53117<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Content-Length: 0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:19 [2948]
DBG:core:_shm_resize: resize(0) called<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:19 [2948]
DBG:tm:insert_timer_unsafe: [2]: 0xafc1d4f8 (15)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:19 [2948] DBG:tm:relay_reply:
sent buf=0x8149d48: SIP/2.0 4..., shmem=0xafc1f430: SIP/2.0 4<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:19 [2948]
DBG:tm:run_trans_callbacks: trans=0xafc1d4b0, callback type 256, id 0 entered<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:19 [2948]
DBG:tm:cleanup_uac_timers: RETR/FR timers reset<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:19 [2948] DBG:tm:t_unref:
UNREF_UNSAFE: after is 0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:19 [2948]
DBG:core:destroy_avp_list: destroying list (nil)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:19 [2948]
DBG:core:receive_msg: cleaning up<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:20 [2950]
DBG:tm:utimer_routine: timer routine:4,tl=0xafc1d5fc next=(nil),
timeout=10400000<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:24 [2950]
DBG:tm:timer_routine: timer routine:2,tl=0xafc1d4f8 next=(nil), timeout=15<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:24 [2950] DBG:tm:wait_handler:
removing 0xafc1d4b0 from table<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:24 [2950] DBG:tm:delete_cell:
delete transaction 0xafc1d4b0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:24 [2950] DBG:tm:wait_handler:
done<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:25 [2946]
DBG:core:udp_rcv_loop: probing packet received from 200.202.22.5 55325<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949] DBG:core:parse_msg:
SIP Request:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:core:parse_msg: method: <INVITE><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:core:parse_msg: uri:
<sip:551133239212@sps0.matrix.net.br><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:core:parse_msg: version: <SIP/2.0><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949] DBG:core:parse_headers:
flags=2<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:core:parse_via_param: found param type 232, <branch> =
<z9hG4bK-d8754z-a957a2771c264219-1---d8754z->; state=6<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:core:parse_via_param: found param type 235, <rport> = <n/a>;
state=17<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949] DBG:core:parse_via:
end of header reached, state=5<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:core:parse_headers: via found, flags=2<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:core:parse_headers: this is the first via<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:core:receive_msg: After parse_msg...<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:core:receive_msg: preparing to run routing scripts...<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:core:parse_headers: flags=100<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:maxfwd:is_maxfwd_present: value = 70<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:core:parse_headers: flags=8<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949] DBG:core:parse_to:
end of header reached, state=10<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949] DBG:core:parse_to:
display={"551133239212"}, ruri={sip:551133239212@sps0.matrix.net.br}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:core:get_hdr_field: <To> [53]; uri=[sip:551133239212@sps0.matrix.net.br]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:core:get_hdr_field: to body
["551133239212"<sip:551133239212@sps0.matrix.net.br><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:siputils:has_totag: no totag<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:core:parse_headers: flags=78<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:core:get_hdr_field: cseq <CSeq>: <1> <INVITE><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:tm:t_lookup_request: start searching: hash=24133, isACK=0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:tm:matching_3261: RFC3261 transaction matching failed<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:tm:t_lookup_request: no transaction found<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:core:parse_to_param: tag=b45cd830<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949] DBG:core:parse_to:
end of header reached, state=29<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949] DBG:core:parse_to:
display={"SPS0"}, ruri={sip:rafael@sps0.matrix.net.br}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:core:grep_sock_info: checking if host==us: 18==9 &&
[sps0.matrix.net.br] == [127.0.0.1]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:core:grep_sock_info: checking if port 5060 matches port 5060<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:core:grep_sock_info: checking if host==us: 18==14 &&
[sps0.matrix.net.br] == [200.196.28.124]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:core:grep_sock_info: checking if port 5060 matches port 5060<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:core:grep_sock_info: checking if host==us: 18==9 &&
[sps0.matrix.net.br] == [127.0.0.1]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:core:grep_sock_info: checking if port 5060 matches port 5060<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:core:grep_sock_info: checking if host==us: 18==14 &&
[sps0.matrix.net.br] == [200.196.28.124]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:core:grep_sock_info: checking if port 5060 matches port 5060<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:core:grep_sock_info: no match for: [sps0.matrix.net.br:5060]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:core:grep_aliases: comparing host [0:sps0.matrix.net.br:5060] with us
[2:sps0.matrix.net.br:5060]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:core:grep_aliases: match found for: [0:sps0.matrix.net.br:5060]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949] DBG:core:check_self:
host == me<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949] DBG:core:parse_headers:
flags=10000<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:core:get_hdr_field: content_length=361<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:core:get_hdr_field: found end of header<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949] DBG:auth:pre_auth:
credentials with given realm not found<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949] DBG:auth:reserve_nonce_index:
second= 16, sec_monit= -1, index= 2<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:auth:build_auth_hf: nonce index= 2<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:auth:build_auth_hf: 'Proxy-Authenticate: Digest
realm="sps0.matrix.net.br", nonce="4a68f32800000002a304ed8610abc47da56bdc29957a394d"<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>'<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949] DBG:sl:send_reply:
reply in stateless mode (sl)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:core:parse_headers: flags=ffffffffffffffff<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:core:check_via_address: params 200.196.28.25, 192.168.5.38, 0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:core:destroy_avp_list: destroying list (nil)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2949]
DBG:core:receive_msg: cleaning up<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2947] DBG:core:parse_msg:
SIP Request:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2947]
DBG:core:parse_msg: method: <ACK><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2947]
DBG:core:parse_msg: uri:
<sip:551133239212@sps0.matrix.net.br><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2947]
DBG:core:parse_msg: version: <SIP/2.0><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2947]
DBG:core:parse_headers: flags=2<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2947] DBG:core:parse_via_param:
found param type 232, <branch> =
<z9hG4bK-d8754z-a957a2771c264219-1---d8754z->; state=6<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2947]
DBG:core:parse_via_param: found param type 235, <rport> = <n/a>;
state=17<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2947] DBG:core:parse_via:
end of header reached, state=5<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2947]
DBG:core:parse_headers: via found, flags=2<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2947]
DBG:core:parse_headers: this is the first via<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2947]
DBG:core:receive_msg: After parse_msg...<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2947] DBG:core:receive_msg:
preparing to run routing scripts...<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2947]
DBG:core:parse_headers: flags=8<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2947]
DBG:core:parse_to_param: tag=f8f2ab2c1295e90ed7dbb499b30f44b2.e355<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2947] DBG:core:parse_to:
end of header reached, state=29<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2947] DBG:core:parse_to:
display={"551133239212"}, ruri={sip:551133239212@sps0.matrix.net.br}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2947]
DBG:core:get_hdr_field: <To> [95];
uri=[sip:551133239212@sps0.matrix.net.br]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2947] DBG:core:get_hdr_field:
to body ["551133239212"<sip:551133239212@sps0.matrix.net.br>]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2947]
DBG:sl:sl_filter_ACK: local ACK found -> dropping it!<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2947]
DBG:core:destroy_avp_list: destroying list (nil)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:26 [2947] DBG:core:receive_msg:
cleaning up<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946] DBG:core:parse_msg:
SIP Request:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:parse_msg: method: <INVITE><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:parse_msg: uri:
<sip:551133239212@sps0.matrix.net.br><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:parse_msg: version: <SIP/2.0><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:parse_headers: flags=2<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:parse_via_param: found param type 232, <branch> =
<z9hG4bK-d8754z-267c082e8463a77a-1---d8754z->; state=6<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:parse_via_param: found param type 235, <rport> = <n/a>;
state=17<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946] DBG:core:parse_via:
end of header reached, state=5<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:parse_headers: via found, flags=2<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946] DBG:core:parse_headers:
this is the first via<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:receive_msg: After parse_msg...<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:receive_msg: preparing to run routing scripts...<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:parse_headers: flags=100<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:maxfwd:is_maxfwd_present: value = 70<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:parse_headers: flags=8<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946] DBG:core:parse_to:
end of header reached, state=10<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946] DBG:core:parse_to:
display={"551133239212"}, ruri={sip:551133239212@sps0.matrix.net.br}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:get_hdr_field: <To> [53];
uri=[sip:551133239212@sps0.matrix.net.br]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:get_hdr_field: to body
["551133239212"<sip:551133239212@sps0.matrix.net.br><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:siputils:has_totag: no totag<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:parse_headers: flags=78<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:get_hdr_field: cseq <CSeq>: <2> <INVITE><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:tm:t_lookup_request: start searching: hash=24130, isACK=0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:tm:matching_3261: RFC3261 transaction matching failed<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:tm:t_lookup_request: no transaction found<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:parse_to_param: tag=b45cd830<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946] DBG:core:parse_to:
end of header reached, state=29<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946] DBG:core:parse_to:
display={"SPS0"}, ruri={sip:rafael@sps0.matrix.net.br}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:grep_sock_info: checking if host==us: 18==9 &&
[sps0.matrix.net.br] == [127.0.0.1]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:grep_sock_info: checking if port 5060 matches port 5060<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:grep_sock_info: checking if host==us: 18==14 &&
[sps0.matrix.net.br] == [200.196.28.124]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:grep_sock_info: checking if port 5060 matches port 5060<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:grep_sock_info: checking if host==us: 18==9 &&
[sps0.matrix.net.br] == [127.0.0.1]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:grep_sock_info: checking if port 5060 matches port 5060<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946] DBG:core:grep_sock_info:
checking if host==us: 18==14 && [sps0.matrix.net.br] ==
[200.196.28.124]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:grep_sock_info: checking if port 5060 matches port 5060<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:grep_sock_info: no match for: [sps0.matrix.net.br:5060]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:grep_aliases: comparing host [0:sps0.matrix.net.br:5060] with us
[2:sps0.matrix.net.br:5060]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:grep_aliases: match found for: [0:sps0.matrix.net.br:5060]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946] DBG:core:check_self:
host == me<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:parse_headers: flags=10000<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:auth:check_nonce: comparing
[4a68f32800000002a304ed8610abc47da56bdc29957a394d] and
[4a68f32800000002a304ed8610abc47da56bdc29957a394d]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:db_new_result: allocate 28 bytes for result set at 0x814db68<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:db_mysql:db_mysql_get_columns: 1 columns returned from the query<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:db_allocate_columns: allocate 4 bytes for result names at 0x8145e18<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:db_allocate_columns: allocate 4 bytes for result types at 0x8149f50<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:db_mysql:db_mysql_get_columns: allocate 8 bytes for RES_NAMES[0] at
0x8149798<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x8149798)[0]=[password]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:db_allocate_rows: allocate 8 bytes for rows at 0x8149c70<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:db_allocate_row: allocate 20 bytes for row values at 0x813e0c0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946] DBG:core:db_str2val:
converting STRING [rmg25788]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946] DBG:auth_db:get_ha1:
HA1 string calculated: 25eb28681da92677e1e02a0e83d6f255<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:auth:check_response: our result = 'bd02426b09957f78a347036f020e4c48'<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:auth:check_response: authorization is OK<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946] DBG:auth:post_auth:
nonce index= 2<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946] DBG:core:db_free_columns:
freeing 1 columns<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:db_free_columns: freeing RES_NAMES[0] at 0x8149798<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:db_free_columns: freeing result names at 0x8145e18<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:db_free_columns: freeing result types at 0x8149f50<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:db_free_rows: freeing 1 rows<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:db_free_row: freeing row values at 0x813e0c0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:db_free_rows: freeing rows at 0x8149c70<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:db_free_result: freeing result set at 0x814db68<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:parse_headers: flags=14000<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:get_hdr_field: content_length=361<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:get_hdr_field: found end of header<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:comp_scriptvar: str 29 : rafael<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:grep_sock_info: checking if host==us: 18==9 &&
[sps0.matrix.net.br] == [127.0.0.1]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:grep_sock_info: checking if port 5060 matches port 5060<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:grep_sock_info: checking if host==us: 18==14 &&
[sps0.matrix.net.br] == [200.196.28.124]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:grep_sock_info: checking if port 5060 matches port 5060<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946] DBG:core:grep_sock_info:
checking if host==us: 18==9 && [sps0.matrix.net.br] ==
[127.0.0.1]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:grep_sock_info: checking if port 5060 matches port 5060<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:grep_sock_info: checking if host==us: 18==14 &&
[sps0.matrix.net.br] == [200.196.28.124]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:grep_sock_info: checking if port 5060 matches port 5060<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:grep_sock_info: no match for: [sps0.matrix.net.br:5060]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946] DBG:core:grep_aliases:
comparing host [0:sps0.matrix.net.br:5060] with us [2:sps0.matrix.net.br:5060]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:grep_aliases: match found for: [0:sps0.matrix.net.br:5060]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946] DBG:core:check_self:
host == me<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:registrar:lookup: '551133239212' Not found in usrloc<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946] DBG:tm:t_newtran:
transaction on entrance=(nil)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:parse_headers: flags=ffffffffffffffff<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:parse_headers: flags=78<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:tm:t_lookup_request: start searching: hash=24130, isACK=0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:tm:matching_3261: RFC3261 transaction matching failed<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:tm:t_lookup_request: no transaction found<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:tm:run_reqin_callbacks: trans=0xafc1d4b0, callback type 1, id 0 entered<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:parse_headers: flags=78<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:parse_headers: flags=ffffffffffffffff<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:check_via_address: params 200.196.28.25, 192.168.5.38, 0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:_shm_resize: resize(0) called<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:tm:cleanup_uac_timers: RETR/FR timers reset<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946] DBG:tm:set_timer:
relative timeout is 500000<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:tm:insert_timer_unsafe: [4]: 0xafc1d578 (17700000)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946] DBG:tm:set_timer:
relative timeout is 30<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:tm:insert_timer_unsafe: [0]: 0xafc1d594 (47)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946] DBG:tm:_reply_light:
reply sent out. buf=0x814ddf8: SIP/2.0 4..., shmem=0xafc1f148: SIP/2.0 4<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:tm:run_trans_callbacks: trans=0xafc1d4b0, callback type 256, id 0 entered<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946] DBG:tm:_reply_light:
finished<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946] DBG:tm:t_unref: UNREF_UNSAFE:
after is 0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:destroy_avp_list: destroying list (nil)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2946]
DBG:core:receive_msg: cleaning up<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2948] DBG:core:parse_msg:
SIP Request:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2948]
DBG:core:parse_msg: method: <ACK><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2948]
DBG:core:parse_msg: uri:
<sip:551133239212@sps0.matrix.net.br><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2948]
DBG:core:parse_msg: version: <SIP/2.0><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2948]
DBG:core:parse_headers: flags=2<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2948] DBG:core:parse_via_param:
found param type 232, <branch> =
<z9hG4bK-d8754z-267c082e8463a77a-1---d8754z->; state=6<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2948]
DBG:core:parse_via_param: found param type 235, <rport> = <n/a>;
state=17<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2948] DBG:core:parse_via:
end of header reached, state=5<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2948]
DBG:core:parse_headers: via found, flags=2<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2948]
DBG:core:parse_headers: this is the first via<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2948]
DBG:core:receive_msg: After parse_msg...<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2948] DBG:core:receive_msg:
preparing to run routing scripts...<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2948]
DBG:core:parse_headers: flags=8<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2948]
DBG:core:parse_to_param: tag=bbd8f31c58bc6a3266ec5509a254d55b-2513<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2948] DBG:core:parse_to:
end of header reached, state=29<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2948] DBG:core:parse_to:
display={"551133239212"}, ruri={sip:551133239212@sps0.matrix.net.br}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2948]
DBG:core:get_hdr_field: <To> [95];
uri=[sip:551133239212@sps0.matrix.net.br]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2948] DBG:core:get_hdr_field:
to body ["551133239212"<sip:551133239212@sps0.matrix.net.br>]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2948]
DBG:core:parse_headers: flags=100<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2948]
DBG:core:get_hdr_field: cseq <CSeq>: <2> <ACK><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2948]
DBG:core:get_hdr_field: content_length=0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2948]
DBG:core:get_hdr_field: found end of header<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2948]
DBG:maxfwd:is_maxfwd_present: max_forwards header not found!<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2948]
DBG:siputils:has_totag: totag found<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2948] DBG:core:parse_headers:
flags=200<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2948]
DBG:rr:find_first_route: No Route headers found<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2948] DBG:rr:loose_route:
There is no Route HF<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2948]
DBG:core:parse_headers: flags=78<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2948] DBG:tm:t_lookup_request:
start searching: hash=24130, isACK=1<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2948]
DBG:tm:matching_3261: RFC3261 transaction matched,
tid=-d8754z-267c082e8463a77a-1---d8754z-<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2948]
DBG:tm:t_lookup_request: REF_UNSAFE: after is 1<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2948]
DBG:tm:t_lookup_request: transaction found (T=0xafc1d4b0)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2948]
DBG:tm:cleanup_uac_timers: RETR/FR timers reset<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2948]
DBG:tm:insert_timer_unsafe: [2]: 0xafc1d4f8 (22)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2948] DBG:tm:t_unref: UNREF_UNSAFE:
after is 0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2948]
DBG:core:destroy_avp_list: destroying list (nil)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2948]
DBG:core:receive_msg: cleaning up<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:27 [2950]
DBG:tm:utimer_routine: timer routine:4,tl=0xafc1d578 next=(nil),
timeout=17700000<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:31 [2950]
DBG:tm:timer_routine: timer routine:2,tl=0xafc1d4f8 next=(nil), timeout=22<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:31 [2950] DBG:tm:wait_handler:
removing 0xafc1d4b0 from table<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:31 [2950] DBG:tm:delete_cell:
delete transaction 0xafc1d4b0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:31 [2950] DBG:tm:wait_handler:
done<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jul 23 20:32:34 [2947]
DBG:core:udp_rcv_loop: probing packet received from 200.202.22.5 55325<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>-------------------------------------------------------------<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>My Config File<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># $Id: kamailio.cfg 5800 2009-04-20 11:01:49Z
miconda $<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># Kamailio (OpenSER) SIP Server - basic
configuration script<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># - web:
http://www.kamailio.org<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># - svn:
http://openser.svn.sourceforge.net/viewvc/openser/<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># Direct your questions about this file to:
<users@lists.kamailio.org><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># Refer to the Core CookBook at
http://www.kamailio.org/dokuwiki/doku.php<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># for an explanation of possible
statements, functions and parameters.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># There are comments showing how to enable
different features in th econfig<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># file. Such commented code starts with #X#
where X is a letter to identify<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># a feature. Delete entire #X# if you want
to enable that feature. Next are<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># sed commands that help you enable such
features.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># *** To enamble mysql execute:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># sed -i 's/#m#//g'
kamailio.cfg<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># *** To enamble authentication execute:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># - enable mysql<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># sed -i 's/#a#//g'
kamailio.cfg<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># - add users using
'kamctl'<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># *** To enamble persistent user location
execute:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># - enable mysql<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># sed -i 's/#u#//g'
kamailio.cfg<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># *** To enamble presence server execute:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># - enable mysql<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># sed -i 's/#p#//g'
kamailio.cfg<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># *** To enamble nat traversal execute:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># sed -i 's/#n#//g'
kamailio.cfg<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># - install
RTPProxy: http://www.rtpproxy.org<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># - start RTPProxy:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#
rtpproxy -l _your_public_ip_ -s udp:localhost:7722<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># *** To enhance accounting execute:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># - enable mysql<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># sed -i 's/#c#//g'
kamailio.cfg<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># - add following
columns to database<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># ALTER TABLE acc ADD COLUMN src_user
VARCHAR(64) NOT NULL DEFAULT '';<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># ALTER TABLE acc ADD COLUMN src_domain
VARCHAR(128) NOT NULL DEFAULT '';<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># ALTER TABLE acc ADD COLUMN dst_ouser
VARCHAR(64) NOT NULL DEFAULT '';<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># ALTER TABLE acc ADD COLUMN dst_user
VARCHAR(64) NOT NULL DEFAULT '';<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># ALTER TABLE acc ADD COLUMN dst_domain
VARCHAR(128) NOT NULL DEFAULT '';<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># ALTER TABLE missed_calls ADD COLUMN
src_user VARCHAR(64) NOT NULL DEFAULT '';<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># ALTER TABLE missed_calls ADD COLUMN
src_domain VARCHAR(128) NOT NULL DEFAULT '';<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># ALTER TABLE missed_calls ADD COLUMN
dst_ouser VARCHAR(64) NOT NULL DEFAULT '';<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># ALTER TABLE missed_call ADD COLUMN
dst_user VARCHAR(64) NOT NULL DEFAULT '';<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># ALTER TABLE missed_calls ADD COLUMN
dst_domain VARCHAR(128) NOT NULL DEFAULT '';<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>####### Global Parameters #########<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>debug=7<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>log_stderror=yes<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>log_facility=LOG_LOCAL7<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>fork=yes<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>children=4<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/* uncomment the following lines to enable
debugging */<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#debug=6<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#fork=no<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#log_stderror=yes<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/* uncomment the next line to disable TCP
(default on) */<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#disable_tcp=yes<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/* uncomment the next line to enable the auto
temporary blacklisting of <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> not available destinations
(default disabled) */<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#disable_dns_blacklist=no<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/* uncomment the next line to enable IPv6
lookup after IPv4 dns <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> lookup failures (default
disabled) */<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#dns_try_ipv6=yes<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/* uncomment the next line to disable the
auto discovery of local aliases<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> based on revers DNS on IPs
(default on) */<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#auto_aliases=no<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/* uncomment the following lines to enable
TLS support (default off) */<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#disable_tls = no<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#listen = tls:your_IP:5061<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#tls_verify_server = 1<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#tls_verify_client = 1<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#tls_require_client_certificate = 0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#tls_method = TLSv1<o:p></o:p></span></p>
<p class=MsoNormal>#tls_certificate =
"/usr/local/etc/kamailio/tls/user/user-cert.pem"<o:p></o:p></p>
<p class=MsoNormal>#tls_private_key =
"/usr/local/etc/kamailio/tls/user/user-privkey.pem"<o:p></o:p></p>
<p class=MsoNormal>#tls_ca_list = "/usr/local/etc/kamailio/tls/user/user-calist.pem"<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span lang=EN-US>port=5060<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/* uncomment and configure the following
line if you want Kamailio to <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> bind on a specific
interface/port/proto (default bind on all available) */<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#listen=udp:192.168.1.2:5060<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>####### Modules Section ########<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#set module path<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>mpath="/usr/lib/kamailio/modules/"<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/* uncomment next line for MySQL DB support
*/<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>loadmodule "db_mysql.so"<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>loadmodule "mi_fifo.so"<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>loadmodule "sl.so"<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>loadmodule "tm.so"<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>loadmodule "rr.so"<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>loadmodule "pv.so"<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>loadmodule "maxfwd.so"<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>loadmodule "usrloc.so"<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>loadmodule "registrar.so"<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>loadmodule "textops.so"<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>loadmodule "uri_db.so"<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>loadmodule "siputils.so"<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>loadmodule "xlog.so"<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>loadmodule "acc.so"<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/* uncomment next lines for MySQL based
authentication support <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> NOTE: a DB (like db_mysql)
module must be also loaded */<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>loadmodule "auth.so"<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>loadmodule "auth_db.so"<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/* uncomment next line for aliases support<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> NOTE: a DB (like db_mysql)
module must be also loaded */<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#loadmodule "alias_db.so"<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/* uncomment next line for multi-domain
support<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> NOTE: a DB (like db_mysql)
module must be also loaded<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> NOTE: be sure and enable
multi-domain support in all used modules<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
(see "multi-module params" section ) */<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#loadmodule "domain.so"<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/* uncomment the next two lines for
presence server support<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> NOTE: a DB (like db_mysql)
module must be also loaded */<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#p#loadmodule "presence.so"<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#p#loadmodule "presence_xml.so"<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#n#loadmodule "nathelper.so"<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US># ----------------- setting module-specific
parameters ---------------<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US># ----- mi_fifo params -----<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>modparam("mi_fifo",
"fifo_name", "/tmp/kamailio_fifo")<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US># ----- rr params -----<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># add value to ;lr param to cope with most
of the UAs<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>modparam("rr",
"enable_full_lr", 1)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># do not append from tag to the RR (no need
for this script)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>modparam("rr",
"append_fromtag", 0)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US># ----- rr params -----<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>modparam("registrar",
"method_filtering", 1)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/* uncomment the next line to disable
parallel forking via location */<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># modparam("registrar",
"append_branches", 0)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/* uncomment the next line not to allow
more than 10 contacts per AOR */<o:p></o:p></span></p>
<p class=MsoNormal>#modparam("registrar", "max_contacts",
10)<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal># ----- uri_db params -----<o:p></o:p></p>
<p class=MsoNormal><span lang=EN-US>/* by default we disable the DB support in
the module as we do not need it<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> in this configuration */<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>modparam("uri_db",
"use_uri_table", 0)<o:p></o:p></span></p>
<p class=MsoNormal>modparam("uri_db", "db_url",
"")<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span lang=EN-US># ----- acc params -----<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/* what sepcial events should be accounted
? */<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>modparam("acc",
"early_media", 1)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>modparam("acc",
"report_ack", 1)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>modparam("acc",
"report_cancels", 1)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/* by default ww do not adjust the direct
of the sequential requests.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> if you enable this parameter,
be sure the enable "append_fromtag"<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> in "rr" module */<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>modparam("acc",
"detect_direction", 0)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/* account triggers (flags) */<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>modparam("acc",
"failed_transaction_flag", 3)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>modparam("acc", "log_flag",
1)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>modparam("acc",
"log_missed_flag", 2)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>modparam("acc",
"log_extra", <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
"src_user=$fU;src_domain=$fd;dst_ouser=$tU;dst_user=$rU;dst_domain=$rd")<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/* uncomment the following lines to enable
DB accounting also */<o:p></o:p></span></p>
<p class=MsoNormal>#c#modparam("acc", "db_flag", 1)<o:p></o:p></p>
<p class=MsoNormal><span lang=EN-US>#c#modparam("acc",
"db_missed_flag", 2)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#c#modparam("domain",
"db_url",<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#c#
"mysql://openser:openserrw@localhost/openser")<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#c#modparam("acc",
"db_extra",<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#c#
"src_user=$fU;src_domain=$fd;dst_ouser=$tU;dst_user=$rU;dst_domain=$rd")<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US># ----- usrloc params -----<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/* uncomment the following lines if you
want to enable DB persistency<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> for location entries */<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>modparam("usrloc",
"db_mode", 2)<o:p></o:p></span></p>
<p class=MsoNormal>modparam("usrloc", "db_url",<o:p></o:p></p>
<p class=MsoNormal>
"mysql://root:mypassword@localhost/openser")<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span lang=EN-US># ----- auth_db params -----<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/* uncomment the following lines if you
want to enable the DB based<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> authentication */<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>modparam("auth_db",
"calculate_ha1", yes)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>modparam("auth_db",
"password_column", "password")<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>modparam("auth_db",
"db_url",<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
"mysql://root:mypassword@localhost/openser")<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>modparam("auth_db",
"load_credentials", "")<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US># ----- alias_db params -----<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/* uncomment the following lines if you
want to enable the DB based<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> </span>aliases */<o:p></o:p></p>
<p class=MsoNormal>#modparam("alias_db", "db_url",<o:p></o:p></p>
<p class=MsoNormal>#
"mysql://openser:openserrw@localhost/openser")<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span lang=EN-US># ----- domain params -----<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/* uncomment the following lines to enable
multi-domain detection<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> support */<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#modparam("domain",
"db_url",<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#
"mysql://openser:openserrw@localhost/openser")<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#modparam("domain",
"db_mode", 1) # Use caching<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US># ----- multi-module params -----<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/* uncomment the following line if you want
to enable multi-domain support<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> in the modules (dafault off)
*/<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#modparam("alias_db|auth_db|usrloc|uri_db",
"use_domain", 1)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US># ----- presence params -----<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/* uncomment the following lines if you
want to enable presence */<o:p></o:p></span></p>
<p class=MsoNormal>#p#modparam("presence|presence_xml",
"db_url",<o:p></o:p></p>
<p class=MsoNormal>#p#
"mysql://openser:openserrw@localhost/openser")<o:p></o:p></p>
<p class=MsoNormal><span lang=EN-US>#p#modparam("presence_xml",
"force_active", 1)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#p#modparam("presence",
"server_address", "sip:192.168.1.2:5060")<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US># -- nathelper<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#n#modparam("nathelper",
"rtpproxy_sock", "udp:127.0.0.1:7722")<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#n#modparam("nathelper",
"natping_interval", 30)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#n#modparam("nathelper",
"ping_nated_only", 1)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#n#modparam("nathelper", "sipping_bflag",
7)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#n#modparam("nathelper",
"sipping_from", "sip:pinger@kamailio.org")<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#n#modparam("registrar|nathelper",
"received_avp", "$avp(i:80)")<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#n#modparam("usrloc",
"nat_bflag", 6)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>####### Routing Logic ########<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US># main request routing logic<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>route{<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
if (!mf_process_maxfwd_header("10")) {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
sl_send_reply("483","Too Many Hops");<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
exit;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
# NAT detection<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
route(4);<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
if (has_totag()) {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
# sequential request withing a dialog should<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
# take the path determined by record-routing<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
if (loose_route()) {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
if (is_method("BYE")) {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
setflag(1); # do accounting ...<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
setflag(3); # ... even if the transaction fails<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
route(1);<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
} else {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
if (is_method("SUBSCRIBE") && uri == myself) {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
# in-dialog subscribe requests<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
route(2);<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
exit;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
if ( is_method("ACK") ) {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
if ( t_check_trans() ) {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
# non loose-route, but stateful ACK; must be an ACK after a 487 or e.g. 404
from upstream server<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
t_relay();<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
exit;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
} else {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
# ACK without matching transaction ... ignore and discard.\n");<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
exit;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
sl_send_reply("404","Not here");<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
exit;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
#initial requests<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
# CANCEL processing<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
if (is_method("CANCEL"))<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
{<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
if (t_check_trans())<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
t_relay();<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
exit;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
t_check_trans();<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
# authentication<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
route(3);<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
# record routing<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
if (!is_method("REGISTER|MESSAGE"))<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
record_route();<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
# account only INVITEs<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
if (is_method("INVITE")) {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
setflag(1); # do accounting<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
if (!uri==myself)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
/* replace with following line if multi-domain support is used */<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
##if (!is_uri_host_local())<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
{<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
append_hf("P-hint: outbound\r\n"); <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
# if you have some interdomain connections via TLS<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
##if($rd=="tls_domain1.net") {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
## t_relay("tls:domain1.net");<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
## exit;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
##} else if($rd=="tls_domain2.net") {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
## t_relay("tls:domain2.net");<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
## exit;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
##}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
route(1);<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
# requests for my domain<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
if( is_method("PUBLISH|SUBSCRIBE"))<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
route(2);<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
if (is_method("REGISTER"))<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
{<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
if (!save("location"))<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
sl_reply_error();<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
exit;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
if ($rU==NULL) {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
# request with no Username in RURI<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
sl_send_reply("484","Address Incomplete");<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
exit;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
# apply DB based aliases (uncomment to enable)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
##alias_db_lookup("dbaliases");<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
if (!lookup("location")) {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
switch ($retcode) {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
case -1:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
case -3:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
t_newtran();<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
t_reply("404", "Not Found");<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
exit;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
case -2:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
sl_send_reply("405", "Method Not Allowed");<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
exit;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
# when routing via usrloc, log the missed calls also<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
setflag(2);<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
route(1);<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>route[1] {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#n#
if (check_route_param("nat=yes")) {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#n#
setbflag(6);<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#n#
}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#n#
if (isflagset(5) || isbflagset(6)) {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#n#
route(5);<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#n#
}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
/* example how to enable some additional event routes */<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
if (is_method("INVITE")) {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
#t_on_branch("1");<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
t_on_reply("1");<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
t_on_failure("1");<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
if (!t_relay()) {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
sl_reply_error();<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
exit;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US># Presence route<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/* uncomment the whole following route for
enabling presence server */<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>route[2]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>{<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#p#
if (!t_newtran())<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#p#
{<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#p#
sl_reply_error();<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#p#
exit;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#p#
};<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#p#<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#p#
if(is_method("PUBLISH"))<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#p#
{<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#p#
handle_publish();<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#p#
t_release();<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#p#
}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#p#
else<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#p#
if( is_method("SUBSCRIBE"))<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#p#
{<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#p#
handle_subscribe();<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#p#
t_release();<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#p#
}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#p#
exit;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
# if presence enabled, this part will not be executed<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
if (is_method("PUBLISH") || $rU==null)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
{<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
sl_send_reply("404", "Not here");<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
exit;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
return;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US># Authentication route<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/* uncomment the whole following route for
enabling authentication */<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>route[3] {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
if (is_method("REGISTER"))<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
{<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
# authenticate the REGISTER requests (uncomment to enable auth)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
if (!www_authorize("", "subscriber"))<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
{<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
www_challenge("", "0");<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
exit;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
if ($au!=$tU) <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
{<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
sl_send_reply("403","Forbidden auth ID");<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
exit;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
} else {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
# authenticate if from local subscriber (uncomment to enable auth)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
if (from_uri==myself)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
{<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
if (!proxy_authorize("", "subscriber")) {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
proxy_challenge("", "0");<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
exit;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
if (is_method("PUBLISH"))<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
{<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
if ($au!=$tU) {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
sl_send_reply("403","Forbidden auth ID");<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
exit;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
} else {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
if ($au!=$fU) {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
sl_send_reply("403","Forbidden auth ID");<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
exit;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
consume_credentials();<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
# caller authenticated<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
return;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US># Caller NAT detection route<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/* uncomment the whole following route for
enabling Caller NAT Detection */<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>route[4]{<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#n#
force_rport();<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#n#
if (nat_uac_test("19")) {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#n#
if (method=="REGISTER") {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#n#
fix_nated_register();<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#n#
} else {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#n#
fix_nated_contact();<o:p></o:p></span></p>
<p class=MsoNormal>#n#
}<o:p></o:p></p>
<p class=MsoNormal>#n#
setflag(5);<o:p></o:p></p>
<p class=MsoNormal>#n# }<o:p></o:p></p>
<p class=MsoNormal>
return;<o:p></o:p></p>
<p class=MsoNormal><span lang=EN-US>}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US># RTPProxy control<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/* uncomment the whole following route for
enabling RTPProxy Control */<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>route[5] {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#n#
if (is_method("BYE")) {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#n#
unforce_rtp_proxy();<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#n#
} else if (is_method("INVITE")){<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#n#
force_rtp_proxy();<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#n#
}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#n#
if (!has_totag()) add_rr_param(";nat=yes");<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
return;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>branch_route[1] {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
xdbg("new branch at $ru\n");<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>onreply_route[1] {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
xdbg("incoming reply\n");<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#n#
if ((isflagset(5) || isbflagset(6)) &&
status=~"(183)|(2[0-9][0-9])") {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#n#
force_rtp_proxy();<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#n#
}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#n#
if (isbflagset(6)) {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#n#
fix_nated_contact();<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#n#
}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>failure_route[1] {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#n#
if (is_method("INVITE)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#n#
&& (isbflagset(6) || isflagset(5))) {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#n#
unforce_rtp_proxy();<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#n#
}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
if (t_was_cancelled()) {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
exit;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
# uncomment the following lines if you want to block client <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
# redirect based on 3xx replies.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
##if (t_check_status("3[0-9][0-9]")) {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
##t_reply("404","Not found");<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
## exit;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
##}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
# uncomment the following lines if you want to redirect the failed <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
# calls to a different new destination<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
##if (t_check_status("486|408")) {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
##
sethostport("192.168.2.100:5060");<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
## append_branch();<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
## # do not set the
missed call flag again<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
## t_relay();<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
##}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>-------------------------------------------------------------<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>kamctl lcr show<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>lcr routes<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>+----+--------+----------+--------+----------+<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>| id | prefix | from_uri | grp_id |
priority |<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>+----+--------+----------+--------+----------+<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>| 3 | +1
|
| 1 | 1
|<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>| 4 | +55
|
| 1 | 1
|<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>+----+--------+----------+--------+----------+<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>lcr gateways<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>+---------+----------------+----------+------+------------+-----------+--------+-------+------+-------+--------+------+<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>| gw_name |
ip_addr | hostname | port |
uri_scheme | transport | grp_id | strip | tag | flags | weight | ping |<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>+---------+----------------+----------+------+------------+-----------+--------+-------+------+-------+--------+------+<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>| MERAI | 66.165.166.236
| | 5061
| 1
| 2
| 1 | 0
| | 0
| 1 | 0 |<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>| MERAII | 66.165.166.237
| | 5061
| 1
| 2
| 1 | 0 |
| 0 | 1
| 0 |<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>+---------+----------------+----------+------+------------+-----------+--------+-------+------+-------+--------+------+<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>-------------------------------------------------------------<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>kamctl dispatcher show<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>dispatcher gateways<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>+----+-------+-------------------------+-------+----------+-------------+<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>| id | setid |
destination
| flags | priority | description |<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>+----+-------+-------------------------+-------+----------+-------------+<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>| 2 | 1 |
sip:66.165.166.236:5061 | 1
| 1 |
MERA |<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>| 3 | 2 |
sip:66.165.166.237:5061 | 3
| 0 |
MERAII |<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>+----+-------+-------------------------+-------+----------+-------------+<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Rafael Moreno<o:p></o:p></span></p>
<p class=MsoNormal><b><span lang=EN-US>Matrix Telecom<o:p></o:p></span></b></p>
<p class=MsoNormal><span lang=EN-US>www.matrixtelecom.net.br / <b>Phone:</b> 55<b>.</b>11<b>.</b>3323-9207<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
</div>
</body>
</html>