OK,
i used ngrep to listen to dst port 5060 and this is what i got. Can
anyone look at it and try to help me out?
thanks,
interface: eth0 (198.144.32.0/255.255.255.0)
filter: ip and ( port 5060 )
match: dst
#
#
U my_phone_ip:5060 -> ser_server:5060
INVITE sip:94124818063@ser_server SIP/2.0..Via: SIP/2.0/UDP
198.144.32.7
1;branch=z9hG4bKf88766e9c5b3f444..From: "Srbo"
<sip:1000@ser_server>;tag
=c402c7247006301f..To: <sip:94124818063@ser_server>..Contact:
<sip:1000@
my_phone_ip>..Call-ID: e23ac0a48fed667d@my_phone_ip..CSeq: 53335
INVITE
..User-Agent: Grandstream 1.0.4.39..Max-Forwards: 70..Allow:
INVITE,ACK,CAN
CEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE..Content-Type:
application/sdp.
.Content-Length: 272....v=0..o=1000 8000 8000 IN IP4
my_phone_ip..s=SIP C
all..c=IN IP4 my_phone_ip..t=0 0..m=audio 5004 RTP/AVP 0 8 4 18 2
15..a=r
tpmap:0 PCMU/8000..a=rtpmap:8 PCMA/8000..a=rtpmap:4
G723/8000..a=rtpmap:18
G729/8000..a=rtpmap:2 G726-32/8000..a=rtpmap:15
G728/8000..a=ptime:10..
##
U ser_server:5060 -> gateway:5060
INVITE sip:4124818063@ser_server SIP/2.0..Record-Route:
<sip:94124818063
@ser_server;ftag=c402c7247006301f;lr=on>..Via: SIP/2.0/UDP ser_server
;branch=z9hG4bK0321.fd8a5247.0..Via: SIP/2.0/UDP
my_phone_ip;branch=z9hG4
bKf88766e9c5b3f444..From: "Srbo"
<sip:1000@ser_server>;tag=c402c72470063
01f..To: <sip:94124818063@ser_server>..Contact: <sip:1000@my_phone_ip>
..Call-ID: e23ac0a48fed667d@my_phone_ip..CSeq: 53335
INVITE..User-Agent:
Grandstream 1.0.4.39..Max-Forwards: 69..Allow:
INVITE,ACK,CANCEL,BYE,NOTIFY
,REFER,OPTIONS,INFO,SUBSCRIBE..Content-Type:
application/sdp..Content-Lengt
h: 272....v=0..o=1000 8000 8000 IN IP4 my_phone_ip..s=SIP Call..c=IN
IP4
my_phone_ip..t=0 0..m=audio 5004 RTP/AVP 0 8 4 18 2 15..a=rtpmap:0
PCMU/8
000..a=rtpmap:8 PCMA/8000..a=rtpmap:4 G723/8000..a=rtpmap:18
G729/8000..a=r
tpmap:2 G726-32/8000..a=rtpmap:15 G728/8000..a=ptime:10..
####
U my_phone_ip:5060 -> ser_server:5060
ACK sip:4124818063@ser_server:5060;maddr=gateway SIP/2.0..Via: SIP
/2.0/UDP my_phone_ip;branch=z9hG4bK5dd5e7460a81c8ef..Route:
<sip:94124818
063@ser_server;ftag=c402c7247006301f;lr=on>..From: "Srbo"
<sip:1000@198.
144.32.67>;tag=c402c7247006301f..To:
<sip:94124818063@ser_server>;tag=00
11-0024-EA84E121..Contact: <sip:1000@my_phone_ip>..Call-ID:
e23ac0a48fed6
67d@my_phone_ip..CSeq: 53335 ACK..User-Agent: Grandstream
1.0.4.39..Max-F
orwards: 70..Allow:
INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRI
BE..Content-Length: 0....
#
U ser_server:5060 -> voicemail:5090
ACK sip:4124818063@voicemail:5090;maddr=gateway SIP/2.0..Record-R
oute: <sip:4124818063@ser_server;ftag=c402c7247006301f;lr=on>..Via:
SIP/
2.0/UDP ser_server;branch=0..Via: SIP/2.0/UDP my_phone_ip;branch=z9hG4
bK5dd5e7460a81c8ef..From: "Srbo"
<sip:1000@ser_server>;tag=c402c72470063
01f..To:
<sip:94124818063@ser_server>;tag=0011-0024-EA84E121..Contact: <
sip:1000@my_phone_ip>..Call-ID: e23ac0a48fed667d@my_phone_ip..CSeq:
533
35 ACK..User-Agent: Grandstream 1.0.4.39..Max-Forwards: 69..Allow:
INVITE,A
CK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE..Content-Length:
0....
#############
U my_phone_ip:5060 -> ser_server:5060
SIP/2.0 200 OK..Via: SIP/2.0/UDP
ser_server;branch=z9hG4bK221a.a8d20722.
0..Via: SIP/2.0/UDP gateway:5060;branch=z9hG4bK-vega1-0007-0000-0028-
4D0F43B1..Record-Route:
<sip:1000@ser_server;ftag=0011-0024-EA84E121;lr=
on>..From: <sip:94124818063@ser_server>;tag=0011-0024-EA84E121..To:
"Srb
o" <sip:1000@ser_server>;tag=c402c7247006301f..Call-ID:
e23ac0a48fed667d
@my_phone_ip..CSeq: 20361664 BYE..User-Agent: Grandstream
1.0.4.39..Conta
ct: <sip:1000@my_phone_ip>..Allow:
INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPT
IONS,INFO,SUBSCRIBE..Content-Length: 0....
#
U ser_server:5060 -> gateway:5060
SIP/2.0 200 OK..Via: SIP/2.0/UDP gateway:5060;branch=z9hG4bK-vega1-00
07-0000-0028-4D0F43B1..Record-Route:
<sip:1000@ser_server;ftag=0011-0024
-EA84E121;lr=on>..From:
<sip:94124818063@ser_server>;tag=0011-0024-EA84E
121..To: "Srbo" <sip:1000@ser_server>;tag=c402c7247006301f..Call-ID:
e23
ac0a48fed667d@my_phone_ip..CSeq: 20361664 BYE..User-Agent:
Grandstream 1.
0.4.39..Contact: <sip:1000@my_phone_ip>..Allow:
INVITE,ACK,CANCEL,BYE,NOT
IFY,REFER,OPTIONS,INFO,SUBSCRIBE..Content-Length: 0....
On Monday, February 9, 2004, at 02:31 PM, Jan Janak wrote:
On 09-02 14:24, Srbislav Cvetkovic wrote:
Hello,
Have any of you had an experience with Grandstream BudgeTone phones?
My
outgoing calls are being dropped after 16 seconds. My system looks
like
this:
Grandstream phone --->
SER sip proxy ----> VEGA 50 SIP
gateway.
x-lite softphone ---->
When i make an outgoing call from my softphone it works fine. But not
with ip phone. After 16 sec. my VEGA gateway disconnects the call.
After talking to VEGA customer support they told me that my ip phone
is
not replying back to VEGA's ACK requests, and eventualy after 26 sec.
VEGA dropps the call. Does anyone out there have a similar setup or
ever experienced such a problem? I am running the latest firmware on
my
ip phone.
There is no reply to ACK and the gateway does not send any ACK in
this
case. The ACK is generated by Grandstram and x-lite. Use ngrep (or
similar tool) to check whether the grandstream phone gets 200 OK and
generates ACK.
Jan.
Srbo Cvetkovic | CityNet, Inc.
srbo(a)city-net.com | Pittsburgh, PA
voice: 412.481.5406 | fax: 412.431.1315