I am having few problems in getting Siproxd working. I have the following problem. My both the clients are registered with Siproxd. One on the inbound interface and one on the outbound interface. I have added the ip address 202.168.12.0/24 to the hosts_allow_sip.
Now, what happens is, the Siproxd when it gets an invite sends back a 480 timeout back to the user. I am not able to trace the problem, since I think the registration has been properly mapped with the IP addresses.
Hi
I am having few problems in getting Siproxd working. I have the following problem. My both the clients are registered with Siproxd. One on the inbound interface and one on the outbound interface. I have added the ip address 202.168.12.0/24 to the hosts_allow_sip.
Now, what happens is, the Siproxd when it gets an invite sends back a 480 timeout back to the user. I am not able to trace the problem, since I think the registration has been properly mapped with the IP addresses.
Can some one help me out with this.
13:55:07 siproxd.c:246 back from sip_wait
13:55:07 sock.c:120 received UDP packet from 202.168.12.25, count=299
---BUFFER DUMP follows---
52 45 47 49 53 54 45 52 20 73 69 70 3a 32 30 32 REGISTER sip:202
2e 31 36 38 2e 31 32 2e 32 32 32 20 53 49 50 2f .168.12.222 SIP/
32 2e 30 0d 0a 56 69 61 3a 20 53 49 50 2f 32 2e 2.0..Via: SIP/2.
30 2f 55 44 50 20 32 30 32 2e 31 36 38 2e 31 32 0/UDP 202.168.12
2e 32 35 3a 35 30 36 30 0d 0a 46 72 6f 6d 3a 20 .25:5060..From:
3c 73 69 70 3a 35 36 37 40 32 30 32 2e 31 36 38 <sip:567@202.168
2e 31 32 2e 32 32 32 3e 0d 0a 54 6f 3a 20 3c 73 .12.222>..To: <s
69 70 3a 35 36 37 40 32 30 32 2e 31 36 38 2e 31 ip:567@202.168.1
32 2e 32 32 32 3e 0d 0a 43 6f 6e 74 61 63 74 3a 2.222>..Contact:
20 22 53 72 69 72 61 6d 22 20 3c 73 69 70 3a 35 "Sriram" <sip:5
36 37 40 32 30 32 2e 31 36 38 2e 31 32 2e 32 35 67@202.168.12.25
3a 35 30 36 30 3e 0d 0a 43 61 6c 6c 2d 49 44 3a :5060>..Call-ID:
20 30 30 38 32 41 44 34 32 36 32 31 43 31 31 44 0082AD42621C11D
38 39 42 37 45 30 30 30 36 35 42 32 31 37 36 45 89B7E00065B2176E
37 40 32 30 32 2e 31 36 38 2e 31 32 2e 32 32 32 7@202.168.12.222
0d 0a 43 53 65 71 3a 20 32 39 34 33 30 20 52 45 ..CSeq: 29430 RE
47 49 53 54 45 52 0d 0a 45 78 70 69 72 65 73 3a GISTER..Expires:
20 35 30 30 0d 0a 43 6f 6e 74 65 6e 74 2d 4c 65 500..Content-Le
6e 67 74 68 3a 20 30 0d 0a 0d 0a ngth: 0....
---end of BUFFER DUMP---
13:55:07 accessctl.c:54 deny list (SIP):*NULL*
13:55:07 accessctl.c:56 allow list (SIP):202.168.12.0/24
13:55:07 accessctl.c:58 allow list (REG):192.168.100.0/24,202.168.12.0/24
13:55:07 accessctl.c:154 [0] extracted address=202.168.12.0
13:55:07 accessctl.c:155 [0] extracted mask =24
13:55:07 utils.c:88 initializing DNS cache (32 entries)
13:55:07 utils.c:193 DNS lookup - resolved: 202.168.12.0 -> 202.168.12.0
13:55:07 utils.c:214 DNS lookup - store into cache, entry 0)
13:55:07 accessctl.c:169 [0] (0xcaa80c00) <-> (0xcaa80c00)
13:55:07 accessctl.c:82 granted SIP access
13:55:07 accessctl.c:154 [0] extracted address=192.168.100.0
13:55:07 accessctl.c:155 [0] extracted mask =24
13:55:07 utils.c:193 DNS lookup - resolved: 192.168.100.0 -> 192.168.100.0
13:55:07 utils.c:214 DNS lookup - store into cache, entry 1)
13:55:07 accessctl.c:169 [0] (0xc0a86400) <-> (0xcaa80c00)
13:55:07 accessctl.c:154 [1] extracted address=202.168.12.0
13:55:07 accessctl.c:155 [1] extracted mask =24
13:55:07 utils.c:110 DNS lookup - from cache: 202.168.12.0 -> 202.168.12.0
13:55:07 accessctl.c:169 [1] (0xcaa80c00) <-> (0xcaa80c00)
13:55:07 accessctl.c:97 granted REG/SIP access
13:55:07 siproxd.c:308 checking Max-Forwards (=70)
13:55:07 siproxd.c:341 received SIP type REQ:REGISTER
13:55:07 utils.c:193 DNS lookup - resolved: 202.168.12.222 -> 202.168.12.222
13:55:07 utils.c:214 DNS lookup - store into cache, entry 2)
13:55:07 utils.c:321 initializing ifaddr cache (32 entries)
13:55:07 utils.c:381 get_ip_by_ifname: if eth0 has IP:192.168.100.223 (flags=1043) UP
13:55:07 utils.c:403 ifname lookup - store into cache, entry 0)
13:55:07 utils.c:381 get_ip_by_ifname: if eth1 has IP:202.168.12.222 (flags=1043) UP
13:55:07 utils.c:403 ifname lookup - store into cache, entry 1)
13:55:07 register.c:209 sip_register:
13:55:07 register.c:238 register: 567@202.168.12.25 expires=500 seconds
13:55:07 register.c:290 create new entry for 567@202.168.12.25 <-> 567@202.168.12.222 at slot=0
13:55:07 register.c:309 0 entries in MASK config table
13:55:07 sock.c:160 send UDP packet to 202.168.12.25: 5060
---BUFFER DUMP follows---
53 49 50 2f 32 2e 30 20 32 30 30 20 4f 4b 0d 0a SIP/2.0 200 OK..
56 69 61 3a 20 53 49 50 2f 32 2e 30 2f 55 44 50 Via: SIP/2.0/UDP
20 32 30 32 2e 31 36 38 2e 31 32 2e 32 35 3a 35 202.168.12.25:5
30 36 30 0d 0a 46 72 6f 6d 3a 20 3c 73 69 70 3a 060..From: <sip:
35 36 37 40 32 30 32 2e 31 36 38 2e 31 32 2e 32 567@202.168.12.2
32 32 3e 0d 0a 54 6f 3a 20 3c 73 69 70 3a 35 36 22>..To: <sip:56
37 40 32 30 32 2e 31 36 38 2e 31 32 2e 32 32 32 7@202.168.12.222
3e 0d 0a 43 61 6c 6c 2d 49 44 3a 20 30 30 38 32 >..Call-ID: 0082
41 44 34 32 36 32 31 43 31 31 44 38 39 42 37 45 AD42621C11D89B7E
30 30 30 36 35 42 32 31 37 36 45 37 40 32 30 32 00065B2176E7@202
2e 31 36 38 2e 31 32 2e 32 32 32 0d 0a 43 53 65 .168.12.222..CSe
71 3a 20 32 39 34 33 30 20 52 45 47 49 53 54 45 q: 29430 REGISTE
52 0d 0a 45 78 70 69 72 65 73 3a 20 35 30 30 0d R..Expires: 500.
0a 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a .Content-Length:
20 30 0d 0a 0d 0a 0....
---end of BUFFER DUMP---
13:55:07 siproxd.c:225 going into sip_wait
13:55:12 register.c:386 sip_agemap, t=1077092712
13:55:17 register.c:386 sip_agemap, t=1077092717
13:55:21 siproxd.c:246 back from sip_wait
13:55:21 sock.c:120 received UDP packet from 192.168.100.210, count=314
---BUFFER DUMP follows---
52 45 47 49 53 54 45 52 20 73 69 70 3a 31 39 32 REGISTER sip:192
2e 31 36 38 2e 31 30 30 2e 32 32 33 20 53 49 50 .168.100.223 SIP
2f 32 2e 30 0d 0a 56 69 61 3a 20 53 49 50 2f 32 /2.0..Via: SIP/2
2e 30 2f 55 44 50 20 31 39 32 2e 31 36 38 2e 31 .0/UDP 192.168.1
30 30 2e 32 31 30 3a 35 30 36 31 0d 0a 46 72 6f 00.210:5061..Fro
6d 3a 20 3c 73 69 70 3a 31 32 33 40 31 39 32 2e m: <sip:123@192.
31 36 38 2e 31 30 30 2e 32 32 33 3a 35 30 36 31 168.100.223:5061
3e 0d 0a 54 6f 3a 20 3c 73 69 70 3a 31 32 33 40 >..To: <sip:123@
31 39 32 2e 31 36 38 2e 31 30 30 2e 32 32 33 3a 192.168.100.223:
35 30 36 31 3e 0d 0a 43 6f 6e 74 61 63 74 3a 20 5061>..Contact:
22 52 61 6d 22 20 3c 73 69 70 3a 31 32 33 40 31 "Ram" <sip:123@1
39 32 2e 31 36 38 2e 31 30 30 2e 32 31 30 3a 35 92.168.100.210:5
30 36 31 3e 0d 0a 43 61 6c 6c 2d 49 44 3a 20 39 061>..Call-ID: 9
38 33 44 38 45 39 35 33 44 42 42 34 38 33 43 39 83D8E953DBB483C9
44 41 34 34 44 35 43 44 45 31 46 37 42 38 31 40 DA44D5CDE1F7B81@
31 39 32 2e 31 36 38 2e 31 30 30 2e 32 32 33 0d 192.168.100.223.
0a 43 53 65 71 3a 20 32 36 35 36 31 20 52 45 47 .CSeq: 26561 REG
49 53 54 45 52 0d 0a 45 78 70 69 72 65 73 3a 20 ISTER..Expires:
35 30 30 0d 0a 43 6f 6e 74 65 6e 74 2d 4c 65 6e 500..Content-Len
67 74 68 3a 20 30 0d 0a 0d 0a gth: 0....
---end of BUFFER DUMP---
13:55:21 accessctl.c:54 deny list (SIP):*NULL*
13:55:21 accessctl.c:56 allow list (SIP):202.168.12.0/24
13:55:21 accessctl.c:58 allow list (REG):192.168.100.0/24,202.168.12.0/24
13:55:21 accessctl.c:154 [0] extracted address=202.168.12.0
13:55:21 accessctl.c:155 [0] extracted mask =24
13:55:21 utils.c:110 DNS lookup - from cache: 202.168.12.0 -> 202.168.12.0
13:55:21 accessctl.c:169 [0] (0xcaa80c00) <-> (0xc0a86400)
13:55:21 accessctl.c:154 [0] extracted address=192.168.100.0
13:55:21 accessctl.c:155 [0] extracted mask =24
13:55:21 utils.c:110 DNS lookup - from cache: 192.168.100.0 -> 192.168.100.0
13:55:21 accessctl.c:169 [0] (0xc0a86400) <-> (0xc0a86400)
13:55:21 accessctl.c:97 granted REG/SIP access
13:55:21 siproxd.c:308 checking Max-Forwards (=70)
13:55:21 siproxd.c:341 received SIP type REQ:REGISTER
13:55:21 utils.c:193 DNS lookup - resolved: 192.168.100.223 -> 192.168.100.223
13:55:21 utils.c:214 DNS lookup - store into cache, entry 3)
13:55:21 utils.c:332 cleaning ifaddr cache (entry 0)
13:55:21 utils.c:332 cleaning ifaddr cache (entry 1)
13:55:21 utils.c:381 get_ip_by_ifname: if eth0 has IP:192.168.100.223 (flags=1043) UP
13:55:21 utils.c:403 ifname lookup - store into cache, entry 0)
13:55:21 utils.c:381 get_ip_by_ifname: if eth1 has IP:202.168.12.222 (flags=1043) UP
13:55:21 utils.c:403 ifname lookup - store into cache, entry 1)
13:55:21 register.c:209 sip_register:
13:55:21 register.c:238 register: 123@192.168.100.210 expires=500 seconds
13:55:21 sip_utils.c:252 comparing urls: sip:123@192.168.100.223 -> sip:567@202.168.12.222
13:55:21 sip_utils.c:273 compare_url: username mismatch
13:55:21 register.c:290 create new entry for 123@192.168.100.210 <-> 123@192.168.100.223 at slot=1
13:55:21 register.c:309 0 entries in MASK config table
13:55:21 sock.c:160 send UDP packet to 192.168.100.210: 5061
---BUFFER DUMP follows---
53 49 50 2f 32 2e 30 20 32 30 30 20 4f 4b 0d 0a SIP/2.0 200 OK..
56 69 61 3a 20 53 49 50 2f 32 2e 30 2f 55 44 50 Via: SIP/2.0/UDP
20 31 39 32 2e 31 36 38 2e 31 30 30 2e 32 31 30 192.168.100.210
3a 35 30 36 31 0d 0a 46 72 6f 6d 3a 20 3c 73 69 :5061..From: <si
70 3a 31 32 33 40 31 39 32 2e 31 36 38 2e 31 30 p:123@192.168.10
30 2e 32 32 33 3a 35 30 36 31 3e 0d 0a 54 6f 3a 0.223:5061>..To:
20 3c 73 69 70 3a 31 32 33 40 31 39 32 2e 31 36 <sip:123@192.16
38 2e 31 30 30 2e 32 32 33 3a 35 30 36 31 3e 0d 8.100.223:5061>.
0a 43 61 6c 6c 2d 49 44 3a 20 39 38 33 44 38 45 .Call-ID: 983D8E
39 35 33 44 42 42 34 38 33 43 39 44 41 34 34 44 953DBB483C9DA44D
35 43 44 45 31 46 37 42 38 31 40 31 39 32 2e 31 5CDE1F7B81@192.1
36 38 2e 31 30 30 2e 32 32 33 0d 0a 43 53 65 71 68.100.223..CSeq
3a 20 32 36 35 36 31 20 52 45 47 49 53 54 45 52 : 26561 REGISTER
0d 0a 45 78 70 69 72 65 73 3a 20 35 30 30 0d 0a ..Expires: 500..
43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 Content-Length:
30 0d 0a 0d 0a 0....
---end of BUFFER DUMP---
13:55:21 siproxd.c:225 going into sip_wait
13:55:26 register.c:386 sip_agemap, t=1077092726
13:55:31 register.c:386 sip_agemap, t=1077092731
13:55:36 register.c:386 sip_agemap, t=1077092736
13:55:37 siproxd.c:246 back from sip_wait
13:55:37 sock.c:120 received UDP packet from 202.168.12.25, count=635
---BUFFER DUMP follows---
49 4e 56 49 54 45 20 73 69 70 3a 31 32 33 40 32 INVITE sip:123@2
30 32 2e 31 36 38 2e 31 32 2e 32 32 32 20 53 49 02.168.12.222 SI
50 2f 32 2e 30 0d 0a 56 69 61 3a 20 53 49 50 2f P/2.0..Via: SIP/
32 2e 30 2f 55 44 50 20 32 30 32 2e 31 36 38 2e 2.0/UDP 202.168.
31 32 2e 32 35 3a 35 30 36 30 0d 0a 46 72 6f 6d 12.25:5060..From
3a 20 53 72 69 72 61 6d 20 3c 73 69 70 3a 35 36 : Sriram <sip:56
37 40 32 30 32 2e 31 36 38 2e 31 32 2e 32 32 32 7@202.168.12.222
3e 3b 74 61 67 3d 33 33 37 30 31 31 39 36 31 0d >;tag=337011961.
0a 54 6f 3a 20 3c 73 69 70 3a 31 32 33 40 32 30 .To: <sip:123@20
32 2e 31 36 38 2e 31 32 2e 32 32 32 3e 0d 0a 43 2.168.12.222>..C
6f 6e 74 61 63 74 3a 20 3c 73 69 70 3a 35 36 37 ontact: <sip:567
40 32 30 32 2e 31 36 38 2e 31 32 2e 32 35 3a 35 @202.168.12.25:5
30 36 30 3e 0d 0a 43 61 6c 6c 2d 49 44 3a 20 30 060>..Call-ID: 0
30 38 32 41 44 34 33 2d 36 32 31 43 2d 31 31 44 082AD43-621C-11D
38 2d 39 42 37 45 2d 30 30 30 36 35 42 32 31 37 8-9B7E-00065B217
36 45 37 40 32 30 32 2e 31 36 38 2e 31 32 2e 32 6E7@202.168.12.2
35 0d 0a 43 53 65 71 3a 20 32 36 35 30 32 20 49 5..CSeq: 26502 I
4e 56 49 54 45 0d 0a 43 6f 6e 74 65 6e 74 2d 54 NVITE..Content-T
79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e ype: application
2f 73 64 70 0d 0a 43 6f 6e 74 65 6e 74 2d 4c 65 /sdp..Content-Le
6e 67 74 68 3a 20 33 30 32 0d 0a 0d 0a 76 3d 30 ngth: 302....v=0
0d 0a 6f 3d 35 36 37 20 35 38 35 32 32 31 31 38 ..o=567 58522118
33 20 35 38 35 32 32 31 31 38 33 20 49 4e 20 49 3 585221183 IN I
50 34 20 32 30 32 2e 31 36 38 2e 31 32 2e 32 35 P4 202.168.12.25
0d 0a 73 3d 58 2d 4c 69 74 65 0d 0a 63 3d 49 4e ..s=X-Lite..c=IN
20 49 50 34 20 32 30 32 2e 31 36 38 2e 31 32 2e IP4 202.168.12.
32 35 0d 0a 74 3d 30 20 30 0d 0a 6d 3d 61 75 64 25..t=0 0..m=aud
69 6f 20 38 30 30 30 20 52 54 50 2f 41 56 50 20 io 8000 RTP/AVP
34 20 30 20 38 20 33 20 31 30 31 0d 0a 61 3d 72 4 0 8 3 101..a=r
74 70 6d 61 70 3a 34 20 47 37 32 33 2f 38 30 30 tpmap:4 G723/800
30 0d 0a 61 3d 72 74 70 6d 61 70 3a 30 20 70 63 0..a=rtpmap:0 pc
6d 75 2f 38 30 30 30 0d 0a 61 3d 72 74 70 6d 61 mu/8000..a=rtpma
70 3a 38 20 70 63 6d 61 2f 38 30 30 30 0d 0a 61 p:8 pcma/8000..a
3d 72 74 70 6d 61 70 3a 33 20 67 73 6d 2f 38 30 =rtpmap:3 gsm/80
30 30 0d 0a 61 3d 72 74 70 6d 61 70 3a 31 30 31 00..a=rtpmap:101
20 74 65 6c 65 70 68 6f 6e 65 2d 65 76 65 6e 74 telephone-event
2f 38 30 30 30 0d 0a 61 3d 66 6d 74 70 3a 31 30 /8000..a=fmtp:10
31 20 30 2d 31 35 0d 0a 61 3d 72 74 70 6d 61 70 1 0-15..a=rtpmap
3a 31 32 36 20 78 2d 70 72 6f 2d 65 6e 63 72 79 :126 x-pro-encry
70 74 65 64 2f 38 30 30 30 0d 0a pted/8000..
---end of BUFFER DUMP---
13:55:37 accessctl.c:54 deny list (SIP):*NULL*
13:55:37 accessctl.c:56 allow list (SIP):202.168.12.0/24
13:55:37 accessctl.c:58 allow list (REG):192.168.100.0/24,202.168.12.0/24
13:55:37 accessctl.c:154 [0] extracted address=202.168.12.0
13:55:37 accessctl.c:155 [0] extracted mask =24
13:55:37 utils.c:110 DNS lookup - from cache: 202.168.12.0 -> 202.168.12.0
13:55:37 accessctl.c:169 [0] (0xcaa80c00) <-> (0xcaa80c00)
13:55:37 accessctl.c:82 granted SIP access
13:55:37 accessctl.c:154 [0] extracted address=192.168.100.0
13:55:37 accessctl.c:155 [0] extracted mask =24
13:55:37 utils.c:110 DNS lookup - from cache: 192.168.100.0 -> 192.168.100.0
13:55:37 accessctl.c:169 [0] (0xc0a86400) <-> (0xcaa80c00)
13:55:37 accessctl.c:154 [1] extracted address=202.168.12.0
13:55:37 accessctl.c:155 [1] extracted mask =24
13:55:37 utils.c:110 DNS lookup - from cache: 202.168.12.0 -> 202.168.12.0
13:55:37 accessctl.c:169 [1] (0xcaa80c00) <-> (0xcaa80c00)
13:55:37 accessctl.c:97 granted REG/SIP access
13:55:37 siproxd.c:308 checking Max-Forwards (=70)
13:55:37 siproxd.c:341 received SIP type REQ:INVITE
13:55:37 utils.c:332 cleaning ifaddr cache (entry 0)
13:55:37 utils.c:332 cleaning ifaddr cache (entry 1)
13:55:37 utils.c:381 get_ip_by_ifname: if eth1 has IP:202.168.12.222 (flags=1043) UP
13:55:37 utils.c:403 ifname lookup - store into cache, entry 0)
13:55:37 proxy.c:92 proxy_request
13:55:37 utils.c:193 DNS lookup - resolved: 202.168.12.25 -> 202.168.12.25
13:55:37 utils.c:214 DNS lookup - store into cache, entry 4)
13:55:37 proxy.c:183 proxy_request: reghost:202.168.12.25 ip:202.168.12.25
13:55:37 INFO:proxy.c:220 Outgoing Call from: 567:202.168.12.25
13:55:37 proxy.c:302 outgoing request from 567@202.168.12.222 from inbound
13:55:37 sip_utils.c:252 comparing urls: sip:567@202.168.12.25 -> sip:567@202.168.12.25
13:55:37 utils.c:110 DNS lookup - from cache: 202.168.12.25 -> 202.168.12.25
13:55:37 utils.c:110 DNS lookup - from cache: 202.168.12.25 -> 202.168.12.25
13:55:37 sip_utils.c:686 rewrote Contact header 567@202.168.12.25 -> 567@202.168.12.222
13:55:37 proxy.c:875 Body before rewrite (clen=302, strlen=302):
v=0
o=567 585221183 585221183 IN IP4 202.168.12.25
s=X-Lite
c=IN IP4 202.168.12.25
t=0 0
m=audio 8000 RTP/AVP 4 0 8 3 101
a=rtpmap:4 G723/8000
a=rtpmap:0 pcmu/8000
a=rtpmap:8 pcma/8000
a=rtpmap:3 gsm/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=rtpmap:126 x-pro-encrypted/8000
----
13:55:37 utils.c:110 DNS lookup - from cache: 202.168.12.25 -> 202.168.12.25
13:55:37 utils.c:345 ifaddr lookup - from cache: eth1 -> 202.168.12.222 UP
13:55:37 utils.c:381 get_ip_by_ifname: if eth0 has IP:192.168.100.223 (flags=1043) UP
13:55:37 utils.c:403 ifname lookup - store into cache, entry 1)
13:55:37 rtpproxy_relay.c:380 rtp_relay_start_fwd: starting RTP proxy stream for: 0082AD43-621C-11D8-9B7E-00065B2176E7@202.168.12.25[567] (incoming RTP) #=0
13:55:37 rtpproxy_relay.c:479 rtp_relay_start_fwd: addr=202.168.12.222, port=7070, sock=6 freeidx=0
13:55:37 proxy.c:978 proxy_rewrite_invitation_body: m= rewrote port to [7070]
13:55:37 proxy.c:1021 Body after rewrite (clen=303, strlen=303):
v=0
o=567 585221183 585221183 IN IP4 202.168.12.25
s=X-Lite
c=IN IP4 202.168.12.222
t=0 0
m=audio 7070 RTP/AVP 4 0 8 3 101
a=rtpmap:4 G723/8000
a=rtpmap:0 pcmu/8000
a=rtpmap:8 pcma/8000
a=rtpmap:3 gsm/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=rtpmap:126 x-pro-encrypted/8000
----
13:55:37 proxy.c:403 setting Max-Forwards=70
13:55:37 utils.c:110 DNS lookup - from cache: 202.168.12.222 -> 202.168.12.222
13:55:37 utils.c:345 ifaddr lookup - from cache: eth1 -> 202.168.12.222 UP
13:55:37 sip_utils.c:852 non-existing branch -> branch hash [48cbb8489c97a6e63f3cac8f7d72d07f]
13:55:37 sip_utils.c:618 adding VIA:SIP/2.0/UDP 202.168.12.222:5060;branch=z9hG4bK48cbb8489c97a6e63f3cac8f7d72d07f;
13:55:37 sock.c:160 send UDP packet to 202.168.12.222: 5060
---BUFFER DUMP follows---
49 4e 56 49 54 45 20 73 69 70 3a 31 32 33 40 32 INVITE sip:123@2
30 32 2e 31 36 38 2e 31 32 2e 32 32 32 20 53 49 02.168.12.222 SI
50 2f 32 2e 30 0d 0a 56 69 61 3a 20 53 49 50 2f P/2.0..Via: SIP/
32 2e 30 2f 55 44 50 20 32 30 32 2e 31 36 38 2e 2.0/UDP 202.168.
31 32 2e 32 32 32 3a 35 30 36 30 3b 62 72 61 6e 12.222:5060;bran
63 68 3d 7a 39 68 47 34 62 4b 34 38 63 62 62 38 ch=z9hG4bK48cbb8
34 38 39 63 39 37 61 36 65 36 33 66 33 63 61 63 489c97a6e63f3cac
38 66 37 64 37 32 64 30 37 66 0d 0a 56 69 61 3a 8f7d72d07f..Via:
20 53 49 50 2f 32 2e 30 2f 55 44 50 20 32 30 32 SIP/2.0/UDP 202
2e 31 36 38 2e 31 32 2e 32 35 3a 35 30 36 30 0d .168.12.25:5060.
0a 46 72 6f 6d 3a 20 53 72 69 72 61 6d 20 3c 73 .From: Sriram <s
69 70 3a 35 36 37 40 32 30 32 2e 31 36 38 2e 31 ip:567@202.168.1
32 2e 32 32 32 3e 3b 74 61 67 3d 33 33 37 30 31 2.222>;tag=33701
31 39 36 31 0d 0a 54 6f 3a 20 3c 73 69 70 3a 31 1961..To: <sip:1
32 33 40 32 30 32 2e 31 36 38 2e 31 32 2e 32 32 23@202.168.12.22
32 3e 0d 0a 43 61 6c 6c 2d 49 44 3a 20 30 30 38 2>..Call-ID: 008
32 41 44 34 33 2d 36 32 31 43 2d 31 31 44 38 2d 2AD43-621C-11D8-
39 42 37 45 2d 30 30 30 36 35 42 32 31 37 36 45 9B7E-00065B2176E
37 40 32 30 32 2e 31 36 38 2e 31 32 2e 32 35 0d 7@202.168.12.25.
0a 43 53 65 71 3a 20 32 36 35 30 32 20 49 4e 56 .CSeq: 26502 INV
49 54 45 0d 0a 43 6f 6e 74 61 63 74 3a 20 3c 73 ITE..Contact: <s
69 70 3a 35 36 37 40 32 30 32 2e 31 36 38 2e 31 ip:567@202.168.1
32 2e 32 32 32 3e 0d 0a 4d 61 78 2d 46 6f 72 77 2.222>..Max-Forw
61 72 64 73 3a 20 37 30 0d 0a 43 6f 6e 74 65 6e ards: 70..Conten
74 2d 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 t-Type: applicat
69 6f 6e 2f 73 64 70 0d 0a 43 6f 6e 74 65 6e 74 ion/sdp..Content
2d 4c 65 6e 67 74 68 3a 20 20 20 33 30 33 0d 0a -Length: 303..
0d 0a 76 3d 30 0d 0a 6f 3d 35 36 37 20 35 38 35 ..v=0..o=567 585
32 32 31 31 38 33 20 35 38 35 32 32 31 31 38 33 221183 585221183
20 49 4e 20 49 50 34 20 32 30 32 2e 31 36 38 2e IN IP4 202.168.
31 32 2e 32 35 0d 0a 73 3d 58 2d 4c 69 74 65 0d 12.25..s=X-Lite.
0a 63 3d 49 4e 20 49 50 34 20 32 30 32 2e 31 36 .c=IN IP4 202.16
38 2e 31 32 2e 32 32 32 0d 0a 74 3d 30 20 30 0d 8.12.222..t=0 0.
0a 6d 3d 61 75 64 69 6f 20 37 30 37 30 20 52 54 .m=audio 7070 RT
50 2f 41 56 50 20 34 20 30 20 38 20 33 20 31 30 P/AVP 4 0 8 3 10
31 0d 0a 61 3d 72 74 70 6d 61 70 3a 34 20 47 37 1..a=rtpmap:4 G7
32 33 2f 38 30 30 30 0d 0a 61 3d 72 74 70 6d 61 23/8000..a=rtpma
70 3a 30 20 70 63 6d 75 2f 38 30 30 30 0d 0a 61 p:0 pcmu/8000..a
3d 72 74 70 6d 61 70 3a 38 20 70 63 6d 61 2f 38 =rtpmap:8 pcma/8
30 30 30 0d 0a 61 3d 72 74 70 6d 61 70 3a 33 20 000..a=rtpmap:3
67 73 6d 2f 38 30 30 30 0d 0a 61 3d 72 74 70 6d gsm/8000..a=rtpm
61 70 3a 31 30 31 20 74 65 6c 65 70 68 6f 6e 65 ap:101 telephone
2d 65 76 65 6e 74 2f 38 30 30 30 0d 0a 61 3d 66 -event/8000..a=f
6d 74 70 3a 31 30 31 20 30 2d 31 35 0d 0a 61 3d mtp:101 0-15..a=
72 74 70 6d 61 70 3a 31 32 36 20 78 2d 70 72 6f rtpmap:126 x-pro
2d 65 6e 63 72 79 70 74 65 64 2f 38 30 30 30 0d -encrypted/8000.
0a .
---end of BUFFER DUMP---
13:55:37 siproxd.c:225 going into sip_wait
13:55:37 siproxd.c:246 back from sip_wait
13:55:37 sock.c:120 received UDP packet from 202.168.12.222, count=737
---BUFFER DUMP follows---
49 4e 56 49 54 45 20 73 69 70 3a 31 32 33 40 32 INVITE sip:123@2
30 32 2e 31 36 38 2e 31 32 2e 32 32 32 20 53 49 02.168.12.222 SI
50 2f 32 2e 30 0d 0a 56 69 61 3a 20 53 49 50 2f P/2.0..Via: SIP/
32 2e 30 2f 55 44 50 20 32 30 32 2e 31 36 38 2e 2.0/UDP 202.168.
31 32 2e 32 32 32 3a 35 30 36 30 3b 62 72 61 6e 12.222:5060;bran
63 68 3d 7a 39 68 47 34 62 4b 34 38 63 62 62 38 ch=z9hG4bK48cbb8
34 38 39 63 39 37 61 36 65 36 33 66 33 63 61 63 489c97a6e63f3cac
38 66 37 64 37 32 64 30 37 66 0d 0a 56 69 61 3a 8f7d72d07f..Via:
20 53 49 50 2f 32 2e 30 2f 55 44 50 20 32 30 32 SIP/2.0/UDP 202
2e 31 36 38 2e 31 32 2e 32 35 3a 35 30 36 30 0d .168.12.25:5060.
0a 46 72 6f 6d 3a 20 53 72 69 72 61 6d 20 3c 73 .From: Sriram <s
69 70 3a 35 36 37 40 32 30 32 2e 31 36 38 2e 31 ip:567@202.168.1
32 2e 32 32 32 3e 3b 74 61 67 3d 33 33 37 30 31 2.222>;tag=33701
31 39 36 31 0d 0a 54 6f 3a 20 3c 73 69 70 3a 31 1961..To: <sip:1
32 33 40 32 30 32 2e 31 36 38 2e 31 32 2e 32 32 23@202.168.12.22
32 3e 0d 0a 43 61 6c 6c 2d 49 44 3a 20 30 30 38 2>..Call-ID: 008
32 41 44 34 33 2d 36 32 31 43 2d 31 31 44 38 2d 2AD43-621C-11D8-
39 42 37 45 2d 30 30 30 36 35 42 32 31 37 36 45 9B7E-00065B2176E
37 40 32 30 32 2e 31 36 38 2e 31 32 2e 32 35 0d 7@202.168.12.25.
0a 43 53 65 71 3a 20 32 36 35 30 32 20 49 4e 56 .CSeq: 26502 INV
49 54 45 0d 0a 43 6f 6e 74 61 63 74 3a 20 3c 73 ITE..Contact: <s
69 70 3a 35 36 37 40 32 30 32 2e 31 36 38 2e 31 ip:567@202.168.1
32 2e 32 32 32 3e 0d 0a 4d 61 78 2d 46 6f 72 77 2.222>..Max-Forw
61 72 64 73 3a 20 37 30 0d 0a 43 6f 6e 74 65 6e ards: 70..Conten
74 2d 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 t-Type: applicat
69 6f 6e 2f 73 64 70 0d 0a 43 6f 6e 74 65 6e 74 ion/sdp..Content
2d 4c 65 6e 67 74 68 3a 20 20 20 33 30 33 0d 0a -Length: 303..
0d 0a 76 3d 30 0d 0a 6f 3d 35 36 37 20 35 38 35 ..v=0..o=567 585
32 32 31 31 38 33 20 35 38 35 32 32 31 31 38 33 221183 585221183
20 49 4e 20 49 50 34 20 32 30 32 2e 31 36 38 2e IN IP4 202.168.
31 32 2e 32 35 0d 0a 73 3d 58 2d 4c 69 74 65 0d 12.25..s=X-Lite.
0a 63 3d 49 4e 20 49 50 34 20 32 30 32 2e 31 36 .c=IN IP4 202.16
38 2e 31 32 2e 32 32 32 0d 0a 74 3d 30 20 30 0d 8.12.222..t=0 0.
0a 6d 3d 61 75 64 69 6f 20 37 30 37 30 20 52 54 .m=audio 7070 RT
50 2f 41 56 50 20 34 20 30 20 38 20 33 20 31 30 P/AVP 4 0 8 3 10
31 0d 0a 61 3d 72 74 70 6d 61 70 3a 34 20 47 37 1..a=rtpmap:4 G7
32 33 2f 38 30 30 30 0d 0a 61 3d 72 74 70 6d 61 23/8000..a=rtpma
70 3a 30 20 70 63 6d 75 2f 38 30 30 30 0d 0a 61 p:0 pcmu/8000..a
3d 72 74 70 6d 61 70 3a 38 20 70 63 6d 61 2f 38 =rtpmap:8 pcma/8
30 30 30 0d 0a 61 3d 72 74 70 6d 61 70 3a 33 20 000..a=rtpmap:3
67 73 6d 2f 38 30 30 30 0d 0a 61 3d 72 74 70 6d gsm/8000..a=rtpm
61 70 3a 31 30 31 20 74 65 6c 65 70 68 6f 6e 65 ap:101 telephone
2d 65 76 65 6e 74 2f 38 30 30 30 0d 0a 61 3d 66 -event/8000..a=f
6d 74 70 3a 31 30 31 20 30 2d 31 35 0d 0a 61 3d mtp:101 0-15..a=
72 74 70 6d 61 70 3a 31 32 36 20 78 2d 70 72 6f rtpmap:126 x-pro
2d 65 6e 63 72 79 70 74 65 64 2f 38 30 30 30 0d -encrypted/8000.
0a .
---end of BUFFER DUMP---
13:55:37 accessctl.c:54 deny list (SIP):*NULL*
13:55:37 accessctl.c:56 allow list (SIP):202.168.12.0/24
13:55:37 accessctl.c:58 allow list (REG):192.168.100.0/24,202.168.12.0/24
13:55:37 accessctl.c:154 [0] extracted address=202.168.12.0
13:55:37 accessctl.c:155 [0] extracted mask =24
13:55:37 utils.c:110 DNS lookup - from cache: 202.168.12.0 -> 202.168.12.0
13:55:37 accessctl.c:169 [0] (0xcaa80c00) <-> (0xcaa80c00)
13:55:37 accessctl.c:82 granted SIP access
13:55:37 accessctl.c:154 [0] extracted address=192.168.100.0
13:55:37 accessctl.c:155 [0] extracted mask =24
13:55:37 utils.c:110 DNS lookup - from cache: 192.168.100.0 -> 192.168.100.0
13:55:37 accessctl.c:169 [0] (0xc0a86400) <-> (0xcaa80c00)
13:55:37 accessctl.c:154 [1] extracted address=202.168.12.0
13:55:37 accessctl.c:155 [1] extracted mask =24
13:55:37 utils.c:110 DNS lookup - from cache: 202.168.12.0 -> 202.168.12.0
13:55:37 accessctl.c:169 [1] (0xcaa80c00) <-> (0xcaa80c00)
13:55:37 accessctl.c:97 granted REG/SIP access
13:55:37 siproxd.c:308 checking Max-Forwards (=70)
13:55:37 sip_utils.c:187 via name 202.168.12.25
13:55:37 sip_utils.c:207 resolving IP of interface eth0
13:55:37 utils.c:345 ifaddr lookup - from cache: eth0 -> 192.168.100.223 UP
13:55:37 sip_utils.c:207 resolving IP of interface eth1
13:55:37 utils.c:345 ifaddr lookup - from cache: eth1 -> 202.168.12.222 UP
13:55:37 siproxd.c:341 received SIP type REQ:INVITE
13:55:37 utils.c:345 ifaddr lookup - from cache: eth1 -> 202.168.12.222 UP
13:55:37 proxy.c:92 proxy_request
13:55:37 utils.c:110 DNS lookup - from cache: 202.168.12.25 -> 202.168.12.25
13:55:37 proxy.c:183 proxy_request: reghost:202.168.12.25 ip:202.168.12.222
13:55:37 utils.c:193 DNS lookup - resolved: 192.168.100.210 -> 192.168.100.210
13:55:37 utils.c:214 DNS lookup - store into cache, entry 5)
13:55:37 proxy.c:183 proxy_request: reghost:192.168.100.210 ip:202.168.12.222
13:55:37 sip_utils.c:252 comparing urls: sip:123@202.168.12.222 -> sip:567@202.168.12.222
13:55:37 sip_utils.c:273 compare_url: username mismatch
13:55:37 sip_utils.c:252 comparing urls: sip:123@202.168.12.222 -> sip:567@202.168.12.222
13:55:37 sip_utils.c:273 compare_url: username mismatch
13:55:37 sip_utils.c:252 comparing urls: sip:123@202.168.12.222 -> sip:123@192.168.100.223
13:55:37 utils.c:110 DNS lookup - from cache: 202.168.12.222 -> 202.168.12.222
13:55:37 utils.c:110 DNS lookup - from cache: 192.168.100.223 -> 192.168.100.223
13:55:37 sip_utils.c:303 compare_url: IP mismatch
13:55:37 sip_utils.c:252 comparing urls: sip:123@202.168.12.222 -> sip:123@192.168.100.223
13:55:37 utils.c:110 DNS lookup - from cache: 202.168.12.222 -> 202.168.12.222
13:55:37 utils.c:110 DNS lookup - from cache: 192.168.100.223 -> 192.168.100.223
13:55:37 sip_utils.c:303 compare_url: IP mismatch
13:55:37 INFO:proxy.c:220 Outgoing Call from: 567:202.168.12.222
13:55:37 proxy.c:351 request [INVITE] from/to unregistered UA (RQ: 567@202.168.12.222 -> 123@202.168.12.222)
13:55:37 sock.c:160 send UDP packet to 202.168.12.222: 5060
---BUFFER DUMP follows---
53 49 50 2f 32 2e 30 20 34 30 38 20 52 65 71 75 SIP/2.0 408 Requ
65 73 74 20 54 69 6d 65 6f 75 74 0d 0a 56 69 61 est Timeout..Via
3a 20 53 49 50 2f 32 2e 30 2f 55 44 50 20 32 30 : SIP/2.0/UDP 20
32 2e 31 36 38 2e 31 32 2e 32 32 32 3a 35 30 36 2.168.12.222:506
30 3b 62 72 61 6e 63 68 3d 7a 39 68 47 34 62 4b 0;branch=z9hG4bK
34 38 63 62 62 38 34 38 39 63 39 37 61 36 65 36 48cbb8489c97a6e6
33 66 33 63 61 63 38 66 37 64 37 32 64 30 37 66 3f3cac8f7d72d07f
0d 0a 56 69 61 3a 20 53 49 50 2f 32 2e 30 2f 55 ..Via: SIP/2.0/U
44 50 20 32 30 32 2e 31 36 38 2e 31 32 2e 32 35 DP 202.168.12.25
3a 35 30 36 30 0d 0a 46 72 6f 6d 3a 20 53 72 69 :5060..From: Sri
72 61 6d 20 3c 73 69 70 3a 35 36 37 40 32 30 32 ram <sip:567@202
2e 31 36 38 2e 31 32 2e 32 32 32 3e 3b 74 61 67 .168.12.222>;tag
3d 33 33 37 30 31 31 39 36 31 0d 0a 54 6f 3a 20 =337011961..To:
3c 73 69 70 3a 31 32 33 40 32 30 32 2e 31 36 38 <sip:123@202.168
2e 31 32 2e 32 32 32 3e 0d 0a 43 61 6c 6c 2d 49 .12.222>..Call-I
44 3a 20 30 30 38 32 41 44 34 33 2d 36 32 31 43 D: 0082AD43-621C
2d 31 31 44 38 2d 39 42 37 45 2d 30 30 30 36 35 -11D8-9B7E-00065
42 32 31 37 36 45 37 40 32 30 32 2e 31 36 38 2e B2176E7@202.168.
31 32 2e 32 35 0d 0a 43 53 65 71 3a 20 32 36 35 12.25..CSeq: 265
30 32 20 49 4e 56 49 54 45 0d 0a 43 6f 6e 74 65 02 INVITE..Conte
6e 74 2d 4c 65 6e 67 74 68 3a 20 30 0d 0a 0d 0a nt-Length: 0....
---end of BUFFER DUMP---
13:55:37 siproxd.c:225 going into sip_wait
regards
Sriram