<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.6944.0">
<TITLE>Re: [Serusers] PDT module</TITLE>
</HEAD>
<BODY>
<DIV dir=ltr id=idOWAReplyText37243>
<DIV dir=ltr><FONT color=#000000 face=Arial size=2>Hey Daniel,</FONT></DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Unfortunately, i do not maintain the
system at 80.234.135.99. However, i am not sure there is anything
wrong with their system anyway.... as you see, i have attempted to
dial from my UA once dialling a full address (in this case 3018 - at -
sip.prodec.tv) </FONT> which was responded to correctly, and once by
dialling 839503018 where 83950 should be translated as sip.prodec.tv using the
PDT module. Hence, ser should finally send the invite to 3018 - at -
sip.prodec.tv in the same was as if i dialled the full address manually, no?
There should be no difference, once that invite request, has left ser
(161.30.94.136) in how the remote system handles it. </DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>As you can see from the syslog:</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>ACC: transaction answered: method=INVITE, i-uri=sip:839503018 at
sip.dev.inmarsat.com, <A
href="mailto:o-uri=sip:3018@sip.prodec.tv">o-uri=sip:3018 at
sip.prodec.tv</A></DIV>
<DIV dir=ltr><BR> </DIV>
<DIV dir=ltr>ACC: transaction answered: method=INVITE, i-uri=sip:3018 at
sip.prodec.tv, <A href="mailto:o-uri=sip:3018@sip.prodec.tv">o-uri=sip:3018 at
sip.prodec.tv</A>, call_id=9C912086-C197-484D-8AD2-E261F1A3234A@161.30.94.150,
from=Dave Bath <sip:admin at sip.dev.inmarsat.com>;tag=2122510239,
code=487</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>for some reason using the pdt module appears to issue a malformed
invite request... unless soemthing in ser.cfg is not configured correctly.</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>Is my logic totally off? I appreciate your words of wisdom very
much...</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>Dave</DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Daniel-Constantin Mierla
[mailto:daniel@iptel.org]<BR><B>Sent:</B> Tue 10/08/2004 18:03<BR><B>To:</B>
Dave Bath<BR><B>Cc:</B> serusers@lists.iptel.org<BR><B>Subject:</B> Re: [Serusers] PDT
module<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>Hello,<BR>I see that the request was forwarded from
161.30.94.136:5060 to<BR>80.234.135.99:5060 and you get back a 100 trying. PDT
does its job on<BR>161.30.94.136, as far as I assume, so there should be a
problem on the<BR>other site 80.234.135.99, could you check that system
too?<BR><BR>Daniel<BR><BR>On 8/10/2004 12:06 PM, Dave Bath wrote:<BR><BR>>
Hey Daniel and all,<BR>><BR>> Many thanks for looking into this. The first
ngrep is dialling the<BR>> full address, the second is using the pdt
module.<BR>><BR>> ------------------------- BEGIN dialling full external
SIP address<BR>> ---------<BR>><BR>> U 161.30.94.150:5060 ->
161.30.94.136:5060<BR>><BR>> INVITE sip:3018@sip.prodec.tv SIP/2.0..Via:
SIP/2.0/UDP<BR>>
161.30.94.150:5060;rport;branch=z9hG4bKBAF99F2231994F0D9A5<BR>><BR>>
3836019EAC108..From: Dave Bath<BR>>
<sip:admin@sip.dev.inmarsat.com>;tag=399847332..To:<BR>>
<sip:3018@sip.prodec.tv>..Conta<BR>><BR>> ct:
<sip:admin@161.30.94.150:5060>..Call-ID:<BR>>
FC2BDDD4-9E47-4C5A-9034-4977FC86290D@161.30.94.150..CSeq: 35761
INVIT<BR>><BR>> E..Max-Forwards: 70..Content-Type:
application/sdp..User-Agent: X-Lite<BR>> release 1103m..Content-Length:
298....v=0..<BR>><BR>> o=admin 434214617 434214657 IN IP4
161.30.94.150..s=X-Lite..c=IN IP4<BR>> 161.30.94.150..t=0 0..m=audio 8000
RTP/AVP 0<BR>><BR>> 8 3 98 97 101..a=rtpmap:0 pcmu/8000..a=rtpmap:8
pcma/8000..a=rtpmap:3<BR>> gsm/8000..a=rtpmap:98
iLBC/8000..a=rtpmap:97<BR>><BR>> speex/8000..a=rtpmap:101
telephone-event/8000..a=fmtp:101 0-15..<BR>><BR>> #<BR>><BR>> U
161.30.94.136:5060 -> 161.30.94.150:5060<BR>><BR>> SIP/2.0 100 trying
-- your call is important to us..Via: SIP/2.0/UDP<BR>>
161.30.94.150:5060;rport=5060;branch=z9hG4bKB<BR>><BR>>
AF99F2231994F0D9A53836019EAC108..From: Dave Bath<BR>>
<sip:admin@sip.dev.inmarsat.com>;tag=399847332..To:
<sip:3018@sip<BR>><BR>> .prodec.tv>..Call-ID:<BR>>
FC2BDDD4-9E47-4C5A-9034-4977FC86290D@161.30.94.150..CSeq: 35761<BR>>
INVITE..Server: Sip EXpress<BR>><BR>> router (0.8.14
(i386/linux))..Content-Length: 0..Warning: 392<BR>> 161.30.94.136:5060 "Noisy
feedback tells: pid=13743<BR>><BR>> req_src_ip=161.30.94.150
req_src_port=5060<BR>> in_uri=sip:3018@sip.prodec.tv
out_uri=sip:3018@sip.prodec.tv via_cnt==<BR>><BR>> 1"....<BR>><BR>>
#<BR>><BR>> U 161.30.94.136:5060 -> 80.234.135.99:5060<BR>><BR>>
INVITE sip:3018@sip.prodec.tv SIP/2.0..Record-Route:<BR>>
<sip:3018@161.30.94.136;ftag=399847332;lr=on>..Via:
SIP/2.0/U<BR>><BR>> DP 161.30.94.136;branch=z9hG4bK51f6.ae27ae87.0..Via:
SIP/2.0/UDP<BR>>
161.30.94.150:5060;rport=5060;branch=z9hG4bKBAF99<BR>><BR>>
F2231994F0D9A53836019EAC108..From: Dave Bath<BR>>
<sip:admin@sip.dev.inmarsat.com>;tag=399847332..To:
<sip:3018@sip.pro<BR>><BR>> dec.tv>..Contact:
<sip:admin@161.30.94.150:5060>..Call-ID:<BR>>
FC2BDDD4-9E47-4C5A-9034-4977FC86290D@161.30.94.150..CSe<BR>><BR>> q: 35761
INVITE..Max-Forwards: 69..Content-Type:<BR>> application/sdp..User-Agent:
X-Lite release 1103m..Content-Length<BR>><BR>> : 298....v=0..o=admin
434214617 434214657 IN IP4<BR>> 161.30.94.150..s=X-Lite..c=IN IP4
161.30.94.150..t=0 0..m=audio 8<BR>><BR>> 000 RTP/AVP 0 8 3 98 97
101..a=rtpmap:0 pcmu/8000..a=rtpmap:8<BR>> pcma/8000..a=rtpmap:3
gsm/8000..a=rtpmap:98 iLBC/800<BR>><BR>> 0..a=rtpmap:97
speex/8000..a=rtpmap:101<BR>> telephone-event/8000..a=fmtp:101
0-15..<BR>><BR>> #<BR>><BR>> U 161.30.94.136:5060 ->
80.234.135.99:5060<BR>><BR>> INVITE sip:3018@sip.prodec.tv
SIP/2.0..Record-Route:<BR>>
<sip:3018@161.30.94.136;ftag=399847332;lr=on>..Via:
SIP/2.0/U<BR>><BR>> DP 161.30.94.136;branch=z9hG4bK51f6.ae27ae87.0..Via:
SIP/2.0/UDP<BR>>
161.30.94.150:5060;rport=5060;branch=z9hG4bKBAF99<BR>><BR>>
F2231994F0D9A53836019EAC108..From: Dave Bath<BR>>
<sip:admin@sip.dev.inmarsat.com>;tag=399847332..To:
<sip:3018@sip.pro<BR>><BR>> dec.tv>..Contact:
<sip:admin@161.30.94.150:5060>..Call-ID:<BR>>
FC2BDDD4-9E47-4C5A-9034-4977FC86290D@161.30.94.150..CSe<BR>><BR>> q: 35761
INVITE..Max-Forwards: 69..Content-Type:<BR>> application/sdp..User-Agent:
X-Lite release 1103m..Content-Length<BR>><BR>> : 298....v=0..o=admin
434214617 434214657 IN IP4<BR>> 161.30.94.150..s=X-Lite..c=IN IP4
161.30.94.150..t=0 0..m=audio 8<BR>><BR>> 000 RTP/AVP 0 8 3 98 97
101..a=rtpmap:0 pcmu/8000..a=rtpmap:8<BR>> pcma/8000..a=rtpmap:3
gsm/8000..a=rtpmap:98 iLBC/800<BR>><BR>> 0..a=rtpmap:97
speex/8000..a=rtpmap:101<BR>> telephone-event/8000..a=fmtp:101
0-15..<BR>><BR>> #<BR>><BR>> U 80.234.135.99:5060 ->
161.30.94.136:5060<BR>><BR>> SIP/2.0 100 Trying..Via: SIP/2.0/UDP<BR>>
161.30.94.136;branch=z9hG4bK51f6.ae27ae87.0..Via: SIP/2.0/UDP<BR>>
161.30.94.150:5<BR>><BR>>
060;rport=5060;branch=z9hG4bKBAF99F2231994F0D9A53836019EAC108..From:<BR>>
"Dave Bath" <sip:admin@sip.dev.inmarsat.com>;<BR>><BR>>
tag=399847332..To: <sip:3018@sip.prodec.tv>..Call-ID:<BR>>
FC2BDDD4-9E47-4C5A-9034-4977FC86290D@161.30.94.150..CSeq: 35<BR>><BR>> 761
INVITE..Content-Length: 0....<BR>><BR>> #<BR>><BR>> U
80.234.135.99:5060 -> 161.30.94.136:5060<BR>><BR>> SIP/2.0 180
Ringing..Via: SIP/2.0/UDP<BR>>
161.30.94.136;branch=z9hG4bK51f6.ae27ae87.0..Via: SIP/2.0/UDP<BR>>
161.30.94.150:<BR>><BR>>
5060;rport=5060;branch=z9hG4bKBAF99F2231994F0D9A53836019EAC108..Record-Route:<BR>>
<sip:sip.prodec.tv:5060;maddr=80.234<BR>><BR>>
.135.99>..Record-Route:<BR>>
<sip:3018@161.30.94.136;ftag=399847332;lr=on>..From: "Dave Bath"<BR>>
<sip:admin@sip.dev.inmars<BR>><BR>>
at.com>;tag=399847332..To:<BR>>
<sip:3018@sip.prodec.tv>;tag=q5elumfa3r..Call-ID:<BR>>
FC2BDDD4-9E47-4C5A-9034-4977FC86290D@<BR>><BR>> 161.30.94.150..CSeq: 35761
INVITE..Contact:<BR>> <sip:3018@sip.prodec.tv;gruu=do1iiw55>..Allow:
INVITE, ACK, CANCEL, BY<BR>><BR>> E, REFER, OPTIONS, NOTIFY, SUBSCRIBE,
PRACK, MESSAGE,<BR>> INFO..Content-Length: 0....<BR>><BR>>
-------------------- END dialling full sip address
----------------<BR>><BR>> -------------------- BEGIN dialling pdt code
----------------------<BR>><BR>> #<BR>><BR>> U 161.30.94.150:5060
-> 161.30.94.136:5060<BR>><BR>> INVITE
sip:839503018@sip.dev.inmarsat.com SIP/2.0..Via: SIP/2.0/UDP<BR>>
161.30.94.150:5060;rport;branch=z9hG4bK4702083<BR>><BR>>
ECD1D437DA04923E23027A6A5..From: Dave Bath<BR>>
<sip:admin@sip.dev.inmarsat.com>;tag=570031081..To:
<sip:839503018@sip.<BR>><BR>> dev.inmarsat.com>..Contact:
<sip:admin@161.30.94.150:5060>..Call-ID:<BR>>
EE63DA9A-C436-4598-B636-F3C8368E711E@161.30.9<BR>><BR>> 4.150..CSeq: 64028
INVITE..Max-Forwards: 70..Content-Type:<BR>> application/sdp..User-Agent:
X-Lite release 1103m..Cont<BR>><BR>> ent-Length: 298....v=0..o=admin
434296285 434296325 IN IP4<BR>> 161.30.94.150..s=X-Lite..c=IN IP4
161.30.94.150..t=0 0.<BR>><BR>> .m=audio 8000 RTP/AVP 0 8 3 98 97
101..a=rtpmap:0<BR>> pcmu/8000..a=rtpmap:8 pcma/8000..a=rtpmap:3
gsm/8000..a=rtpmap:9<BR>><BR>> 8 iLBC/8000..a=rtpmap:97
speex/8000..a=rtpmap:101<BR>> telephone-event/8000..a=fmtp:101
0-15..<BR>><BR>> #<BR>><BR>> U 161.30.94.136:5060 ->
161.30.94.150:5060<BR>><BR>> SIP/2.0 100 trying -- your call is important
to us..Via: SIP/2.0/UDP<BR>>
161.30.94.150:5060;rport=5060;branch=z9hG4bK4<BR>><BR>>
702083ECD1D437DA04923E23027A6A5..From: Dave Bath<BR>>
<sip:admin@sip.dev.inmarsat.com>;tag=570031081..To:
<sip:83950301<BR>><BR>> 8@sip.dev.inmarsat.com>..Call-ID:<BR>>
EE63DA9A-C436-4598-B636-F3C8368E711E@161.30.94.150..CSeq: 64028<BR>>
INVITE..Server:<BR>><BR>> Sip EXpress router (0.8.14
(i386/linux))..Content-Length: 0..Warning:<BR>> 392 161.30.94.136:5060 "Noisy
feedback tells<BR>><BR>> : pid=13743 req_src_ip=161.30.94.150
req_src_port=5060<BR>> in_uri=sip:839503018@sip.dev.inmarsat.com
out_uri=sip:3018<BR>><BR>> @sip.prodec.tv. via_cnt==1"....<BR>><BR>>
#<BR>><BR>> U 161.30.94.136:5060 -> 80.234.135.99:5060<BR>><BR>>
INVITE sip:3018@sip.prodec.tv. SIP/2.0..Record-Route:<BR>>
<sip:839503018@161.30.94.136;ftag=570031081;lr=on>..Via:
SIP<BR>><BR>> /2.0/UDP 161.30.94.136;branch=z9hG4bK705d.1d3e9f23.0..Via:
SIP/2.0/UDP<BR>> 161.30.94.150:5060;rport=5060;branch=z9hG4b<BR>><BR>>
K4702083ECD1D437DA04923E23027A6A5..From: Dave Bath<BR>>
<sip:admin@sip.dev.inmarsat.com>;tag=570031081..To:
<sip:839503<BR>><BR>> 018@sip.dev.inmarsat.com>..Contact:<BR>>
<sip:admin@161.30.94.150:5060>..Call-ID:<BR>>
EE63DA9A-C436-4598-B636-F3C8368E711E@<BR>><BR>> 161.30.94.150..CSeq: 64028
INVITE..Max-Forwards: 69..Content-Type:<BR>> application/sdp..User-Agent:
X-Lite release 110<BR>><BR>> 3m..Content-Length: 298....v=0..o=admin
434296285 434296325 IN IP4<BR>> 161.30.94.150..s=X-Lite..c=IN IP4
161.30.94.150<BR>><BR>> ..t=0 0..m=audio 8000 RTP/AVP 0 8 3 98 97
101..a=rtpmap:0<BR>> pcmu/8000..a=rtpmap:8 pcma/8000..a=rtpmap:3
gsm/8000..a=<BR>><BR>> rtpmap:98 iLBC/8000..a=rtpmap:97
speex/8000..a=rtpmap:101<BR>> telephone-event/8000..a=fmtp:101
0-15..<BR>><BR>> #<BR>><BR>> U 80.234.135.99:5060 ->
161.30.94.136:5060<BR>><BR>> SIP/2.0 100 Trying..Via: SIP/2.0/UDP<BR>>
161.30.94.136;branch=z9hG4bK705d.1d3e9f23.0..Via: SIP/2.0/UDP<BR>>
161.30.94.150:5<BR>><BR>>
060;rport=5060;branch=z9hG4bK4702083ECD1D437DA04923E23027A6A5..From:<BR>>
"Dave Bath" <sip:admin@sip.dev.inmarsat.com>;<BR>><BR>>
tag=570031081..To: <sip:839503018@sip.dev.inmarsat.com>..Call-ID:<BR>>
EE63DA9A-C436-4598-B636-F3C8368E711E@161.30.94.1<BR>><BR>> 50..CSeq: 64028
INVITE..Content-Length: 0....<BR>><BR>> #<BR>><BR>> ------- END
dialling with pdt module ---------------------------<BR>><BR>> In the
second case, there is nothing futher transmitted until a<BR>> request timed
out is received.<BR>><BR>> Many thanks for looking into
this…<BR>><BR>> Dave<BR>><BR>> -----Original Message-----<BR>>
From: Daniel-Constantin Mierla [<A
href="mailto:daniel@iptel.org">mailto:daniel@iptel.org</A>]<BR>> Sent: 10
August 2004 10:10<BR>> To: Dave Bath<BR>> Cc: serusers@lists.iptel.org<BR>>
Subject: Re: [Serusers] PDT module<BR>><BR>> we need network traffic dumps
(ngrep, ethereal) to see what happens there.<BR>><BR>>
Daniel<BR>><BR>> On 8/9/2004 4:23 PM, Dave Bath
wrote:<BR>><BR>>><BR>><BR>>><BR>><BR>>>I have been
trying to use the pdt module, and the idea seems<BR>> excellent. I have the
database up and running, and can enter codes.<BR>> Things seem to be
translated correctly, but the INVITE request is not<BR>> complete, and the
call always fails. Compare the following from the<BR>> log
file:<BR>><BR>>><BR>><BR>>><BR>><BR>>><BR>><BR>>>ACC:
transaction answered: method=INVITE,<BR>>
i-uri=sip:839503018@sip.dev.inmarsat.com,
o-uri=sip:3018@sip.prodec.tv<BR>><BR>>><BR>><BR>>><BR>><BR>>><BR>><BR>>>ACC:
transaction answered: method=INVITE,<BR>> i-uri=sip:3018@sip.prodec.tv,
o-uri=sip:3018@sip.prodec.tv,<BR>>
call_id=9C912086-C197-484D-8AD2-E261F1A3234A@161.30.94.150, from=Dave<BR>>
Bath <sip:admin@sip.dev.inmarsat.com>;tag=2122510239,
code=487<BR>><BR>>><BR>><BR>>><BR>><BR>>><BR>><BR>>>The
first is dialing using the pdt module, with my code<BR>>
8+395+0+<number> the second is directly dialing the full external<BR>>
domain address. The first fails, and I eventually get a timeout, the<BR>>
second connects no
problem.<BR>><BR>>><BR>><BR>>><BR>><BR>>><BR>><BR>>>Excerpts
from the ser.cfg
are:<BR>><BR>>><BR>><BR>>><BR>><BR>>><BR>><BR>>>
# loose-route processing<BR>><BR>>><BR>><BR>>> if
(loose_route()) {<BR>><BR>>><BR>><BR>>>
t_relay();<BR>><BR>>><BR>><BR>>>
break;<BR>><BR>>><BR>><BR>>>
};<BR>><BR>>><BR>><BR>>><BR>><BR>>><BR>><BR>>>
# we record-route all messages -- to make sure
that<BR>><BR>>><BR>><BR>>> # subsequent messages will go
through our proxy; that's<BR>><BR>>><BR>><BR>>> # particularly
good if upstream and downstream entities<BR>><BR>>><BR>><BR>>>
# use different transport protocol<BR>><BR>>><BR>><BR>>>
record_route();<BR>><BR>>><BR>><BR>>><BR>><BR>>><BR>><BR>>>
# label all transaction for accounting<BR>><BR>>><BR>><BR>>>
setflag(1);<BR>><BR>>><BR>><BR>>><BR>><BR>>><BR>><BR>>>
# Make sure we check the prefix tables<BR>><BR>>><BR>><BR>>>
prefix2domain();<BR>><BR>>><BR>><BR>>><BR>><BR>>><BR>><BR>>>before
the if (uri==myself)
statement.<BR>><BR>>><BR>><BR>>><BR>><BR>>><BR>><BR>>>I
have been bashing my head around and around for so long now, do you<BR>> have
any
ideas?!<BR>><BR>>><BR>><BR>>><BR>><BR>>><BR>><BR>>>Many
many thanks in
advance,<BR>><BR>>><BR>><BR>>><BR>><BR>>><BR>><BR>>>Dave<BR>><BR>>><BR>><BR>>><BR>><BR>>><BR>><BR>>>
/-------------------------------------/<BR>><BR>>><BR>><BR>>>
/Dave Bath/<BR>><BR>>><BR>><BR>>> /Inmarsat
LTD/<BR>><BR>>><BR>><BR>>> /Global Satellite
Communications/<BR>><BR>>><BR>><BR>>> /www.inmarsat.com <<A
href="http://www.inmarsat.com/">http://www.inmarsat.com/</A>>
/<BR>><BR>>><BR>><BR>>> /Regional BGAN
Engineer/<BR>><BR>>><BR>><BR>>> /07736
232085/<BR>><BR>>><BR>><BR>>> NOTE: The information contained
in this email is intended for the<BR>><BR>>> named recipients only, it
may be privileged and confidential. If you<BR>><BR>>> are not the
intended recipient, you must not copy distribute or take<BR>><BR>>> any
action in reliance upon it. No warranties or assurances are
made<BR>><BR>>> in relation to the safety and content of this email and
any<BR>><BR>>> attachments. No liability is accepted for any
consequences arising<BR>> from
it<BR>><BR>>><BR>><BR>>><BR>><BR>>><BR>><BR>>>------------------------------------------------------------------------<BR>><BR>>><BR>><BR>>>_______________________________________________<BR>><BR>>>Serusers
mailing list<BR>><BR>>>serusers@lists.iptel.org<BR>><BR>>><A
href="http://lists.iptel.org/mailman/listinfo/serusers">http://mail.iptel.org/mailman/listinfo/serusers</A><BR>><BR>>><BR>><BR>>><BR>><BR><BR><BR></FONT></P></DIV>
</BODY>
</HTML>