Thanks Jiri,
That did work around the problem.
Steve
-----Original Message-----
From: serusers-admin(a)iptel.org [mailto:serusers-admin@lists.iptel.org] On Behalf
Of Jiri Kuthan
Sent: Thursday, April 17, 2003 1:36 PM
To: Steve Lewis; serusers(a)lists.iptel.org
I think I've got it, my guess is it's a SER config issue, and
you should change uri=~"bluesky.com" to (
uri=~"bluesky.com ||
uri=~"[@:]192\.168\.168\.20").
This is what I think that happens:
- the telephone sends a REGISTER to .20 with .20 in request-uri
- In config file, there is a domain condition
if (uri=~"bluesky.com") { /* doesn't match ... */ } else
t_relay(); i.e., the request is recognized as for other
domain and forwarded to it
- However,
bluesky.com resolves to .20, i.e., SER resends the
request to itself. The pre-last looping attempt cuts off message
tail and the last loop cycle results in a complain about
broken message.
a question to me is whether the GS phone is able to put hostname
in request-uri. If not, that would be a shortcoming which would
make multidomain hosting difficult.
-Jiri
At 10:22 PM 4/17/2003, Steve Lewis wrote:
Configuration file attached.
-----Original Message-----
From: serusers-admin(a)iptel.org [mailto:serusers-admin@lists.iptel.org] On Behalf
Of Jiri Kuthan
Sent: Thursday, April 17, 2003 1:18 PM
To: Steve Lewis; serusers(a)lists.iptel.org
Can you send me your config file too -- I'm having difficulties to
reproduce the error. The GS message in the pcap file is apparently ok.
If that does not bring me any further, would you mind generating
a core for us? It would take inserting an abort after the error message
(msg_parser.c, #173).
Thanks,
-jiri
At 08:15 PM 4/17/2003, Steve Lewis wrote:
>Jiri,
>
>Attached is a dump of the message from ethereal.
>
>
>
>-----Original Message-----
>From: Jiri Kuthan [mailto:jiri@iptel.org]
>Sent: Thursday, April 17, 2003 11:04 AM
>To: Steve Lewis; serusers(a)lists.iptel.org
>
>Would you mind sending us a complete message dump, at best in hex?
>(ngrep -x) It seems that the header is not properly terminated.
>(Which is what I can't see from a copied header field line.)
>
>Thanks,
>
>-Jiri
>
>At 07:46 PM 4/17/2003, Steve Lewis wrote:
>
>>Hi All,
>>
>>
>>
>>Has anyone got a Grandstream Budgettel SIP phone to work successfully
with
>8.10 version of SER. When Attempting to register I
get an error with what
>appears to be the Allow header.
>>
>>
>>
>>
>>
>>Actual header value is from phone is (from ethereal capture is):
>>
>>
>>
>>Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, OPTIONS
>>
>>
>>
>>Log Entry
>>
>>Apr 17 10:39:52 mercedes /usr/local/sbin/ser[31505]: ERROR:
get_hdr_field:
bad body for
<Allow>(1048576)
Apr 17 10:39:52 mercedes /usr/local/sbin/ser[31505]: ERROR: bad header
field
Apr 17 10:39:52 mercedes /usr/local/sbin/ser[31505]: ERROR:
build_res_buf_from_sip_req: alas, parse_headers failed
Any help would be appreciated.
Steve
--
Jiri Kuthan
http://iptel.org/~jiri/
--
Jiri Kuthan
http://iptel.org/~jiri/
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
--
Jiri Kuthan
http://iptel.org/~jiri/
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers