Re: [OpenSIPS-Users] Basic call failed
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 | 0004 | NULL | sip:0...@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 | 0003 | NULL | sip:0...@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="0004" >> >> 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 0...@40.0.0.165, uri is 0...@40.0.0.164 >>>> user B: contact info is 0...@40.0.0.165 , uri is 0...@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: 0...@40.0.0.165 >>>> user B: 0...@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
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 | 0004 | NULL | sip:0...@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 | 0003 | NULL | sip:0...@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="0004" >> >> 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 0...@40.0.0.165, uri is 0...@40.0.0.164 >>>> user B: contact info is 0...@40.0.0.165 , uri is 0...@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: 0...@40.0.0.165 >>>> user B: 0...@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
Re: [OpenSIPS-Users] Basic call failed
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 | 0004 | NULL | sip:0...@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 | 0003 | NULL | sip:0...@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="0004" > > 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 0...@40.0.0.165, uri is 0...@40.0.0.164 >>> user B: contact info is 0...@40.0.0.165 , uri is 0...@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: 0...@40.0.0.165 >>> user B: 0...@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 Jun 19 14:35:44 [31807] DBG:core:parse_msg: SIP Request: Jun 19 14:35:44 [31807] DBG:core:parse_msg: method: Jun 19 14:35:44 [31807] DBG:core:parse_msg: uri: Jun 19 14:35:44 [31807] DBG:core:parse_msg: version: Jun 19 14:35:44 [31807] DBG:core:parse_headers: flags=2 Jun 19 14:35:44 [31807] DBG:core:parse_via_param: found param type 232, = ; state=16 Jun 19 14:35:44 [31807] DBG:core:parse_via: end of header reached, state=5 Jun 19 14:35:44 [31807] DBG:core:parse_headers: via found
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 | 0004 | NULL | sip:0...@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 | 0003 | NULL | sip:0...@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="0004" > > 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 0...@40.0.0.165, uri is 0...@40.0.0.164 >>> user B: contact info is 0...@40.0.0.165 , uri is 0...@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: 0...@40.0.0.165 >>> user B: 0...@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
Re: [OpenSIPS-Users] Basic call failed
mysql> select * from location; ++--++--+--+--+-+---+-+--+-+---++-+-+-+ | id | username | domain | contact | received | path | expires | q | callid | cseq | last_modified | flags | cflags | user_agent | socket | methods | ++--++--+--+--+-+---+-+--+-+---++-+-+-+ | 11 | 0004 | NULL | sip:0...@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 | 0003 | NULL | sip:0...@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="0004" 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 0...@40.0.0.165, uri is 0...@40.0.0.164 >> user B: contact info is 0...@40.0.0.165 , uri is 0...@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: 0...@40.0.0.165 >> user B: 0...@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
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="0004" 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 0...@40.0.0.165, uri is 0...@40.0.0.164 >> user B: contact info is 0...@40.0.0.165 , uri is 0...@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: 0...@40.0.0.165 >> user B: 0...@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
Re: [OpenSIPS-Users] Basic call failed
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 0...@40.0.0.165, uri is 0...@40.0.0.164 > user B: contact info is 0...@40.0.0.165 , uri is 0...@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: 0...@40.0.0.165 > user B: 0...@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 opensips.cfg Description: opensips.cfg ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
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: 0...@40.0.0.165 > user B: 0...@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
[OpenSIPS-Users] Basic call failed
Hi, I tried to use opensips to make a basic call, but failed. user A: 0...@40.0.0.165 user B: 0...@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 ! basiccall.pcap Description: basiccall.pcap ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users