The best way would be to fix the user agent. SER would not know where to
forward the reply if it does not contain Via.
Jan.
On 02-06-2005 10:58, Dominik Schulte wrote:
> Hi,
>
> I am struggling with a problem where I have a UA that responds to invites but
> does not preserve the original request Via fields. see ngrep capture below.
> I can see that SER receives the reply, but drops it because it cannot correlate any transaction with this response.
> I tried to write a module that uses the tm modules callbacks, but it seems that response messages are dropped by the core.
>
> Is there any way I can validate responses that fall outside any transaction??
>
> #
> U 172.17.26.19:5060 -> 172.17.26.178:5060
> INVITE sip:dschulte@heat.callsuite.tellumat.co.za SIP/2.0.
> Via: SIP/2.0/UDP 172.17.26.19:5060;rport;branch=z9hG4bKE2FD4189B717447BB8192445A851777B.
> From: DOMINIKS PC SIP PHONE <sip:1200@heat.callsuite.tellumat.co.za>;tag=859273871.
> To: <sip:dschulte@heat.callsuite.tellumat.co.za>.
> Contact: <sip:1200@172.17.26.19:5060>.
> Call-ID: AF0EF5B2-5850-4573-A2FF-F1D50A6B2B65(a)172.17.26.19.
> CSeq: 656 INVITE.
> Max-Forwards: 70.
> Content-Type: application/sdp.
> User-Agent: X-Lite release 1103m.
> Content-Length: 293.
>
>
> #
> U 172.17.26.178:5060 -> 172.17.26.19:5060
> SIP/2.0 100 trying -- your call is important to us.
> Via: SIP/2.0/UDP 172.17.26.19:5060;rport=5060;branch=z9hG4bKE2FD4189B717447BB8192445A851777B.
> From: DOMINIKS PC SIP PHONE <sip:1200@heat.callsuite.tellumat.co.za>;tag=859273871.
> To: <sip:dschulte@heat.callsuite.tellumat.co.za>.
> Call-ID: AF0EF5B2-5850-4573-A2FF-F1D50A6B2B65(a)172.17.26.19.
> CSeq: 656 INVITE.
> Server: Sip EXpress router (0.8.14 (i386/linux)).
> Content-Length: 0.
> Warning: 392 172.17.26.178:5060 "Noisy feedback tells: pid=17762 req_src_ip=172.17.26.19 req_src_port=5060 in_uri=sip:dschulte@heat.callsuite.tellumat.co.za out_uri=sip:94099:1001@172.17.1.31 via_cnt==1".
> .
>
> #
> U 172.17.26.178:5060 -> 172.17.1.31:5060
> INVITE sip:94099:1001@172.17.1.31 SIP/2.0.
> Record-Route: <sip:dschulte@172.17.26.178;ftag=859273871;lr=on>.
> Via: SIP/2.0/UDP 172.17.26.178;branch=z9hG4bK33ab.6f0be065.0.
> Via: SIP/2.0/UDP 172.17.26.19:5060;rport=5060;branch=z9hG4bKE2FD4189B717447BB8192445A851777B.
> From: DOMINIKS PC SIP PHONE <sip:1200@heat.callsuite.tellumat.co.za>;tag=859273871.
> To: <sip:94099@172.17.1.31>>.
> Contact: <sip:1200@172.17.26.19:5060>.
> Call-ID: AF0EF5B2-5850-4573-A2FF-F1D50A6B2B65(a)172.17.26.19.
> CSeq: 656 INVITE.
> Max-Forwards: 69.
> Content-Type: application/sdp.
> User-Agent: X-Lite release 1103m.
> Content-Length: 293.
>
> #
> U 172.17.1.31:5060 -> 172.17.26.178:5060
> SIP/2.0 100 Trying.
> Via: SIP/2.0/UDP 172.17.26.178.
> `From: DOMINIKS PC SIP PHONE <sip:1200@heat.callsuite.tellumat.co.za>;tag=859273871.
> To: <sip:94099@172.17.1.31>;tag=viper94099.
> Call-ID: AF0EF5B2-5850-4573-A2FF-F1D50A6B2B65(a)172.17.26.19.
> CSeq: 656 INVITE.
> Content-Length: 0.
> .
>
>
> #
> U 172.17.1.31:5060 -> 172.17.26.178:5060
> SIP/2.0 180 Ringing.
> Via: SIP/2.0/UDP 172.17.26.178.
> From: DOMINIKS PC SIP PHONE <sip:1200@heat.callsuite.tellumat.co.za>;tag=859273871.
> To: "" <sip:94099@172.17.1.31>;tag=viper94099.
> Call-ID: AF0EF5B2-5850-4573-A2FF-F1D50A6B2B65(a)172.17.26.19.
> CSeq: 656 INVITE.
> Content-Length: 0.
> .
>
>
>
>
> #
> U 172.17.26.178:5060 -> 172.17.1.31:5060
> INVITE sip:94099:1001@172.17.1.31 SIP/2.0.
> Record-Route: <sip:dschulte@172.17.26.178;ftag=859273871;lr=on>.
> Via: SIP/2.0/UDP 172.17.26.178;branch=z9hG4bK33ab.6f0be065.0.
> Via: SIP/2.0/UDP 172.17.26.19:5060;rport=5060;branch=z9hG4bKE2FD4189B717447BB8192445A851777B.
> From: DOMINIKS PC SIP PHONE <sip:1200@heat.callsuite.tellumat.co.za>;tag=859273871.
> To: <sip:94099@172.17.1.31>>.
> Contact: <sip:1200@172.17.26.19:5060>.
> Call-ID: AF0EF5B2-5850-4573-A2FF-F1D50A6B2B65(a)172.17.26.19.
> CSeq: 656 INVITE.
> Max-Forwards: 69.
> Content-Type: application/sdp.
> User-Agent: X-Lite release 1103m.
> Content-Length: 293.
>
>
>
> **********************************************************************
> Relevant company disclaimers are available at the following addresses:
> Tellumat (Pty) Ltd e-mail: mailto:disclaimer@tellumat.com?Subject=Tellumat_Disclaimer
> Web: http://www.tellumat.com/email.aspx
> **********************************************************************
>
> _______________________________________________
> Serdev mailing list
> serdev(a)lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serdev
i add the following entries on the sip_jab.jusers table
insert into jusers values ('','user1jabber','password','sip:user1@sip.server.net',0);
insert into jusers values ('','user2jabber','password','sip:user1@sip.server.net',0);
i created user1jabber and user2jabber using exodus as jabber client
i created also user1 and user2 on ser whiwc is running on 192.168.1.70 (sip.server.net)
jabber is runninng also on the same machine : 192.168.1.70 (jabber.server.net)
jabber works fine, i have tested it;
DNS server : 195.167.203.168
i want the two users to communicate using IM
user1 is connecting to windows messenger : user1(a)sip.server.net
user2 is connecting to exodus : user2jabber(a)jabber.server.net
user1 send an IM to user2jabber using user2jabber*jabber.org(a)jabber.server.net
the problems are :
-user2jabber don't receive what user1 sends.
-also pa modules does not work : i have no response from the server when a SUBSCRIBE request is sent
(i added user3 as a contact to user1 )
please i need help
regards
/////////////////////////////////////////////////////////////////////////////////////
No. Time Source Destination Protocol Info
25 12.150821 192.168.1.118 195.167.203.168 DNS Standard query A sip.server.net
26 12.153145 195.167.203.168 192.168.1.118 DNS Standard query response A 192.168.1.70
27 12.160197 192.168.1.118 192.168.1.70 SIP Request: REGISTER sip:sip.server.net
28 12.164436 192.168.1.70 192.168.1.118 SIP Status: 200 OK (1 bindings)
29 12.166088 192.168.1.70 192.168.1.118 SIP Status: 200 Accepted (1 bindings)
30 12.169036 192.168.1.118 192.168.1.70 SIP Request: SUBSCRIBE sip:user3@sip.server.net
31 12.172514 192.168.1.70 192.168.1.118 SIP Status: 400 Bad Request
.....
171 21.841023 192.168.1.118 192.168.1.70 SIP/SDP Request: INVITE sip:user2jabber*jabber.org@jabber.server.net, with session description
172 21.843627 192.168.1.70 192.168.1.118 SIP Status: 202 Accepted
173 21.861278 192.168.1.118 192.168.1.70 SIP Request: ACK sip:user2jabber*jabber.org@jabber.server.net
174 21.862529 192.168.1.118 192.168.1.70 SIP Request: MESSAGE sip:user2abber*jabber.org@jabber.server.net (text/plain)
175 21.865357 192.168.1.70 192.168.1.118 SIP Status: 200 Accepted
.....
297 22.446316 192.168.1.118 192.168.1.70 SIP Request: BYE sip:user2jabber*jabber.org@jabber.server.net
Hi,
I am not an expert, but I think I have found a solution.
First, you should point serweb to your mysql database.
////////////////////////////////////////////////////////////////
// configure database
/* these are the defaults with which SER installs; if you
changed
the SER account for MySQl, you need to update here
*/
$this->db_host="127.0.0.1"; //database host
$this->db_name="ser"; //database name
$this->db_user="ser"; //database conection
user
$this->db_pass="heslo"; //database conection
password
In my case localhost but if I set localhost in $this->db_host it doesn't
work.
So, you must set IP Address...
Then, you should check if you can enter to MySQL with IP Address.
In my case:
mysql -h 127.0.0.1 -u ser -pheslo ser
Is not enough if you can enter with:
mysql -h localhost -u ser -pheslo ser
I think that will help.
RockV
>yup password error :-), can you connect to the db from the linux command
>line
>
>mysql -h a.b.c.d -u username -ppassword ser
>
>do this from the machine serweb is hosted on.
>
>Also I would avoid serweb until you have ser up and running properly,
>because serweb comes with its own little headaches :-)
>
>Iqbal
>
>Manoj Ghag wrote:
>
>> hi,
>> In case of MYSQL .. I am getting following ERROR when I try to open a
>> SERWEB....
>>
>>
>> *Warning*: mysql_pconnect(): Access denied for user: 'ser at test' (Using
>> password: YES) in */var/www/phplib/db_mysql.inc* on line *73*
>> *Database error:* pconnect(192.168.1.246, ser, $Password) failed.
>> *MySQL Error*: ()
>> Session halted.
>>
>>
>> ANY HELP ?
>>
>>
>> ------------------------------------------------------------------------
>> Yahoo! Mail
>> Stay connected, organized, and protected. Take the tour
>> <HYPERLINK
"http://tour.mail.yahoo.com/mailtour.html"http://tour.mail.yahoo.com/mailtou
r.html>
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>Serusers mailing list
>>Serusers at iptel.org
>>http://lists.iptel.org/mailman/listinfo/serusers
>>
>>
>
>
>
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.6.2 - Release Date: 04/06/2005
Hi guys,
We use ser, rtpproxy and sems.
It seems that some gateways(Cisco) doesn't send the Ringing, only the
100 Trying.
Is there a way to force UA to accept early media?
It seems that's some UA doesn't accept that early media (Grandstream
and Sipura), Eyebeam form Xten works correctly...
Any ideas?
Olivier
--
Olivier Taylor
Hello !
I am using SER with SEMS for voicemail, but, for now, the voicemail is
active only when the user is not authenticated. Does anybody has a
config sample for the voicemail to kick in after, let's say, few rings,
also when the user is authenticated ?
Thank you !
Hello,
I 've just came to the point of rolling my own billing that I have mysql
database with table "acc" and details of called party , accstart, acc
period and so on. I have another table that I have prefixes and prices for
T1,T2,T3 . My question is : do You have some howtos, scripts for rating
users?
I try bash for now but it is slow and not scalable in future.. what about
mysql shell or sth?
Could you send me some examples ?
I would appreciate that
Regards.....
--
Pozdrawiam,
Wojciech Ziniewicz
Optocomp sp.z.o.o, www.optocomp.pl
mailto: wojtekz(a)optocomp.pl
+48(0)691031535