[Serusers] PDT problem

Alessio Focardi alessiof at interconnessioni.it
Thu Nov 13 12:43:17 CET 2003


Hello Daniel-Constantin,

Thursday, November 13, 2003, 12:25:45 PM, you wrote:

DCM> Hello,
DCM> please double-check if the number you dial directly with xlite is the 
DCM> same with the one after the prefix. I can't see other issue yet. Is "403 
DCM> No relay" the exactly reply you get from iptel? I will look into our 
DCM> config file to see when it occurs.

from the web page of pdt module

Domain Name  iptel.org
Domain Code  21120  

from the cfg file

modparam("pdt", "prefix", "2")
modparam("pdt", "start_range", 2000)
modparam("pdt", "hsize_2pow", 2)

I dial

2-21120-89722016

transcript of ser actions, with comments


16(15421) SIP Request:
16(15421)  method:  <INVITE>
16(15421)  uri:     <sip:22112089722016 at sferica.net>
16(15421)  version: <SIP/2.0>
16(15421) parse_headers: flags=1
16(15421) Found param type 235, <rport> = <n/a>; state=6
16(15421) Found param type 232, <branch> = <z9hG4bK367F8660D3154A0286DE674B538E9ACB>; state=16
16(15421) end of header reached, state=5
16(15421) parse_headers: Via found, flags=1
16(15421) parse_headers: this is the first via
16(15421) After parse_msg...
16(15421) preparing to run routing scripts...
16(15421) DEBUG : is_maxfwd_present: searching for max_forwards header
16(15421) parse_headers: flags=128
16(15421) end of header reached, state=9
16(15421) DEBUG: get_hdr_field: <To> [34]; uri=[sip:22112089722016 at sferica.net]
16(15421) DEBUG: to body [<sip:22112089722016 at sferica.net>
]
16(15421) get_hdr_field: cseq <CSeq>: <59025> <INVITE>
16(15421) DEBUG: is_maxfwd_present: value = 70

> sip address is converted

16(15421) PDT: update_new_uri: sip:89722016 at iptel.org
16(15421) DEBUG: add_param: tag=4258718596
16(15421) end of header reached, state=29
16(15421) parse_headers: flags=256
16(15421) DEBUG: get_hdr_body : content_length=302
16(15421) found end of header
16(15421) find_first_route(): No Route headers found
16(15421) loose_route(): There is no Route HF
16(15421) check_self - checking if host==us: 10==9 &&  [iptel.org] == [127.0.0.1]
16(15421) check_self - checking if host==us: 10==14 &&  [iptel.org] == [212.141.166.70]
16(15421) check_self - checking if host==us: 10==12 &&  [iptel.org] == [192.168.0.70]
16(15421) check_self: host != me
16(15421) DEBUG: t_addifnew: msg id=12 , global msg id=11 , T on entrance=0xffffffff
16(15421) parse_headers: flags=-1
16(15421) parse_headers: flags=60
16(15421) t_lookup_request: start searching: hash=5702, isACK=0
16(15421) DEBUG: RFC3261 transaction matching failed
16(15421) DEBUG: t_lookup_request: no transaction found
16(15421) SER: new INVITE
16(15421) parse_headers: flags=-1
16(15421) check_via_address(212.141.166.162, 212.141.166.162, 0)
16(15421) WARNING:vqm_resize: resize(0) called
16(15421) DEBUG: reply sent out. buf=0x80b8508: SIP/2.0 1..., shmem=0x402f97e8: SIP/2.0 1
16(15421) DEBUG: t_reply: finished
16(15421) DEBUG: mk_proxy: doing DNS lookup...

> sip server of iptel.org is found

16(15421) sip_resolvehost: SRV(_sip._udp.iptel.org) = sip.iptel.org:5060
16(15421) check_via_address(212.141.166.162, 212.141.166.162, 0)
16(15421) DEBUG: add_to_tail_of_timer[4]: 0x402f8c9c
16(15421) DEBUG: add_to_tail_of_timer[0]: 0x402f8cb4
16(15421) SER: new transaction fwd'ed
16(15421) receive_msg: cleaning up

> response is received ???


11(15401) SIP Reply  (status):
11(15401)  version: <SIP/2.0>
11(15401)  status:  <403>
11(15401)  reason:  <No relaying>
11(15401) parse_headers: flags=1
11(15401) Found param type 232, <branch> = <z9hG4bK6461.1115f6c3.0>; state=16
11(15401) end of header reached, state=5
11(15401) parse_headers: Via found, flags=1
11(15401) parse_headers: this is the first via
11(15401) After parse_msg...
11(15401) forward_reply: found module tm, passing reply to it
11(15401) DEBUG: t_check: msg id=10 global id=9 T start=0xffffffff
11(15401) parse_headers: flags=17
11(15401) Found param type 235, <rport> = <5060>; state=6
11(15401) Found param type 232, <branch> = <z9hG4bK367F8660D3154A0286DE674B538E9ACB>; state=16
11(15401) end of header reached, state=5
11(15401) parse_headers: Via found, flags=17
11(15401) parse_headers: this is the second via
11(15401) DEBUG: add_param: tag=794fe65c16edfdf45da4fc39a5d2867c.f493
11(15401) end of header reached, state=29
11(15401) DEBUG: get_hdr_field: <To> [76]; uri=[sip:22112089722016 at sferica.net]
11(15401) DEBUG: to body [<sip:22112089722016 at sferica.net>]
11(15401) get_hdr_field: cseq <CSeq>: <59025> <INVITE>
11(15401) parse_headers: flags=4
11(15401) DEBUG: t_reply_matching: hash 5702 label 1013928209 branch 0
11(15401) DEBUG: t_reply_matching: reply matched (T=0x402f8b68)!
11(15401) DEBUG: t_check: msg id=10 global id=10 T end=0x402f8b68
11(15401) DEBUG: t_on_reply: org. status uas=100, uac[0]=0 local=0 is_invite=1)
11(15401) parse_headers: flags=4
11(15401) ->>>>>>>>> T_code=100, new_code=403
11(15401) DEBUG: relay_reply: branch=0, save=0, relay=0
11(15401)  old size: 675, new size: 612
11(15401) build_res_from_sip_res: copied size: orig:88, new: 25, rest: 587 msg=





-- 
Best regards,
 Alessio                            mailto:alessiof at interconnessioni.it




More information about the sr-users mailing list