[Serusers] fed up and need guidance
Nils Ohlmeier
nils at iptel.org
Wed Apr 16 16:26:51 CEST 2003
On Wednesday 16 April 2003 16:09, Mat Harris wrote:
> using msn messenger i can connect to the ser server at my house from my
> home lan. i cannot connect to the server at work nor can i connect from
> work to my house.
>
> if i use sipsack from the server itself i get
>
> [3:03pm]maiden:~% /usr/local/bin/sipsak-0.8.1/sipsak -T -s \
> sip:matthewh at genestate.com
> warning: IP extract from warning activated to be more informational
> 0: 10.194.217.5 (0.972 ms) SIP/2.0 483 Too Many Hops
> 1: 10.194.217.5 (7.596 ms) SIP/2.0 483 Too Many Hops
> 2: 10.194.217.5 (11.760 ms) SIP/2.0 483 Too Many Hops
> 3: 10.194.217.5 (18.771 ms) SIP/2.0 483 Too Many Hops
> 4: 10.194.217.5 (26.441 ms) SIP/2.0 483 Too Many Hops
> 5: 10.194.217.5 (33.709 ms) SIP/2.0 483 Too Many Hops
> 6: 10.194.217.5 (53.847 ms) SIP/2.0 483 Too Many Hops
> 7: 10.194.217.5 (66.244 ms) SIP/2.0 483 Too Many Hops
> 8: 10.194.217.5 (76.296 ms) SIP/2.0 483 Too Many Hops
> 9: 10.194.217.5 (87.163 ms) SIP/2.0 483 Too Many Hops
This is an endless loop. Which means their is a problem with the
configuration.
If i lookup the IP for genestate.com i get 62.78.46.80. If understand it right
you just forwards the port 5060 from the public IP to the private IP
10.194.217.5, right?
In this case the uri==myself will not work, because Ser will just listen on
the private IP (which DNS name this have ever). Because of this every request
hits the t_relay, which looks up the destination IP (62.78.46.80) and send it
their again. You can try to add 'alias=genstate.com', but generaly you will
encounter probably MANY problems with Network Address Tranlastion (NAT). And
if you use NAT on both sides of the setup this will probably not work without
additional work.
Regards
Nils Ohlmeier
> and that goes on forever. it just times out if i do the -vv option.
>
> all the while this is going on, i get messages like these in the message
> log:
>
> Apr 16 14:33:56 maiden ./ser[2342]: ERROR: get_hdr_field: bad body for
> <User-Agent>(4194304)
> Apr 16 14:33:56 maiden ./ser[2342]: ERROR: bad header field
> Apr 16 14:33:56 maiden ./ser[2342]: ERROR: build_res_buf_from_sip_req:
> alas, parse_headers failed
> Apr 16 14:33:56 maiden ./ser[2345]: ERROR: get_hdr_field: bad body for
> <User-Agent>(4194304)
> Apr 16 14:33:56 maiden ./ser[2345]: ERROR: bad header field
> Apr 16 14:33:56 maiden ./ser[2345]: ERROR: build_res_buf_from_sip_req:
> alas, parse_headers failed
> Apr 16 14:33:58 maiden ./ser[2343]: ERROR: get_hdr_field: bad body for
> <User-Agent>(4194304)
> Apr 16 14:33:58 maiden ./ser[2343]: ERROR: bad header field
> Apr 16 14:33:58 maiden ./ser[2343]: ERROR: build_res_buf_from_sip_req:
> alas, parse_headers failed
>
> i have posted my config to my site
> (http://www.genestate.com/debug/sip/ser.cfg)
>
> i have not taken any special steps as far as firewall routing or anything
> like that other than forwarding port 5060 as i said previously.
>
> I do not know anything about the config directives you just spoke of so I
> do not know how to answer you.
>
> i think the beast thing would be for me to start from scratch and do it
> properly with help from someone who knows more that me as I have probably
> screwed this attemp :)
>
> thanks again
More information about the sr-users
mailing list