On Tue, 2007-02-13 at 09:57 +0100, samuel wrote:
It seems that the phone is not sending the Req-URI
(the other party
SIP address) in the (probably) INVITE. I guess there's something
misconfigured in the phone...
How are you calling from one phone to the other?
Which phone are you using? How have you configured it?
I use different software
phone kphone, ekiga.
kphone:
User part of SIP URL: gmario
Host part of SIP URL: hostname (
pippo.pluto.org)
Outbound Proxy : hostname (
pippo.pluto.org)
Authentication Username: gmario
q-value : (empty)
Auto register : yes
ekiga:
Account name : Name Surname
Registrar : hostname (
pippo.pluto.org)
user : provauser
Password : Correct Password
Authentication login: provauser
Realm/Domain : hostname (
pippo.pluto.org)
Registration Timeout: 3600
Can you get any network capture (ethereal,ngrep,...)
of the involved paquets?
Yes, i have a Ethereal's Capture file. SIP messages exchanged between
two clients kphone and ser (0.9.7):
INVITE sip:dmura@netbox.ca.infn.it SIP/2.0\r\n
Via: SIP/2.0/UDP xxx.xxx.xxx.xxx;branch=z9hG4bK3ED49CED\r\n
CSeq: 5701 INVITE\r\n
To: <sip:dmura@netbox.ca.infn.it>\r\n
Content-Type: application/sdp\r\n
From: "Gian Mario" <sip:gmario@netbox.ca.infn.it>;tag=537FDEE8\r\n
Call-ID: 1000039187(a)xxx.xxx.xxx.xxx\r\n
Subject: sip:gmario@netbox.ca.infn.it\r\n
Content-Length: 230\r\n
User-Agent: kphone/4.2\r\n
Contact: "Gian Mario" <sip:gmario@xxx.xxx.xxx.xxx;transport=udp>\r\n
\r\n
v=0\r\n
o=username 0 0 IN IP4 xxx.xxx.xxx.xxx\r\n
s=The Funky Flow\r\n
c=IN IP4 xxx.xxx.xxx.xxx\r\n
t=0 0\r\n
m=audio 33462 RTP/AVP 3 97 0 8\r\n
a=rtpmap:0 PCMU/8000\r\n
a=rtpmap:3 GSM/8000\r\n
a=rtpmap:8 PCMA/8000\r\n
a=rtpmap:97 iLBC/8000\r\n
a=fmtp:97 mode=30\r\n
SIP/2.0 100 trying -- your call is important to us\r\n
Via: SIP/2.0/UDP xxx.xxx.xxx.xxx;branch=z9hG4bK3ED49CED\r\n
CSeq: 5701 INVITE\r\n
To: <sip:dmura@netbox.ca.infn.it>\r\n
From: "Gian Mario" <sip:gmario@netbox.ca.infn.it>;tag=537FDEE8\r\n
Call-ID: 1000039187(a)xxx.xxx.xxx.xxx\r\n
Server: Sip EXpress router (0.9.6-sems (i386/linux))\r\n
Content-Length: 0\r\n
Warning: 392 xxx.xxx.xxx.xxx:5060 "Noisy feedback tells: pid=22651
req_src_ip=xxx.xxx.xxx.xxx req_src_port=5060
in_uri=sip:dmura@netbox.ca.infn.it
out_uri=sip:dmura@xxx.xxx.xxx.xxx;transport=udp via_cnt==1"\r\n
\r\n
SIP/2.0 479 Regretfully, we were not able to process the URI
(479/TM)\r\n
Via: SIP/2.0/UDP xxx.xxx.xxx.xxx;branch=z9hG4bK3ED49CED\r\n
CSeq: 5701 INVITE\r\n
To:
<sip:dmura@netbox.ca.infn.it>;tag=335a3dd9818e889dfa3f53a8496b53b6-9084
\r\n
From: "Gian Mario" <sip:gmario@netbox.ca.infn.it>;tag=537FDEE8\r\n
Call-ID: 1000039187(a)xxx.xxx.xxx.xxx\r\n
Server: Sip EXpress router (0.9.6-sems (i386/linux))\r\n
Content-Length: 0\r\n
Warning: 392 xxx.xxx.xxx.xxx:5060 "Noisy feedback tells: pid=22651
req_src_ip=xxx.xxx.xxx.xxx req_src_port=5060
in_uri=sip:dmura@netbox.ca.infn.it
out_uri=sip:dmura@xxx.xxx.xxx.xxx;transport=udp via_cnt==1"\r\n
\r\n
ACK sip:dmura@netbox.ca.infn.it SIP/2.0\r\n
Via: SIP/2.0/UDP xxx.xxx.xxx.xxx;branch=z9hG4bK3ED49CED\r\n
CSeq: 5701 ACK\r\n
To:
<sip:dmura@netbox.ca.infn.it>;tag=335a3dd9818e889dfa3f53a8496b53b6-9084
\r\n
From: "Gian Mario" <sip:gmario@netbox.ca.infn.it>;tag=537FDEE8\r\n
Call-ID: 1000039187(a)xxx.xxx.xxx.xxx\r\n
Content-Length: 0\r\n
User-Agent: kphone/4.2\r\n
Contact: "Gian Mario" <sip:gmario@xxx.xxx.xxx.xxx;transport=udp>\r\n
\r\n
I test ser mainly with two machine, in the first i have install ubuntu
Edgy while in the second Fedora core 6. When i start ser ( Friday
afternoon ) i can make call or send messages from ubuntu machine to
fedora one but not vice versa. I left ser on in this weekend and this
morning i try again, but i can't make call form no one machine. The
error ser gives me back is the (for me) usual:
0(971) ERROR: parse_uri: uri too short: <NULL> (4)
0(971) ERROR: uri2proxy: bad_uri: NULL
0(971) ERROR: t_forward_nonack: failure to add branches
Samuel.
Thanks Samuel
2007/2/13, GMario <gianmario.mereu(a)ca.infn.it>it>:
> Hi all,
> I'm trying to set-up a server ser. I have a basic installation with
> mysql. My script is a basic script, but when i try to make a phone
> between two user (or send a text message), the call isn't go and in the
> standard output i read this error:
>
> ERROR: parse_uri: uri too short: <NULL> (4)
> ERROR: uri2proxy: bad_uri: NULL
>
> With google i don't found anything.
> (in attachment i put my config file)
>
> Anyone can help me?
>
> Tanks in advance.
>
> --
> GMario
>
> PS: Sorry for my English, this one is my first email write in this
> language.
>
> _______________________________________________
> Serusers mailing list
> Serusers(a)lists.iptel.org
>
http://lists.iptel.org/mailman/listinfo/serusers
>
>
>