[asterisk-dev] SIP compliance question
Roy Sigurd Karlsbakk
roy at karlsbakk.net
Tue Oct 10 04:09:42 MST 2006
>> Actually it isn't. The trailing colon (':') is wrong. RFC3261
>> Sec 25
>> states (interesting bits quoted):
>> SIP-URI = "sip:" [ userinfo ] hostport
>> hostport = host [ ":" port ]
>> port = 1*DIGIT
>> So, either drop the colon, or add the port number. But you can't
>> have a
>> colon and no number.
>
> Yes, that's correct. I've missed this. If this isn't a copy/paste
> error then this is clearly a validation and a bug in Asterisk.
The pasted material was from the Swyx guys. When I do an ethereal
trace, I get ip:port at all times so it looks like Asterisk is ok
roy
---
"Humans mostly aren't particularly evil. They just get carried away
by new ideas, like dressing up in jackboots and shooting people, or
dressing up in white sheets and lynching people, or dressing up in
tie-dye jeans and playing guitars at people"
- Terry Pratchett
-------------------------------
Roy Sigurd Karlsbakk
roy at karlsbakk.net
More information about the asterisk-dev
mailing list