<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-9">
<META content="MSHTML 6.00.2900.2604" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Below is my last config, again when i try to call
other number , 8333490056 for example , SIP2SIP connection happens and there's
no problem. Also 8333490056 can call me from 8334843600 but when i try to call
905353490056 for example or other number 902323747366 which is my home number i
can't call again.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Here's captured stuff with ngrep with command
(</FONT><FONT face=Arial size=2><A
href="mailto:root@sipproxy/ngrep">root@sipproxy/ngrep</A>> ngrep 8333490056@
port 5060)</FONT></DIV><FONT face=Arial size=2>
<DIV><BR>interface: eth0 (212.154.104.196/255.255.255.252)<BR>filter: ip and (
port 5060 )<BR>match: 8333490056@<BR>#<BR>U 212.154.104.198:5060 ->
212.154.32.154:5060<BR> REGISTER sip:212.154.104.198:5060
SIP/2.0..Record-Route: <sip:212.154.104.1<BR>
98;ftag=xETM4kDMxED;lr=on>..Via: SIP/2.0/UDP
212.154.104.198;branch=z9hG4bK<BR> f4dc.948a7de7.0..Via: SIP/2.0/UDP
85.98.22.67:5060;branch=z9hG4bKba8f27b4d9<BR> b2aa07..From:
<sip:8333490056@212.154.104.198>;tag=xETM4kDMxED..To: <sip:83<BR>
<A
href="mailto:33490056@212.154.104.198>..Call-ID">33490056@212.154.104.198>..Call-ID</A>:
<A
href="mailto:6951B1111341111@85.98.22.67..CSeq">6951B1111341111@85.98.22.67..CSeq</A>:
213<BR> REGISTER..Contact:
<sip:8333490056@85.98.22.67:5060>..Max-Forwards: 69..Exp<BR> ires:
60..Content-Length: 0....<BR>#<BR>U 212.154.104.198:5060 ->
212.154.32.154:5060<BR> REGISTER sip:212.154.104.198:5060
SIP/2.0..Record-Route: <sip:212.154.104.1<BR>
98;ftag=xETM4kDMxED;lr=on>..Record-Route:
<sip:212.154.104.198;ftag=xetm4kd<BR> mxed;lr=on>..Via: SIP/2.0/UDP
212.154.104.198;branch=z9hG4bKf4dc.a48a7de7.0<BR> ..Via: SIP/2.0/UDP
212.154.32.154:5060..Via: SIP/2.0/UDP 212.154.104.198;br<BR>
anch=z9hG4bKf4dc.948a7de7.0..Via: SIP/2.0/UDP
85.98.22.67:5060;branch=z9hG4<BR> bKba8f27b4d9b2aa07..From:
<sip:8333490056@212.154.104.198>;tag=xETM4kDMxED.<BR> .To:
<sip:8333490056@212.154.104.198>..Call-ID: <A
href="mailto:6951B1111341111@85.98.22.67">6951B1111341111@85.98.22.67</A><BR>
..CSeq: 213 REGISTER..Contact:
<sip:8333490056@85.98.22.67:5060>..Max-Forwa<BR> rds: 67..Expires:
60..Content-Length: 0....<BR>###<BR>U 212.154.32.154:5060 ->
212.154.104.198:5060<BR> REGISTER sip:212.154.104.198:5060
SIP/2.0..Record-Route: <sip:212.154.104.1<BR>
98;ftag=xetm4kdmxed;lr=on>..Via: SIP/2.0/UDP 212.154.32.154:5060..Via:
SIP/<BR> 2.0/UDP 212.154.104.198;branch=z9hG4bKf4dc.948a7de7.0..Via:
SIP/2.0/UDP 85.<BR> 98.22.67:5060;branch=z9hG4bKba8f27b4d9b2aa07..From:
<sip:8333490056@212.154<BR> .104.198>;tag=xETM4kDMxED..To:
<sip:8333490056@212.154.104.198>..Call-ID: 6<BR> <A
href="mailto:951B1111341111@85.98.22.67..CSeq">951B1111341111@85.98.22.67..CSeq</A>:
213 REGISTER..Contact: <sip:8333490056@85<BR>
.98.22.67:5060>..Max-Forwards: 68..Expires: 60..Content-Length:
0....<BR>#<BR>U 212.154.104.198:5060 -> 212.154.32.154:5060<BR> SIP/2.0
200 OK..Record-Route:
<sip:212.154.104.198;ftag=xetm4kdmxed;lr=on>.<BR> .Via: SIP/2.0/UDP
212.154.32.154:5060..Via: SIP/2.0/UDP 212.154.104.198;bra<BR>
nch=z9hG4bKf4dc.948a7de7.0..Via: SIP/2.0/UDP
85.98.22.67:5060;branch=z9hG4b<BR> Kba8f27b4d9b2aa07..From:
<sip:8333490056@212.154.104.198>;tag=xETM4kDMxED..<BR> To:
<sip:8333490056@212.154.104.198>;tag=b27e1a1d33761e85846fc98f5f3a7e58.5<BR>
a9f..Call-ID: <A
href="mailto:6951B1111341111@85.98.22.67..CSeq">6951B1111341111@85.98.22.67..CSeq</A>:
213 REGISTER..Contact: <si<BR>
p:8333490056@85.98.22.67:5060>;q=0.00;expires=60..Server: Sip EXpress
route<BR> r (0.8.14 (i386/linux))..Content-Length: 0..Warning: 392
212.154.104.198:50<BR> 60 "Noisy feedback tells: pid=5894
req_src_ip=212.154.32.154 req_src_port=<BR> 5060
in_uri=sip:212.154.104.198:5060 out_uri=sip:212.154.104.198:5060 via_c<BR>
nt==3"....<BR>#<BR>U 212.154.32.154:5060 -> 212.154.104.198:5060<BR>
REGISTER sip:212.154.104.198:5060 SIP/2.0..Record-Route:
<sip:212.154.104.1<BR> 98;ftag=xetm4kdmxed;lr=on>..Record-Route:
<sip:212.154.104.198;ftag=xetm4kd<BR> mxed;lr=on>..Via: SIP/2.0/UDP
212.154.32.154:5060..Via: SIP/2.0/UDP 212.154<BR>
.104.198;branch=z9hG4bKf4dc.a48a7de7.0..Via: SIP/2.0/UDP
212.154.32.154:506<BR> 0..Via: SIP/2.0/UDP
212.154.104.198;branch=z9hG4bKf4dc.948a7de7.0..Via: SIP<BR> /2.0/UDP
85.98.22.67:5060;branch=z9hG4bKba8f27b4d9b2aa07..From: <sip:833349<BR>
<A
href="mailto:0056@212.154.104.198>;tag=xETM4kDMxED..To">0056@212.154.104.198>;tag=xETM4kDMxED..To</A>:
<sip:8333490056@212.154.104.198><BR> ..Call-ID: <A
href="mailto:6951B1111341111@85.98.22.67..CSeq">6951B1111341111@85.98.22.67..CSeq</A>:
213 REGISTER..Contact: <sip:8<BR> <A
href="mailto:333490056@85.98.22.67:5060>..Max-Forwards">333490056@85.98.22.67:5060>..Max-Forwards</A>:
66..Expires: 60..Content-Length:<BR> 0....<BR>#<BR>U
212.154.104.198:5060 -> 212.154.32.154:5060<BR> SIP/2.0 200
OK..Record-Route: <sip:212.154.104.198;ftag=xetm4kdmxed;lr=on>.<BR>
.Record-Route: <sip:212.154.104.198;ftag=xetm4kdmxed;lr=on>..Via:
SIP/2.0/U<BR> DP 212.154.32.154:5060..Via: SIP/2.0/UDP
212.154.104.198;branch=z9hG4bKf4dc<BR> .a48a7de7.0..Via: SIP/2.0/UDP
212.154.32.154:5060..Via: SIP/2.0/UDP 212.154<BR>
.104.198;branch=z9hG4bKf4dc.948a7de7.0..Via: SIP/2.0/UDP
85.98.22.67:5060;b<BR> ranch=z9hG4bKba8f27b4d9b2aa07..From:
<sip:8333490056@212.154.104.198>;tag=x<BR> ETM4kDMxED..To:
<sip:8333490056@212.154.104.198>;tag=b27e1a1d33761e85846fc9<BR>
8f5f3a7e58.5a9f..Call-ID: <A
href="mailto:6951B1111341111@85.98.22.67..CSeq">6951B1111341111@85.98.22.67..CSeq</A>:
213 REGISTER..<BR> Contact:
<sip:8333490056@85.98.22.67:5060>;q=0.00;expires=60..Server: Sip
E<BR> Xpress router (0.8.14 (i386/linux))..Content-Length: 0..Warning: 392
212.15<BR> 4.104.198:5060 "Noisy feedback tells: pid=5891
req_src_ip=212.154.32.154 r<BR> eq_src_port=5060
in_uri=sip:212.154.104.198:5060 out_uri=sip:212.154.104.19<BR> 8:5060
via_cnt==5"....<BR>#####<BR>U 212.154.104.198:5060 ->
212.154.32.154:5060<BR> REGISTER sip:212.154.104.198:5060
SIP/2.0..Record-Route: <sip:212.154.104.1<BR>
98;ftag=xETM4kDMxED;lr=on>..Via: SIP/2.0/UDP
212.154.104.198;branch=z9hG4bK<BR> f4dc.948a7de7.0..Via: SIP/2.0/UDP
85.98.22.67:5060;branch=z9hG4bKba8f27b4d9<BR> b2aa07..From:
<sip:8333490056@212.154.104.198>;tag=xETM4kDMxED..To: <sip:83<BR>
<A
href="mailto:33490056@212.154.104.198>..Call-ID">33490056@212.154.104.198>..Call-ID</A>:
<A
href="mailto:6951B1111341111@85.98.22.67..CSeq">6951B1111341111@85.98.22.67..CSeq</A>:
213<BR> REGISTER..Contact:
<sip:8333490056@85.98.22.67:5060>..Max-Forwards: 69..Exp<BR> ires:
60..Content-Length: 0....<BR>#<BR>U 212.154.104.198:5060 ->
212.154.32.154:5060<BR> REGISTER sip:212.154.104.198:5060
SIP/2.0..Record-Route: <sip:212.154.104.1<BR>
98;ftag=xETM4kDMxED;lr=on>..Record-Route:
<sip:212.154.104.198;ftag=xetm4kd<BR> mxed;lr=on>..Via: SIP/2.0/UDP
212.154.104.198;branch=z9hG4bKf4dc.a48a7de7.0<BR> ..Via: SIP/2.0/UDP
212.154.32.154:5060..Via: SIP/2.0/UDP 212.154.104.198;br<BR>
anch=z9hG4bKf4dc.948a7de7.0..Via: SIP/2.0/UDP
85.98.22.67:5060;branch=z9hG4<BR> bKba8f27b4d9b2aa07..From:
<sip:8333490056@212.154.104.198>;tag=xETM4kDMxED.<BR> .To:
<sip:8333490056@212.154.104.198>..Call-ID: <A
href="mailto:6951B1111341111@85.98.22.67">6951B1111341111@85.98.22.67</A><BR>
..CSeq: 213 REGISTER..Contact:
<sip:8333490056@85.98.22.67:5060>..Max-Forwa<BR> rds: 67..Expires:
60..Content-Length: 0....<BR>###<BR>U 212.154.32.154:5060 ->
212.154.104.198:5060<BR> REGISTER sip:212.154.104.198:5060
SIP/2.0..Record-Route: <sip:212.154.104.1<BR>
98;ftag=xetm4kdmxed;lr=on>..Via: SIP/2.0/UDP 212.154.32.154:5060..Via:
SIP/<BR> 2.0/UDP 212.154.104.198;branch=z9hG4bKf4dc.948a7de7.0..Via:
SIP/2.0/UDP 85.<BR> 98.22.67:5060;branch=z9hG4bKba8f27b4d9b2aa07..From:
<sip:8333490056@212.154<BR> .104.198>;tag=xETM4kDMxED..To:
<sip:8333490056@212.154.104.198>..Call-ID: 6<BR> <A
href="mailto:951B1111341111@85.98.22.67..CSeq">951B1111341111@85.98.22.67..CSeq</A>:
213 REGISTER..Contact: <sip:8333490056@85<BR>
.98.22.67:5060>..Max-Forwards: 68..Expires: 60..Content-Length:
0....<BR>#<BR>U 212.154.104.198:5060 -> 212.154.32.154:5060<BR> SIP/2.0
200 OK..Record-Route:
<sip:212.154.104.198;ftag=xetm4kdmxed;lr=on>.<BR> .Via: SIP/2.0/UDP
212.154.32.154:5060..Via: SIP/2.0/UDP 212.154.104.198;bra<BR>
nch=z9hG4bKf4dc.948a7de7.0..Via: SIP/2.0/UDP
85.98.22.67:5060;branch=z9hG4b<BR> Kba8f27b4d9b2aa07..From:
<sip:8333490056@212.154.104.198>;tag=xETM4kDMxED..<BR> To:
<sip:8333490056@212.154.104.198>;tag=b27e1a1d33761e85846fc98f5f3a7e58.5<BR>
a9f..Call-ID: <A
href="mailto:6951B1111341111@85.98.22.67..CSeq">6951B1111341111@85.98.22.67..CSeq</A>:
213 REGISTER..Contact: <si<BR>
p:8333490056@85.98.22.67:5060>;q=0.00;expires=60..Server: Sip EXpress
route<BR> r (0.8.14 (i386/linux))..Content-Length: 0..Warning: 392
212.154.104.198:50<BR> 60 "Noisy feedback tells: pid=5893
req_src_ip=212.154.32.154 req_src_port=<BR> 5060
in_uri=sip:212.154.104.198:5060 out_uri=sip:212.154.104.198:5060 via_c<BR>
nt==3"....<BR>#<BR>U 212.154.32.154:5060 -> 212.154.104.198:5060<BR>
REGISTER sip:212.154.104.198:5060 SIP/2.0..Record-Route:
<sip:212.154.104.1<BR> 98;ftag=xetm4kdmxed;lr=on>..Record-Route:
<sip:212.154.104.198;ftag=xetm4kd<BR> mxed;lr=on>..Via: SIP/2.0/UDP
212.154.32.154:5060..Via: SIP/2.0/UDP 212.154<BR>
.104.198;branch=z9hG4bKf4dc.a48a7de7.0..Via: SIP/2.0/UDP
212.154.32.154:506<BR> 0..Via: SIP/2.0/UDP
212.154.104.198;branch=z9hG4bKf4dc.948a7de7.0..Via: SIP<BR> /2.0/UDP
85.98.22.67:5060;branch=z9hG4bKba8f27b4d9b2aa07..From: <sip:833349<BR>
<A
href="mailto:0056@212.154.104.198>;tag=xETM4kDMxED..To">0056@212.154.104.198>;tag=xETM4kDMxED..To</A>:
<sip:8333490056@212.154.104.198><BR> ..Call-ID: <A
href="mailto:6951B1111341111@85.98.22.67..CSeq">6951B1111341111@85.98.22.67..CSeq</A>:
213 REGISTER..Contact: <sip:8<BR> <A
href="mailto:333490056@85.98.22.67:5060>..Max-Forwards">333490056@85.98.22.67:5060>..Max-Forwards</A>:
66..Expires: 60..Content-Length:<BR> 0....<BR>#<BR>U
212.154.104.198:5060 -> 212.154.32.154:5060<BR> SIP/2.0 200
OK..Record-Route: <sip:212.154.104.198;ftag=xetm4kdmxed;lr=on>.<BR>
.Record-Route: <sip:212.154.104.198;ftag=xetm4kdmxed;lr=on>..Via:
SIP/2.0/U<BR> DP 212.154.32.154:5060..Via: SIP/2.0/UDP
212.154.104.198;branch=z9hG4bKf4dc<BR> .a48a7de7.0..Via: SIP/2.0/UDP
212.154.32.154:5060..Via: SIP/2.0/UDP 212.154<BR>
.104.198;branch=z9hG4bKf4dc.948a7de7.0..Via: SIP/2.0/UDP
85.98.22.67:5060;b<BR> ranch=z9hG4bKba8f27b4d9b2aa07..From:
<sip:8333490056@212.154.104.198>;tag=x<BR> ETM4kDMxED..To:
<sip:8333490056@212.154.104.198>;tag=b27e1a1d33761e85846fc9<BR>
8f5f3a7e58.5a9f..Call-ID: <A
href="mailto:6951B1111341111@85.98.22.67..CSeq">6951B1111341111@85.98.22.67..CSeq</A>:
213 REGISTER..<BR> Contact:
<sip:8333490056@85.98.22.67:5060>;q=0.00;expires=60..Server: Sip
E<BR> Xpress router (0.8.14 (i386/linux))..Content-Length: 0..Warning: 392
212.15<BR> 4.104.198:5060 "Noisy feedback tells: pid=5888
req_src_ip=212.154.32.154 r<BR> eq_src_port=5060
in_uri=sip:212.154.104.198:5060 out_uri=sip:212.154.104.19<BR> 8:5060
via_cnt==5"....<BR>#####<BR>U 85.96.192.140:5060 ->
212.154.104.198:5060<BR> INVITE sip:8333490056@212.154.104.198
SIP/2.0..Via: SIP/2.0/UDP 85.96.192.1<BR>
40:5060;branch=z9hG4bKe3458b19d858bfb4..Max-Forwards: 70..To:
<sip:83334900<BR> <A
href="mailto:56@212.154.104.198>..From">56@212.154.104.198>..From</A>:
<sip:8334843600@212.154.104.198;user=phone>;tag=<BR>
xIzNzMDMxID..Call-ID: <A
href="mailto:712D1B911761212@192.168.0.101..CSeq">712D1B911761212@192.168.0.101..CSeq</A>:
1 INVITE..Contac<BR> t:
<sip:8334843600@85.96.192.140:5060>..Session-Expires:
100;refresher=uac.<BR> .Supported: timer..Content-Type:
application/sdp..Content-Length: 191....v=<BR> 0..o=8334843600 0 0 IN IP4
192.168.0.101..s=-..c=IN IP4 85.96.192.140..t=0<BR> 0..m=audio 15036
RTP/AVP 18 18..a=rtpmap:18 G729/8000..a=sendrecv..a=rtpmap<BR> :18
G729/8000..a=sendrecv..a=ptime:20..<BR>#<BR>U 212.154.104.198:5060 ->
85.96.192.140:5060<BR> SIP/2.0 100 trying -- your call is important to
us..Via: SIP/2.0/UDP 85.96.<BR>
192.140:5060;branch=z9hG4bKe3458b19d858bfb4..To:
<sip:8333490056@212.154.10<BR> 4.198>..From:
<sip:8334843600@212.154.104.198;user=phone>;tag=xIzNzMDMxID..<BR>
Call-ID: <A
href="mailto:712D1B911761212@192.168.0.101..CSeq">712D1B911761212@192.168.0.101..CSeq</A>:
1 INVITE..Server: Sip EXpress<BR> router (0.8.14
(i386/linux))..Content-Length: 0..Warning: 392 212.154.104.<BR> 198:5060
"Noisy feedback tells: pid=5893 req_src_ip=85.96.192.140
req_src_<BR> port=5060 in_uri=sip:8333490056@212.154.104.198
out_uri=sip:8333490056@85.9<BR> 8.22.67:5060 via_cnt==1"....<BR>#<BR>U
212.154.104.198:5060 -> 85.98.22.67:5060<BR> INVITE
sip:8333490056@85.98.22.67:5060 SIP/2.0..Record-Route:
<sip:83334900<BR> <A
href="mailto:56@212.154.104.198;ftag=xIzNzMDMxID;lr=on>..Via">56@212.154.104.198;ftag=xIzNzMDMxID;lr=on>..Via</A>:
SIP/2.0/UDP 212.154.104.19<BR> 8;branch=z9hG4bKa017.13855ff.0..Via:
SIP/2.0/UDP 85.96.192.140:5060;branch=<BR>
z9hG4bKe3458b19d858bfb4..Max-Forwards: 69..To:
<sip:8333490056@212.154.104.<BR> 198>..From:
<sip:8334843600@212.154.104.198;user=phone>;tag=xIzNzMDMxID..Ca<BR>
ll-ID: <A
href="mailto:712D1B911761212@192.168.0.101..CSeq">712D1B911761212@192.168.0.101..CSeq</A>:
1 INVITE..Contact: <sip:8334843<BR> <A
href="mailto:600@85.96.192.140:5060>..Session-Expires">600@85.96.192.140:5060>..Session-Expires</A>:
100;refresher=uac..Supported: tim<BR> er..Content-Type:
application/sdp..Content-Length: 191....v=0..o=8334843600<BR> 0 0 IN
IP4 192.168.0.101..s=-..c=IN IP4 85.96.192.140..t=0 0..m=audio 1503<BR> 6
RTP/AVP 18 18..a=rtpmap:18 G729/8000..a=sendrecv..a=rtpmap:18
G729/8000..<BR> a=sendrecv..a=ptime:20..<BR>#<BR>U 212.154.104.198:5060
-> 85.98.22.67:5060<BR> INVITE sip:8333490056@85.98.22.67:5060
SIP/2.0..Record-Route: <sip:83334900<BR> <A
href="mailto:56@212.154.104.198;ftag=xIzNzMDMxID;lr=on>..Via">56@212.154.104.198;ftag=xIzNzMDMxID;lr=on>..Via</A>:
SIP/2.0/UDP 212.154.104.19<BR> 8;branch=z9hG4bKa017.13855ff.0..Via:
SIP/2.0/UDP 85.96.192.140:5060;branch=<BR>
z9hG4bKe3458b19d858bfb4..Max-Forwards: 69..To:
<sip:8333490056@212.154.104.<BR> 198>..From:
<sip:8334843600@212.154.104.198;user=phone>;tag=xIzNzMDMxID..Ca<BR>
ll-ID: <A
href="mailto:712D1B911761212@192.168.0.101..CSeq">712D1B911761212@192.168.0.101..CSeq</A>:
1 INVITE..Contact: <sip:8334843<BR> <A
href="mailto:600@85.96.192.140:5060>..Session-Expires">600@85.96.192.140:5060>..Session-Expires</A>:
100;refresher=uac..Supported: tim<BR> er..Content-Type:
application/sdp..Content-Length: 191....v=0..o=8334843600<BR> 0 0 IN
IP4 192.168.0.101..s=-..c=IN IP4 85.96.192.140..t=0 0..m=audio 1503<BR> 6
RTP/AVP 18 18..a=rtpmap:18 G729/8000..a=sendrecv..a=rtpmap:18
G729/8000..<BR> a=sendrecv..a=ptime:20..<BR>#<BR>U 85.98.22.67:5060 ->
212.154.104.198:5060<BR> SIP/2.0 100 Trying..Via: SIP/2.0/UDP
212.154.104.198;branch=z9hG4bKa017.138<BR> 55ff.0..Via: SIP/2.0/UDP
85.96.192.140:5060;branch=z9hG4bKe3458b19d858bfb4.<BR> .From:
<sip:8334843600@212.154.104.198;user=phone>;tag=xIzNzMDMxID..To:
<si<BR> p:8333490056@212.154.104.198>..Call-ID: <A
href="mailto:712D1B911761212@192.168.0.101..CSeq">712D1B911761212@192.168.0.101..CSeq</A><BR>
: 1 INVITE..Content-Length: 0....<BR>#<BR>U 85.98.22.67:5060 ->
212.154.104.198:5060<BR> SIP/2.0 180 Ringing..Via: SIP/2.0/UDP
212.154.104.198;branch=z9hG4bKa017.13<BR> 855ff.0..Via: SIP/2.0/UDP
85.96.192.140:5060;branch=z9hG4bKe3458b19d858bfb4<BR> ..Record-Route:
<sip:8333490056@212.154.104.198;ftag=xIzNzMDMxID;lr=on>..Fr<BR> om:
<sip:8334843600@212.154.104.198;user=phone>;tag=xIzNzMDMxID..To:
<sip:8<BR> <A
href="mailto:333490056@212.154.104.198>;tag=xIjM0EDMxID..Call-ID">333490056@212.154.104.198>;tag=xIjM0EDMxID..Call-ID</A>:
<A href="mailto:712D1B911761212@192.16">712D1B911761212@192.16</A><BR>
8.0.101..CSeq: 1 INVITE..Content-Length: 0....<BR>#<BR>U 212.154.104.198:5060
-> 85.96.192.140:5060<BR> SIP/2.0 180 Ringing..Via: SIP/2.0/UDP
85.96.192.140:5060;branch=z9hG4bKe345<BR> 8b19d858bfb4..Record-Route:
<sip:8333490056@212.154.104.198;ftag=xIzNzMDMxI<BR> D;lr=on>..From:
<sip:8334843600@212.154.104.198;user=phone>;tag=xIzNzMDMxID<BR>
..To: <sip:8333490056@212.154.104.198>;tag=xIjM0EDMxID..Call-ID:
712D1B9117<BR> <A
href="mailto:61212@192.168.0.101..CSeq">61212@192.168.0.101..CSeq</A>: 1
INVITE..Content-Length: 0....<BR>##########exit<BR>42 received, 0
dropped<BR></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>and this is when i try with command (</FONT><FONT
face=Arial size=2><A
href="mailto:root@sipproxy/ngrep">root@sipproxy/ngrep</A>> ngrep
905353490056@ port 5060)</FONT></DIV>
<DIV><FONT face=Arial size=2><BR>interface: eth0
(212.154.104.196/255.255.255.252)<BR>filter: ip and ( port 5060 )<BR>match:
905353490056@<BR>#########################################<BR>U
85.96.192.140:5060 -> 212.154.104.198:5060<BR> INVITE
sip:905353490056@212.154.104.198 SIP/2.0..Via: SIP/2.0/UDP 85.96.192<BR>
.140:5060;branch=z9hG4bKa3b183e6526a35c9..Max-Forwards: 70..To:
<sip:905353<BR> <A
href="mailto:490056@212.154.104.198>..From">490056@212.154.104.198>..From</A>:
<sip:8334843600@212.154.104.198;user=phone>;<BR>
tag=xIDN3UDMxID..Call-ID: <A
href="mailto:675D1B911761212@192.168.0.101..CSeq">675D1B911761212@192.168.0.101..CSeq</A>:
1 INVITE..Co<BR> ntact:
<sip:8334843600@85.96.192.140:5060>..Session-Expires:
100;refresher=<BR> uac..Supported: timer..Content-Type:
application/sdp..Content-Length: 191..<BR> ..v=0..o=8334843600 0 0 IN IP4
192.168.0.101..s=-..c=IN IP4 85.96.192.140..<BR> t=0 0..m=audio 15038
RTP/AVP 18 18..a=rtpmap:18 G729/8000..a=sendrecv..a=rt<BR> pmap:18
G729/8000..a=sendrecv..a=ptime:20..<BR>#<BR>U 212.154.104.198:5060 ->
85.96.192.140:5060<BR> SIP/2.0 404 Not Found..Via: SIP/2.0/UDP
85.96.192.140:5060;branch=z9hG4bKa3<BR> b183e6526a35c9..To:
<sip:905353490056@212.154.104.198>;tag=b27e1a1d33761e85<BR>
846fc98f5f3a7e58.e905..From:
<sip:8334843600@212.154.104.198;user=phone>;ta<BR>
g=xIDN3UDMxID..Call-ID: <A
href="mailto:675D1B911761212@192.168.0.101..CSeq">675D1B911761212@192.168.0.101..CSeq</A>:
1 INVITE..Serv<BR> er: Sip EXpress router (0.8.14
(i386/linux))..Content-Length: 0..Warning: 3<BR> 92 212.154.104.198:5060
"Noisy feedback tells: pid=5891 req_src_ip=85.96.1<BR> 92.140
req_src_port=5060 in_uri=sip:905353490056@212.154.104.198 out_uri=si<BR>
p:905353490056@212.154.104.198 via_cnt==1"....<BR>#<BR>U 85.96.192.140:5060
-> 212.154.104.198:5060<BR> ACK sip:905353490056@212.154.104.198
SIP/2.0..Via: SIP/2.0/UDP 85.96.192.14<BR>
0:5060;branch=z9hG4bKa3b183e6526a35c9..Max-Forwards: 70..To:
<sip:905353490<BR> <A
href="mailto:056@212.154.104.198>;tag=b27e1a1d33761e85846fc98f5f3a7e58.e905..From">056@212.154.104.198>;tag=b27e1a1d33761e85846fc98f5f3a7e58.e905..From</A>:
<sip:<BR> <A
href="mailto:8334843600@212.154.104.198;user=phone>;tag=xIDN3UDMxID..Call-ID">8334843600@212.154.104.198;user=phone>;tag=xIDN3UDMxID..Call-ID</A>:
675D1B9117<BR> <A
href="mailto:61212@192.168.0.101..CSeq">61212@192.168.0.101..CSeq</A>: 1
ACK..Content-Length: 0....<BR>######################################exit<BR>82
received, 0 dropped<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> </DIV></FONT>
<DIV><FONT face=Arial size=2> </DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> </DIV>
<DIV><BR><A href="mailto:root@sipproxy/etc/ser">root@sipproxy/etc/ser</A>>
cat ser.cfg<BR>#<BR># $Id: ser.cfg,v 1.21.4.1 2003/11/10 15:35:15 andrei Exp
$<BR>#<BR># simple quick-start config script<BR>#</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2># ----------- global configuration parameters
------------------------</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>#debug=3 # debug level
(cmd line:
-dddddddddd)<BR>#fork=yes<BR>#log_stderror=no
# (cmd line: -E)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>/* Uncomment these lines to enter debugging
mode<BR>debug=7<BR>fork=no<BR>log_stderror=yes<BR>*/</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>check_via=no # (cmd. line:
-v)<BR>dns=no #
(cmd. line: -r)<BR>rev_dns=no # (cmd. line:
-R)<BR>#port=5060<BR>#children=4<BR>fifo="/tmp/ser_fifo"</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2># ------------------ module loading
----------------------------------</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2># Uncomment this if you want to use SQL
database<BR>#loadmodule "/usr/local/lib/ser/modules/mysql.so"</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>loadmodule
"/usr/local/lib/ser/modules/sl.so"<BR>loadmodule
"/usr/local/lib/ser/modules/tm.so"<BR>loadmodule
"/usr/local/lib/ser/modules/rr.so"<BR>loadmodule
"/usr/local/lib/ser/modules/maxfwd.so"<BR>loadmodule
"/usr/local/lib/ser/modules/usrloc.so"<BR>loadmodule
"/usr/local/lib/ser/modules/registrar.so"</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2># Uncomment this if you want digest
authentication<BR># mysql.so must be loaded !<BR>#loadmodule
"/usr/local/lib/ser/modules/auth.so"<BR>#loadmodule
"/usr/local/lib/ser/modules/auth_db.so"</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2># ----------------- setting module-specific
parameters ---------------</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2># -- usrloc params --</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>modparam("usrloc", "db_mode",
0)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2># Uncomment this if you want to use SQL
database<BR># for persistent storage and comment the previous
line<BR>#modparam("usrloc", "db_mode", 2)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2># -- auth params --<BR># Uncomment if you are using
auth module<BR>#<BR>#modparam("auth_db", "calculate_ha1", yes)<BR>#<BR># If you
set "calculate_ha1" parameter to yes (which true in this config),<BR># uncomment
also the following parameter)<BR>#<BR>#modparam("auth_db", "password_column",
"password")</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2># -- rr params --<BR># add value to ;lr param to
make some broken UAs happy<BR>modparam("rr", "enable_full_lr", 1)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2># ------------------------- request routing
logic -------------------</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2># main routing logic</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>route{</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> #
initial sanity checks -- messages
with<BR> # max_forwards==0, or
excessively long requests<BR> if
(!mf_process_maxfwd_header("10"))
{<BR>
sl_send_reply("483","Too Many
Hops");<BR>
break;<BR>
};<BR> if ( msg:len > max_len )
{<BR>
sl_send_reply("513", "Message too
big");<BR>
break;<BR> };</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> # we
record-route all messages -- to make sure
that<BR> # subsequent messages will go
through our proxy; that's<BR> #
particularly good if upstream and downstream
entities<BR> # use different transport
protocol<BR>
record_route();<BR> # loose-route
processing<BR> if (loose_route())
{<BR>
t_relay();<BR>
break;<BR> };</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> # if the
request is for other domain use
UsrLoc<BR> # (in case, it does not
work, use the following command<BR> #
with proper names and addresses in
it)<BR> if (uri==myself)
{</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>
if (method=="REGISTER") {</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2># Uncomment this if you want to use digest
authentication<BR>#
if (!www_authorize("iptel.org", "subscriber"))
{<BR>#
www_challenge("iptel.org",
"0");<BR>#
break;<BR>#
};</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>
if
(!(uri=~"sip:(833)|(834)"))<BR>
t_relay_to_udp ("212.154.32.154",
"5060");<BR>
save("location");<BR>
break;<BR>
};</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>
# native SIP destinations are handled using our USRLOC
DB<BR>
if (!lookup("location"))
{<BR>
sl_send_reply("404", "Not
Found");<BR>
break;<BR>
};<BR>
};<BR> # forward to current uri now;
use stateful forwarding; that<BR> #
works reliably even if we forward from TCP to
UDP<BR> if (!t_relay())
{<BR>
sl_reply_error();<BR> };</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>}</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><A
href="mailto:root@sipproxy/etc/ser">root@sipproxy/etc/ser</A>></FONT></DIV></DIV></BODY></HTML>