Hi, uwe, Great, it is ok. Thanks for your help!
-----Original Message----- From: Uwe Kastens [mailto:ki...@kiste.org] Sent: 2009年6月19日 15:23 To: XIN Xiuhe Cc: users@lists.opensips.org Subject: Re: [OpenSIPS-Users] Basic call failed Hi, looks like your opensips will handle @40.0.0.164 as not local, so it will not ask your location db. Maybe you should entry the domain 40.0.0.164 in your domain table in mysql BR Uwe XIN Xiuhe schrieb: > Hi, Please find attached logfile. thanks > > -----Original Message----- > From: Uwe Kastens [mailto:ki...@kiste.org] > Sent: 2009年6月19日 14:33 > To: XIN Xiuhe > Cc: users@lists.opensips.org > Subject: Re: [OpenSIPS-Users] Basic call failed > > Hi, > > that looks ok. Could you please make a call with opensips at > debuglevel > 9 at post the logfile? > > BR > > uwe > > > > XIN Xiuhe schrieb: >> mysql> select * from location; >> +----+----------+--------+------------------------------+----------+------+---------------------+-------+---------------------+------+---------------------+-------+--------+---------------------+---------------------+---------+ >> | id | username | domain | contact | received | path | >> expires | q | callid | cseq | last_modified >> | flags | cflags | user_agent | socket | methods | >> +----+----------+--------+------------------------------+----------+------+---------------------+-------+---------------------+------+---------------------+-------+--------+---------------------+---------------------+---------+ >> | 11 | 33330004 | NULL | sip:33330...@40.0.0.165:5060 | NULL | NULL | >> 2009-06-19 13:41:26 | -1.00 | 1569339300-27981165 | 2 | 2009-06-19 >> 12:41:26 | 0 | 0 | Alcatel-Lucent ISAM | udp:40.0.0.164:7060 | >> 3199 | >> | 12 | 33330003 | NULL | sip:33330...@40.0.0.165:5060 | NULL | NULL | >> 2009-06-19 13:41:28 | -1.00 | 1570548700-27981169 | 2 | 2009-06-19 >> 12:41:28 | 0 | 0 | Alcatel-Lucent ISAM | udp:40.0.0.164:7060 | >> 3199 | >> +----+----------+--------+------------------------------+----------+------+---------------------+-------+---------------------+------+---------------------+-------+--------+---------------------+---------------------+---------+ >> 2 rows in set (0.00 sec) >> >> mysql> >> >> >> -----Original Message----- >> From: Uwe Kastens [mailto:ki...@kiste.org] >> Sent: 2009年6月19日 12:47 >> To: XIN Xiuhe >> Cc: users@lists.opensips.org >> Subject: Re: [OpenSIPS-Users] Basic call failed >> >> Hi, >> >> Are you working with a database? So what will the location table entries >> look like? eq select * from location where user="33330004" >> >> BR >> >> Uwe >> >> >> XIN Xiuhe schrieb: >>> Hi, uwe >>> >>> Please find attached opensips.cfg. >>> >>> For this question: What will the contact from the location service show you >>> for Users? >>> I don't know what you mean, do you mean user A and B's contact info? >>>> user A: contact info is 33330...@40.0.0.165, uri is 33330...@40.0.0.164 >>>> user B: contact info is 33330...@40.0.0.165 , uri is 33330...@40.0.0.164 >>> Thanks for your help! >>> >>> xxh >>> >>> -----Original Message----- >>> From: Uwe Kastens [mailto:ki...@kiste.org] >>> Sent: 2009年6月19日 12:15 >>> To: XIN Xiuhe >>> Cc: users@lists.opensips.org >>> Subject: Re: [OpenSIPS-Users] Basic call failed >>> >>> Hi, >>> >>> What will the contact from the location service show you for Users? >>> Could you post your opensips.cfg? >>> >>> BR >>> >>> Uwe >>> >>> XIN Xiuhe schrieb: >>>> Hi, >>>> >>>> I tried to use opensips to make a basic call, but failed. >>>> >>>> user A: 33330...@40.0.0.165 >>>> user B: 33330...@40.0.0.165 >>>> Both of them registered with opensips(ip address: 40.0.0.164) >>>> successfully. >>>> >>>> User A off hook and call user B, after opensips received the invite >>>> message, it should send it to 40.0.0.165, but from the trace >>>> (attached "basiccall.pcap"), it send it to 40.0.0.164. >>>> >>>> What is the root cause, can somebody give some ideas? >>>> >>>> Thanks ! >>>> >>>> >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------------------- >>>> - >>>> - >>>> - >>>> -- >>>> >>>> _______________________________________________ >>>> Users mailing list >>>> Users@lists.opensips.org >>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> > > -- kiste lat: 54.322684, lon: 10.13586 _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users