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:[email protected]] > Sent: 2009年6月19日 14:33 > To: XIN Xiuhe > Cc: [email protected] > 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:[email protected]: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:[email protected]: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:[email protected]] >> Sent: 2009年6月19日 12:47 >> To: XIN Xiuhe >> Cc: [email protected] >> 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 [email protected], uri is [email protected] >>>> user B: contact info is [email protected] , uri is [email protected] >>> Thanks for your help! >>> >>> xxh >>> >>> -----Original Message----- >>> From: Uwe Kastens [mailto:[email protected]] >>> Sent: 2009年6月19日 12:15 >>> To: XIN Xiuhe >>> Cc: [email protected] >>> 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: [email protected] >>>> user B: [email protected] >>>> 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 >>>> [email protected] >>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> > > -- kiste lat: 54.322684, lon: 10.13586 _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
