[Kamailio-Users] Bad URI

Daniel-Constantin Mierla miconda at gmail.com
Wed Jan 27 17:58:20 CET 2010



On 1/27/10 5:52 PM, Jon Farmer wrote:
> 2010/1/27 Iñaki Baz Castillo<ibc at aliax.net>:
>    
>> El Miércoles, 27 de Enero de 2010, escribió:
>>      
>>> 2010/1/27 Iñaki Baz Castillo<ibc at aliax.net>:
>>>        
>>>> El Miércoles, 27 de Enero de 2010, Jon Farmer escribió:
>>>>          
>>>>> Hi
>>>>>
>>>>> Does anyone know why I am getting
>>>>>
>>>>> ERROR: parse_uri: bad host in uri (error at char
>>>>>
>>>>> from this ( i hidden the domain and IP)
>>>>>            
>>>> How does the domain look? To show it replace the letters but keep the
>>>> symbols (as underscore and so).
>>>>          
>>> Hi,
>>>
>>> Sorry I am not entirely sure what you mean could you give me an example
>>>   please.
>>>
>>>        
>> Hi, please keep the thread in the maillist.
>>
>> I just mean that, to keep your domain hidden, just change the letters but no
>> the symbols. Example:
>>
>> - Real domain:   mycompany-cool-voip.com
>> - Showed domain: lalalaala-lolo-lili.com
>>
>> --
>> Iñaki Baz Castillo<ibc at aliax.net>
>>
>>      
> Sorry about the wrong reply address, blame gmail :-)
>
>    

the function is used in may places, it might be due to setting a new uri 
with wrong format, not specific to initial received message. If you load 
values from database or you compose them in config, check the input values.

Cheers,
Daniel


> Here you go
>
>
> INVITE sip:01684299007 at mydomain.net:5060 SIP/2.0.
> Via: SIP/2.0/UDP
> 192.168.20.240:5060;branch=z9hG4bK-d8754z-ed473d0ab724045f-1---d8754z-;rport.
> Max-Forwards: 70.
> Contact:<sip:500 at 78.32.132.193:5060>.
> To:<sip:01684299007 at mydomain.net:5060>.
> From: "Michele "<sip:500 at mydomain.net:5060>;tag=fd5b583a.
> Call-ID: NzU1MTZiMjZjZGM0ZTY5ZmFhMWRjNDlkNGQxZTZmODM..
> CSeq: 2 INVITE.
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY,
> REFER, INFO.
> Content-Type: application/sdp.
> User-Agent: 3CXPhoneSystem 7.0.4708.0.
> Authorization: Digest
> username="500",realm="mydomain.net",nonce="4b606dcc81900a95d9962d3c737cc570e624d409",uri="sip:01684299007 at mydomain.net:5060",response="1ac466e73c744ed5936179152b5b27d4",algorithm=MD5.
> Content-Length: 278.
> .
> v=0.
> o=3cxPS 444025798656 5368709121 IN IP4 78.32.132.193.
> s=3cxPS Audio call.
> c=IN IP4 78.32.132.193.
> t=0 0.
> m=audio 9000 RTP/AVP 0 8 3 101.
> c=IN IP4 78.32.132.193.
> a=rtpmap:0 PCMU/8000.
> a=rtpmap:8 PCMA/8000.
> a=rtpmap:3 GSM/8000.
> a=rtpmap:101 telephone-event/8000.
> a=sendrecv.
>
>
>    

-- 
Daniel-Constantin Mierla
* http://www.asipto.com/




More information about the Users mailing list