opensipstack-devel Mailing List for OpenSIPStack (Page 23)
Brought to you by:
joegenbaclor
You can subscribe to this list here.
2006 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
(5) |
Jun
(12) |
Jul
(4) |
Aug
(3) |
Sep
(24) |
Oct
(45) |
Nov
(41) |
Dec
(67) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(51) |
Feb
(93) |
Mar
(54) |
Apr
(76) |
May
(114) |
Jun
(133) |
Jul
(124) |
Aug
(180) |
Sep
(53) |
Oct
(41) |
Nov
(109) |
Dec
(92) |
2008 |
Jan
(52) |
Feb
(40) |
Mar
(29) |
Apr
(40) |
May
(83) |
Jun
(68) |
Jul
(30) |
Aug
(72) |
Sep
(50) |
Oct
(48) |
Nov
(25) |
Dec
(80) |
2009 |
Jan
(9) |
Feb
(2) |
Mar
(32) |
Apr
(67) |
May
|
Jun
(7) |
Jul
(7) |
Aug
(4) |
Sep
(3) |
Oct
|
Nov
(6) |
Dec
(2) |
2010 |
Jan
|
Feb
(4) |
Mar
|
Apr
|
May
(10) |
Jun
(2) |
Jul
|
Aug
(2) |
Sep
(1) |
Oct
|
Nov
(5) |
Dec
|
2011 |
Jan
|
Feb
|
Mar
(1) |
Apr
(2) |
May
(2) |
Jun
|
Jul
|
Aug
(5) |
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Joegen E. B. <joe...@gm...> - 2008-05-29 02:07:20
|
Hi Gustavo, Can you tell where it fails in SBCRoutingHandler::RouteProxyRequest() ? The only purpose of OnCheckRoutePolicy() for responses is to modify the Record-Routes in cases where the UAS and UAC transaction is traversing different NICs. OpenSBC must change the Record-Route before it sends the response to the caller. Joegen Gustavo Curetti wrote: > Hi Joegen > > I don't understand why in ProxySession::OnSessionEvent() the method OnCheckRoutePolicy is called in case EventFinalResponse: > > case EventFinalResponse: > OnCheckRoutePolicy( validatedRequest ); ??? > OnFinalResponse( validatedRequest ); > break; > > throwing this trace: > > *** PROXY *** Not Allowing relay to > > Thanks for your help Gustavo > _________________________________________________________________ > Ingresá ya a MSN Deportes y enterate de las últimas novedades del mundo deportivo. > http://msn.foxsports.com/fslasc/ > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > |
From: Joegen E. B. <joe...@gm...> - 2008-05-29 01:47:02
|
I am not able to replicate this in my box. Did you try a `make clean` by any chance? Wen Jun wrote: > Hi, Gentlmen, > > When I CVS the latest OpenSBC code and compiled it ( make bothnoshared). I > encountered a compile error as followings. Pls help to look what's going > wrong. I've CVS&compiled Opensipstack and no error reported. > > > Regards, > > Jun > > ---------------------------------------------------------------------------- > ---- > > g++ -o obj_linux_x86_r/opensbc -L/opt/opensipstack/lib > -L/opt/opensipstack/lib ./obj_linux_x86_r/Main.o > ./obj_linux_x86_r/SBCCallHandler.o ./obj_linux_x86_r/SBCRoutingHandler.o > ./obj_linux_x86_r/SBCAuthHandler.o ./obj_linux_x86_r/SBCIVRHandler.o > ./obj_linux_x86_r/SBCTrunk.o ./obj_linux_x86_r/SBCBackDoorTrunk.o > ./obj_linux_x86_r/SBCCALEATrunk.o ./obj_linux_x86_r/SBCSIPTrunk.o > ./obj_linux_x86_r/SBCSIPTrunkConnection.o > ./obj_linux_x86_r/SBCSIPTrunkConfig.o > ./obj_linux_x86_r/SBCSIPTrunkEndPoint.o ./obj_linux_x86_r/SBCSIPTrunkReg.o > ./obj_linux_x86_r/SBCSIPTrunkRegManager.o > ./obj_linux_x86_r/SBCSIPTrunkRegSession.o > ./obj_linux_x86_r/SBCSIPTrunkRoutingHandler.o ./obj_linux_x86_r/SBCPHPSapi.o > ./obj_linux_x86_r/OpenSBC.o ./obj_linux_x86_r/Router.o > ./obj_linux_x86_r/RouteRecord.o -lopensipstack_linux_x86_r_s > -lpt_linux_x86_r_s -lpthread -lexpat -lresolv -ldl -lpthread -lexpat > -lresolv -ldl > ./obj_linux_x86_r/OpenSBC.o: In function > `OpenSBCDaemon::OnLoadResourceCounters(PString const&)': > OpenSBC.cxx:(.text+0x7826): undefined reference to `PThread::m_Count' > ./obj_linux_x86_r/OpenSBC.o: In function > `OpenSBCDaemon::OnStart(Tools::OSSAppConfig&)': > OpenSBC.cxx:(.text+0xca82): undefined reference to `PThread::m_Count' > /opt/opensipstack/lib/libopensipstack_linux_x86_r_s.a(connection.o): In > function `OpalConnection::CreateSession(OpalTransport const&, unsigned int, > RTP_QOS*)': > connection.cxx:(.text+0x266e): undefined reference to > `RTP_UDP::RTP_UDP(unsigned int)' > /opt/opensipstack/lib/libopensipstack_linux_x86_r_s.a(ivr.o):(.rodata._ZTV18 > OpalIVRMediaStreamvtable for OpalIVRMediaStream+0x38): undefined reference > to `OpalMediaStream::UpdateMediaFormat(OpalMediaFormat const&)' > collect2: ld returned 1 exit status > make[2]: *** obj_linux_x86_r/opensbc Error 1 > make[2]: Leaving directory `/opt/opensbc' > make[1]: *** optnoshared Error 2 > make[1]: Leaving directory `/opt/opensbc' > make: *** bothnoshared Error 2 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > |
From: Wen J. <ju...@ms...> - 2008-05-28 16:03:45
|
Hi, Gentlmen, When I CVS the latest OpenSBC code and compiled it ( make bothnoshared). I encountered a compile error as followings. Pls help to look what's going wrong. I've CVS&compiled Opensipstack and no error reported. Regards, Jun ---------------------------------------------------------------------------- ---- g++ -o obj_linux_x86_r/opensbc -L/opt/opensipstack/lib -L/opt/opensipstack/lib ./obj_linux_x86_r/Main.o ./obj_linux_x86_r/SBCCallHandler.o ./obj_linux_x86_r/SBCRoutingHandler.o ./obj_linux_x86_r/SBCAuthHandler.o ./obj_linux_x86_r/SBCIVRHandler.o ./obj_linux_x86_r/SBCTrunk.o ./obj_linux_x86_r/SBCBackDoorTrunk.o ./obj_linux_x86_r/SBCCALEATrunk.o ./obj_linux_x86_r/SBCSIPTrunk.o ./obj_linux_x86_r/SBCSIPTrunkConnection.o ./obj_linux_x86_r/SBCSIPTrunkConfig.o ./obj_linux_x86_r/SBCSIPTrunkEndPoint.o ./obj_linux_x86_r/SBCSIPTrunkReg.o ./obj_linux_x86_r/SBCSIPTrunkRegManager.o ./obj_linux_x86_r/SBCSIPTrunkRegSession.o ./obj_linux_x86_r/SBCSIPTrunkRoutingHandler.o ./obj_linux_x86_r/SBCPHPSapi.o ./obj_linux_x86_r/OpenSBC.o ./obj_linux_x86_r/Router.o ./obj_linux_x86_r/RouteRecord.o -lopensipstack_linux_x86_r_s -lpt_linux_x86_r_s -lpthread -lexpat -lresolv -ldl -lpthread -lexpat -lresolv -ldl ./obj_linux_x86_r/OpenSBC.o: In function `OpenSBCDaemon::OnLoadResourceCounters(PString const&)': OpenSBC.cxx:(.text+0x7826): undefined reference to `PThread::m_Count' ./obj_linux_x86_r/OpenSBC.o: In function `OpenSBCDaemon::OnStart(Tools::OSSAppConfig&)': OpenSBC.cxx:(.text+0xca82): undefined reference to `PThread::m_Count' /opt/opensipstack/lib/libopensipstack_linux_x86_r_s.a(connection.o): In function `OpalConnection::CreateSession(OpalTransport const&, unsigned int, RTP_QOS*)': connection.cxx:(.text+0x266e): undefined reference to `RTP_UDP::RTP_UDP(unsigned int)' /opt/opensipstack/lib/libopensipstack_linux_x86_r_s.a(ivr.o):(.rodata._ZTV18 OpalIVRMediaStreamvtable for OpalIVRMediaStream+0x38): undefined reference to `OpalMediaStream::UpdateMediaFormat(OpalMediaFormat const&)' collect2: ld returned 1 exit status make[2]: *** obj_linux_x86_r/opensbc Error 1 make[2]: Leaving directory `/opt/opensbc' make[1]: *** optnoshared Error 2 make[1]: Leaving directory `/opt/opensbc' make: *** bothnoshared Error 2 |
From: Gustavo C. <cur...@ho...> - 2008-05-28 14:14:38
|
Hi Joegen I don't understand why in ProxySession::OnSessionEvent() the method OnCheckRoutePolicy is called in case EventFinalResponse: case EventFinalResponse: OnCheckRoutePolicy( validatedRequest ); ??? OnFinalResponse( validatedRequest ); break; throwing this trace: *** PROXY *** Not Allowing relay to Thanks for your help Gustavo _________________________________________________________________ Ingresá ya a MSN Deportes y enterate de las últimas novedades del mundo deportivo. http://msn.foxsports.com/fslasc/ |
From: OpenSource C. <ope...@gm...> - 2008-05-28 06:30:29
|
test |
From: Joegen E. B. <joe...@gm...> - 2008-05-23 01:14:11
|
Hi, Thanks for the logs. They were very helpful. It is evident that the previous call did not destroy the codec properly. I will try to replicate this on my system. Ilian is currently on leave so it might take a while for him to catch this thread. I have created a ticket for this: http://www.assembla.com/spaces/opensbc/tickets/20 Joegen H.Kropf wrote: > Hi > > Log (for pwlib - level 6) - in attachments > > > Joegen E. Baclor wrote: >> Hmmn. Strange. Seems like the codec from the previous call has not >> been destroyed. Can you send me a maximum level log of two >> consecutive calls right after fresh startup of your SoftPhone? >> >> H.Kropf wrote: >> >>> Hi >>> >>> >>>>> can you put a break-point in OpalTranscoder::ConvertFrames() and >>>>> figure out where exactly it fails? >>>>> >>> I can :) >>> >>> >>> bool OpalMediaPatch::Sink::WriteFrame(RTP_DataFrame & sourceFrame) >>> { >>> ...... >>> if (!primaryCodec->ConvertFrames(sourceFrame, intermediateFrames)) >>> { >>> PTRACE(1, "Patch\tMedia conversion (primary) failed"); >>> return false; >>> } >>> ...... >>> } >>> >>> BOOL OpalTranscoder::ConvertFrames(const RTP_DataFrame & input, >>> RTP_DataFrameList & output) >>> { >>> ....... >>> return Convert(input, output[0]); >>> } >>> >>> BOOL OpalFlexiTranscoder::Convert( const RTP_DataFrame & input, >>> RTP_DataFrame & output) >>> { >>> return m_Transcoder->Convert( input, output ); >>> } >>> >>> BOOL OpalFramedTranscoder::Convert(const RTP_DataFrame & input, >>> RTP_DataFrame & output) >>> { >>> .... >>> while (inputLength > 0) >>> { >>> ...... >>> if (!ConvertFrame(inputPtr, consumed, outputPtr, created)) >>> return FALSE; >>> ....... >>> } >>> ....... >>> } >>> >>> BOOL OpalFramedTranscoder::ConvertFrame(const BYTE * inputPtr, >>> PINDEX & /*consumed*/, BYTE * outputPtr, PINDEX & /*created*/) >>> { >>> return ConvertFrame(inputPtr, outputPtr); >>> } >>> >>> >>> >>> BOOL Opal_PCM_G729::ConvertFrame(const BYTE * src, BYTE * dst) >>> { >>> if (voiceAgeEncoderInUse != this) return FALSE; // >>> !!!!!!!!!!!! <<<=== this place >>> ...... >>> } >>> >>> >>> >>> >>>> Hi, >>>> >>>> Are you a C++ developer? If so, can you put a break-point in >>>> OpalTranscoder::ConvertFrames() and figure out where exactly it fails? >>>> >>>> Joegen >>>> >>>> H.Kropf wrote: >>>> >>>>> Hello >>>>> >>>>> After a last update of library from CVS (2008-05-20), my softphone >>>>> (on OSS library) makes only one successful call after start. In >>>>> next calls there is no voice. In PTRACE-log there are many such >>>>> records >>>>> >>>>> Media Patch:1eb9410 PWL: [CID=0x0000] Patch Media conversion >>>>> (primary) failed >>>>> Media Patch:1eb9410 PWL: [CID=0x0000] Patch Media conversion >>>>> (primary) failed >>>>> Media Patch:1eb9410 PWL: [CID=0x0000] Patch Media conversion >>>>> (primary) failed >>>>> Media Patch:1eb9410 PWL: [CID=0x0000] Patch Media conversion >>>>> (primary) failed >>>>> >>>>> >>>>> In the previous version (CVS 2008-05-12) this problem did not exist >>>>> >>>>> ------------------------------------------------------------------------- >>>>> >>>>> This SF.net email is sponsored by: Microsoft Defy all challenges. >>>>> Microsoft(R) Visual Studio 2008. >>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>>>> _______________________________________________ >>>>> opensipstack-devel mailing list >>>>> ope...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >>>>> >>>>> >>>>> >>>>> >>>> ------------------------------------------------------------------------- >>>> >>>> This SF.net email is sponsored by: Microsoft Defy all challenges. >>>> Microsoft(R) Visual Studio 2008. >>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>>> _______________________________________________ >>>> opensipstack-devel mailing list >>>> ope...@li... >>>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >>>> >>>> >>> ------------------------------------------------------------------------- >>> >>> This SF.net email is sponsored by: Microsoft Defy all challenges. >>> Microsoft(R) Visual Studio 2008. >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>> _______________________________________________ >>> opensipstack-devel mailing list >>> ope...@li... >>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >>> >>> >>> >> >> >> ------------------------------------------------------------------------- >> >> This SF.net email is sponsored by: Microsoft Defy all challenges. >> Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> opensipstack-devel mailing list >> ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> >> > > > > > ------------------------------------------------------------------------ > > No virus found in this incoming message. > Checked by AVG. > Version: 7.5.524 / Virus Database: 269.23.21/1458 - Release Date: 5/21/2008 7:21 AM |
From: <jo...@op...> - 2008-05-23 01:04:16
|
Yes, that should suffice. Are you saying you are getting compile errors even with CVS head? Please your configure console output as well as your make console output to the list so we have a better idea what went wrong. Joegen bay...@ic... wrote: > Hello Joegen, > > Nice to hear from You too :), I obtained the opensipstack, opensbc, > and atlsip by using cvs-get tools as follows (on May 21st 2008, if I > have not mistaken) : > > unix-shell>#cvs-get grab opensipstack > unix-shell>#cvs-get grab opensbc > unix-shell>#cvs-get grab atlsip > > Do I have to obtain it again to get the most updated sources of above > systems ? > Please kindly help me to solve this problem. Thank You very much at advance. > > Best Regards, > > Bayu Sukmanto > > > ---------------------------------------------------------------- > Indonesia Comnet Plus Webmail > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > > |
From: brad z. <ver...@in...> - 2008-05-22 21:16:51
|
you need to check out the latest files from cvs... bay...@ic... wrote: > > Hello Brad, > > I am glad to hear from You :), > Yes, I am trying to install on osx (darwin linux), I would appreciate > very much if You could share Your solution that You have used to solve > Your problem. Thank You very much at advance. > > Best Regards, > > Bayu Sukmanto > > ---------------------------------------------------------------- > Indonesia Comnet Plus Webmail > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > |
From: <bay...@ic...> - 2008-05-22 20:53:41
|
Hello Joegen, Nice to hear from You too :), I obtained the opensipstack, opensbc, and atlsip by using cvs-get tools as follows (on May 21st 2008, if I have not mistaken) : unix-shell>#cvs-get grab opensipstack unix-shell>#cvs-get grab opensbc unix-shell>#cvs-get grab atlsip Do I have to obtain it again to get the most updated sources of above systems ? Please kindly help me to solve this problem. Thank You very much at advance. Best Regards, Bayu Sukmanto ---------------------------------------------------------------- Indonesia Comnet Plus Webmail |
From: <bay...@ic...> - 2008-05-22 20:53:36
|
Hello Brad, I am glad to hear from You :), Yes, I am trying to install on osx (darwin linux), I would appreciate very much if You could share Your solution that You have used to solve Your problem. Thank You very much at advance. Best Regards, Bayu Sukmanto ---------------------------------------------------------------- Indonesia Comnet Plus Webmail |
From: H.Kropf <mai...@gl...> - 2008-05-22 14:20:05
|
Hi Log (for pwlib - level 6) - in attachments Joegen E. Baclor wrote: > Hmmn. Strange. Seems like the codec from the previous call has not > been destroyed. Can you send me a maximum level log of two consecutive > calls right after fresh startup of your SoftPhone? > > H.Kropf wrote: > >> Hi >> >> >> >>>> can you put a break-point in >>>> OpalTranscoder::ConvertFrames() and figure out where exactly it fails? >>>> >>>> >> I can :) >> >> >> bool OpalMediaPatch::Sink::WriteFrame(RTP_DataFrame & sourceFrame) >> { >> ...... >> if (!primaryCodec->ConvertFrames(sourceFrame, intermediateFrames)) >> { >> PTRACE(1, "Patch\tMedia conversion (primary) failed"); >> return false; >> } >> ...... >> } >> >> BOOL OpalTranscoder::ConvertFrames(const RTP_DataFrame & input, >> RTP_DataFrameList & output) >> { >> ....... >> return Convert(input, output[0]); >> } >> >> BOOL OpalFlexiTranscoder::Convert( const RTP_DataFrame & input, >> RTP_DataFrame & output) >> { >> return m_Transcoder->Convert( input, output ); >> } >> >> BOOL OpalFramedTranscoder::Convert(const RTP_DataFrame & input, >> RTP_DataFrame & output) >> { >> .... >> while (inputLength > 0) >> { >> ...... >> if (!ConvertFrame(inputPtr, consumed, outputPtr, created)) >> return FALSE; >> ....... >> } >> ....... >> } >> >> BOOL OpalFramedTranscoder::ConvertFrame(const BYTE * inputPtr, PINDEX & >> /*consumed*/, BYTE * outputPtr, PINDEX & /*created*/) >> { >> return ConvertFrame(inputPtr, outputPtr); >> } >> >> >> >> BOOL Opal_PCM_G729::ConvertFrame(const BYTE * src, BYTE * dst) >> { >> if (voiceAgeEncoderInUse != this) return FALSE; // !!!!!!!!!!!! >> <<<=== this place >> ...... >> } >> >> >> >> >> >>> Hi, >>> >>> Are you a C++ developer? If so, can you put a break-point in >>> OpalTranscoder::ConvertFrames() and figure out where exactly it fails? >>> >>> Joegen >>> >>> H.Kropf wrote: >>> >>> >>> >>>> Hello >>>> >>>> After a last update of library from CVS (2008-05-20), my softphone (on >>>> OSS library) makes only one successful call after start. In next calls >>>> there is no voice. In PTRACE-log there are many such records >>>> >>>> Media Patch:1eb9410 PWL: [CID=0x0000] Patch Media conversion (primary) >>>> failed >>>> Media Patch:1eb9410 PWL: [CID=0x0000] Patch Media conversion (primary) >>>> failed >>>> Media Patch:1eb9410 PWL: [CID=0x0000] Patch Media conversion (primary) >>>> failed >>>> Media Patch:1eb9410 PWL: [CID=0x0000] Patch Media conversion (primary) >>>> failed >>>> >>>> >>>> In the previous version (CVS 2008-05-12) this problem did not exist >>>> >>>> ------------------------------------------------------------------------- >>>> This SF.net email is sponsored by: Microsoft >>>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>>> _______________________________________________ >>>> opensipstack-devel mailing list >>>> ope...@li... >>>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by: Microsoft >>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>> _______________________________________________ >>> opensipstack-devel mailing list >>> ope...@li... >>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >>> >>> >>> >>> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> opensipstack-devel mailing list >> ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> >> >> >> > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > |
From: <jo...@op...> - 2008-05-22 01:41:04
|
You failed to mention which version you are using. Are you using CVS head? If not, the OSX related fixes can only be found in CVS and not from the current file releases. bay...@ic... wrote: > Hello Joegen, > > How are You today ? I hope that You are so fine :), could You please > give me any solution and advice to solve my problem explained in the > previous email as attached below ? > > The previous same problem is linked in here : > http://www.opensourcesip.org:8080/clearspacex/message/8225 > > however I could not find the solution there, I may need more clear > explanation because I am still a newbee. > > I am looking forward to Your further response, thank You very much at advance. > > Best Regards, > > Bayu Sukmanto > > > ----- Forwarded message from bay...@ic... ----- > Date: Wed, 21 May 2008 20:13:40 +0700 > From: bay...@ic... > Reply-To: bay...@ic... > Subject: Hello Brad and Joegen E. Baclor > To: ope...@li... > > > > Hello Brad, > > According to linked message in URL = > http://www.opensourcesip.org:8080/clearspacex/message/8225 > > I think You have ever had the same problem with me now, because the > installation result is the same with mine. Would You mind to once > again share this problem with me please ? Or if You do not mind, > please provide Your email address so I can directly contact You to ask > everything from You about opensipstack and opensbc. > > In case that Brad is too busy, Joegen E. Baclor, Would You please help > me to solve my opensipstack installation problem ? > > Basically, I would very - very welcome to all supporting answers. > > Thank You very much at advance. > > Best Regards, > > Bayu Sukmanto > > ---------------------------------------------------------------- > Indonesia Comnet Plus Webmail > > > > ----- End forwarded message ----- > > > ---------------------------------------------------------------- > Indonesia Comnet Plus Webmail > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > > |
From: <bay...@ic...> - 2008-05-21 21:00:24
|
Hello Joegen, How are You today ? I hope that You are so fine :), could You please give me any solution and advice to solve my problem explained in the previous email as attached below ? The previous same problem is linked in here : http://www.opensourcesip.org:8080/clearspacex/message/8225 however I could not find the solution there, I may need more clear explanation because I am still a newbee. I am looking forward to Your further response, thank You very much at advance. Best Regards, Bayu Sukmanto ----- Forwarded message from bay...@ic... ----- Date: Wed, 21 May 2008 20:13:40 +0700 From: bay...@ic... Reply-To: bay...@ic... Subject: Hello Brad and Joegen E. Baclor To: ope...@li... Hello Brad, According to linked message in URL = http://www.opensourcesip.org:8080/clearspacex/message/8225 I think You have ever had the same problem with me now, because the installation result is the same with mine. Would You mind to once again share this problem with me please ? Or if You do not mind, please provide Your email address so I can directly contact You to ask everything from You about opensipstack and opensbc. In case that Brad is too busy, Joegen E. Baclor, Would You please help me to solve my opensipstack installation problem ? Basically, I would very - very welcome to all supporting answers. Thank You very much at advance. Best Regards, Bayu Sukmanto ---------------------------------------------------------------- Indonesia Comnet Plus Webmail ----- End forwarded message ----- ---------------------------------------------------------------- Indonesia Comnet Plus Webmail |
From: brad z. <ver...@in...> - 2008-05-21 19:22:41
|
Hi, are you trying to install on osx (darwin linux)? brad bay...@ic... wrote: > > Hello Brad, > > According to linked message in URL = > http://www.opensourcesip.org:8080/clearspacex/message/8225 > > I think You have ever had the same problem with me now, because the > installation result is the same with mine. Would You mind to once > again share this problem with me please ? Or if You do not mind, > please provide Your email address so I can directly contact You to ask > everything from You about opensipstack and opensbc. > > In case that Brad is too busy, Joegen E. Baclor, Would You please help > me to solve my opensipstack installation problem ? > > Basically, I would very - very welcome to all supporting answers. > > Thank You very much at advance. > > Best Regards, > > Bayu Sukmanto > > ---------------------------------------------------------------- > Indonesia Comnet Plus Webmail > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > |
From: Joegen E. B. <joe...@gm...> - 2008-05-21 16:36:13
|
Hmmn. Strange. Seems like the codec from the previous call has not been destroyed. Can you send me a maximum level log of two consecutive calls right after fresh startup of your SoftPhone? H.Kropf wrote: > Hi > > >>> can you put a break-point in >>> OpalTranscoder::ConvertFrames() and figure out where exactly it fails? >>> > > I can :) > > > bool OpalMediaPatch::Sink::WriteFrame(RTP_DataFrame & sourceFrame) > { > ...... > if (!primaryCodec->ConvertFrames(sourceFrame, intermediateFrames)) > { > PTRACE(1, "Patch\tMedia conversion (primary) failed"); > return false; > } > ...... > } > > BOOL OpalTranscoder::ConvertFrames(const RTP_DataFrame & input, > RTP_DataFrameList & output) > { > ....... > return Convert(input, output[0]); > } > > BOOL OpalFlexiTranscoder::Convert( const RTP_DataFrame & input, > RTP_DataFrame & output) > { > return m_Transcoder->Convert( input, output ); > } > > BOOL OpalFramedTranscoder::Convert(const RTP_DataFrame & input, > RTP_DataFrame & output) > { > .... > while (inputLength > 0) > { > ...... > if (!ConvertFrame(inputPtr, consumed, outputPtr, created)) > return FALSE; > ....... > } > ....... > } > > BOOL OpalFramedTranscoder::ConvertFrame(const BYTE * inputPtr, PINDEX & > /*consumed*/, BYTE * outputPtr, PINDEX & /*created*/) > { > return ConvertFrame(inputPtr, outputPtr); > } > > > > BOOL Opal_PCM_G729::ConvertFrame(const BYTE * src, BYTE * dst) > { > if (voiceAgeEncoderInUse != this) return FALSE; // !!!!!!!!!!!! > <<<=== this place > ...... > } > > > > >> Hi, >> >> Are you a C++ developer? If so, can you put a break-point in >> OpalTranscoder::ConvertFrames() and figure out where exactly it fails? >> >> Joegen >> >> H.Kropf wrote: >> >> >>> Hello >>> >>> After a last update of library from CVS (2008-05-20), my softphone (on >>> OSS library) makes only one successful call after start. In next calls >>> there is no voice. In PTRACE-log there are many such records >>> >>> Media Patch:1eb9410 PWL: [CID=0x0000] Patch Media conversion (primary) >>> failed >>> Media Patch:1eb9410 PWL: [CID=0x0000] Patch Media conversion (primary) >>> failed >>> Media Patch:1eb9410 PWL: [CID=0x0000] Patch Media conversion (primary) >>> failed >>> Media Patch:1eb9410 PWL: [CID=0x0000] Patch Media conversion (primary) >>> failed >>> >>> >>> In the previous version (CVS 2008-05-12) this problem did not exist >>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by: Microsoft >>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>> _______________________________________________ >>> opensipstack-devel mailing list >>> ope...@li... >>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >>> >>> >>> >>> >>> >>> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> opensipstack-devel mailing list >> ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> >> >> > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > |
From: H.Kropf <mai...@gl...> - 2008-05-21 14:39:46
|
Hi >> can you put a break-point in >> OpalTranscoder::ConvertFrames() and figure out where exactly it fails? I can :) bool OpalMediaPatch::Sink::WriteFrame(RTP_DataFrame & sourceFrame) { ...... if (!primaryCodec->ConvertFrames(sourceFrame, intermediateFrames)) { PTRACE(1, "Patch\tMedia conversion (primary) failed"); return false; } ...... } BOOL OpalTranscoder::ConvertFrames(const RTP_DataFrame & input, RTP_DataFrameList & output) { ....... return Convert(input, output[0]); } BOOL OpalFlexiTranscoder::Convert( const RTP_DataFrame & input, RTP_DataFrame & output) { return m_Transcoder->Convert( input, output ); } BOOL OpalFramedTranscoder::Convert(const RTP_DataFrame & input, RTP_DataFrame & output) { .... while (inputLength > 0) { ...... if (!ConvertFrame(inputPtr, consumed, outputPtr, created)) return FALSE; ....... } ....... } BOOL OpalFramedTranscoder::ConvertFrame(const BYTE * inputPtr, PINDEX & /*consumed*/, BYTE * outputPtr, PINDEX & /*created*/) { return ConvertFrame(inputPtr, outputPtr); } BOOL Opal_PCM_G729::ConvertFrame(const BYTE * src, BYTE * dst) { if (voiceAgeEncoderInUse != this) return FALSE; // !!!!!!!!!!!! <<<=== this place ...... } > Hi, > > Are you a C++ developer? If so, can you put a break-point in > OpalTranscoder::ConvertFrames() and figure out where exactly it fails? > > Joegen > > H.Kropf wrote: > >> Hello >> >> After a last update of library from CVS (2008-05-20), my softphone (on >> OSS library) makes only one successful call after start. In next calls >> there is no voice. In PTRACE-log there are many such records >> >> Media Patch:1eb9410 PWL: [CID=0x0000] Patch Media conversion (primary) >> failed >> Media Patch:1eb9410 PWL: [CID=0x0000] Patch Media conversion (primary) >> failed >> Media Patch:1eb9410 PWL: [CID=0x0000] Patch Media conversion (primary) >> failed >> Media Patch:1eb9410 PWL: [CID=0x0000] Patch Media conversion (primary) >> failed >> >> >> In the previous version (CVS 2008-05-12) this problem did not exist >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> opensipstack-devel mailing list >> ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> >> >> >> >> > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > |
From: <bay...@ic...> - 2008-05-21 13:15:57
|
Hello Brad, According to linked message in URL = http://www.opensourcesip.org:8080/clearspacex/message/8225 I think You have ever had the same problem with me now, because the installation result is the same with mine. Would You mind to once again share this problem with me please ? Or if You do not mind, please provide Your email address so I can directly contact You to ask everything from You about opensipstack and opensbc. In case that Brad is too busy, Joegen E. Baclor, Would You please help me to solve my opensipstack installation problem ? Basically, I would very - very welcome to all supporting answers. Thank You very much at advance. Best Regards, Bayu Sukmanto ---------------------------------------------------------------- Indonesia Comnet Plus Webmail |
From: Whit T. <de...@wh...> - 2008-05-21 13:00:15
|
Hey, Thanks for the idea! I solved my problem however by starting from scratch (even redownloading from cvs and deleting the ini file) then I set OpenSBC to B2BUAUpperReg mode along with the Always Proxy Media selection. I am going to document these steps more clearly and perhaps they will make it onto the site. A quick question though about linking this all together. In the Manual, the quickstart sample shows how to set up SJphone with the domain opensbcrocks.org which is an internal DNS mapping in OpenSBC. Where in ATLSIP would you set this domain when communicating with OpenSBC? Whit -----Original Message----- From: ope...@li... [mailto:ope...@li...] On Behalf Of Craig Guy Sent: Tuesday, May 20, 2008 7:45 PM To: ope...@li... Subject: Re: [OpenSIPStack] OpenSBC Media Proxy Problem Hi Whit, Are the offices VPN or just double natted? If natted then your OpenSBC is in the wrong place - it needs to have two interfaces - one on the internal LAN and the other with a public facing address. Alternately you could omit OpenSBC and port map an external IP address to your asterisk box and set the 'externip' in sip.conf to your external port mapped address and add the appropriate value to 'localnet' Probably easier to create an inter office VPN IMHO. Craig -----Original Message----- From: ope...@li... [mailto:ope...@li...] On Behalf Of Whit Thiele Sent: Wednesday, 21 May 2008 1:45 AM To: ope...@li... Subject: [OpenSIPStack] OpenSBC Media Proxy Problem Hey list members, I have a couple of questions on a simple configuration with OpenSBC that I'm having trouble proxying the media stream. I've read some other posts on this topic, but nothing has help so far. Here is the setup: Office SIP Phone <192.168.0.100> | [192.168.0.0] Internal Office #1 network ---------------------- | Office #1 LAN Router | ---------------------- [25.x.x.x] External IP address of office #1 | | INTERNET | | [44.x.x.x] External IP of Office #2 ---------------------- | Office #2 LAN Router | ---------------------- [192.168.1.0] Internal Office#2 network | | OpenSBC <192.168.1.100> | | Asterisk<192.168.1.101> The phone in Office #1 is registering to the Asterisk box in Office #2 using the UpperRegistration of OpenSBC which is in 'Full Mode'. I am able to register through OpenSBC with the Asterisk box from Office #1, however I am not getting any media to get proxied via OpenSBC. I've selected the 'Proxy-All-Media' but nothing seems to work. I must be missing something simple in the configuration. Where should I focus my attention? In the B2BUA routes? Proxy-Relay-Routes? While debugging the SIP messages on the Asterisk output I get the following SIP message while launching a call: //--------------------------- // from Asterisk CLI SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.1.100:5060;iid=7375;branch=z9hG4bK74bda256ea24dd1184caf507b23fcaa4-9 4d4d1526a6e1a341bd360c9d23def44;uas-addr=192.168.1.101;received=192.168.1.10 0;rport=5060 Via: SIP/2.0/UDP 192.168.0.100:61798;branch=z9hG4bK-d87543-77271a19797af374-1--d87543-;rport= 61798;received=25.X.X.X Record-Route: <sip:192.168.1.100:5060;route-shift=192.168.1.100:5060;lr> From: "7101" <sip:71...@in...>;tag=114af83a To: "5555" <sip:55...@in...>;tag=as262aed0b Call-ID: ZTMxZTgzMzFiNDQ0Njk1ODFjNWYxNGJlZDhlMmFhMzY. CSeq: 2 INVITE User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Supported: replaces Contact: <sip:5555@192.168.1.101> Content-Type: application/sdp Content-Length: 268 v=0 o=root 22965 22965 IN IP4 192.168.1.101 s=session c=IN IP4 192.168.1.101 t=0 0 m=audio 14662 RTP/AVP 0 8 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 a=sendrecv //------------------------------- internalsip.com is an internal mapped DNS to the asterisk box: [sip:internalsip.com] sip:192.168.1.101:5060 Debugging Asterisk RTP it shows that its trying to send RTP to 192.168.0.100 which is the NAT'd address of the office phone in Office #1 which doesn't make sense to me since obviously it can't reach that network. //----------------- // from Asterisk CLI Sent RTP packet to 192.168.0.100:45976 (type 00, seq 016083, ts 056160, len 000160) Sent RTP packet to 192.168.0.100:45976 (type 00, seq 016084, ts 056320, len 000160) Sent RTP packet to 192.168.0.100:45976 (type 00, seq 016085, ts 056480, len 000160) //------------------ I feel that I'm 98% there... Does anyone have an idea on where to focus my efforts? I've attached a b2bualog snip as well in case this helps. Best Regards, Whit ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ opensipstack-devel mailing list ope...@li... https://lists.sourceforge.net/lists/listinfo/opensipstack-devel No virus found in this incoming message. Checked by AVG. Version: 8.0.100 / Virus Database: 269.23.21/1458 - Release Date: 5/21/2008 7:21 AM |
From: <jo...@op...> - 2008-05-21 11:23:04
|
Hi, Are you a C++ developer? If so, can you put a break-point in OpalTranscoder::ConvertFrames() and figure out where exactly it fails? Joegen H.Kropf wrote: > Hello > > After a last update of library from CVS (2008-05-20), my softphone (on > OSS library) makes only one successful call after start. In next calls > there is no voice. In PTRACE-log there are many such records > > Media Patch:1eb9410 PWL: [CID=0x0000] Patch Media conversion (primary) > failed > Media Patch:1eb9410 PWL: [CID=0x0000] Patch Media conversion (primary) > failed > Media Patch:1eb9410 PWL: [CID=0x0000] Patch Media conversion (primary) > failed > Media Patch:1eb9410 PWL: [CID=0x0000] Patch Media conversion (primary) > failed > > > In the previous version (CVS 2008-05-12) this problem did not exist > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > > |
From: H.Kropf <mai...@gl...> - 2008-05-21 10:52:55
|
Hello After a last update of library from CVS (2008-05-20), my softphone (on OSS library) makes only one successful call after start. In next calls there is no voice. In PTRACE-log there are many such records Media Patch:1eb9410 PWL: [CID=0x0000] Patch Media conversion (primary) failed Media Patch:1eb9410 PWL: [CID=0x0000] Patch Media conversion (primary) failed Media Patch:1eb9410 PWL: [CID=0x0000] Patch Media conversion (primary) failed Media Patch:1eb9410 PWL: [CID=0x0000] Patch Media conversion (primary) failed In the previous version (CVS 2008-05-12) this problem did not exist |
From: <jo...@op...> - 2008-05-21 08:57:16
|
You may say that, yes. I have opened a ticket for this. See https://www.assembla.com/spaces/opensbc/tickets/18 Matthias Dreißig wrote: > Yes, if you mean Im using a MESSAGE request. > > In this context am I right that there is no mechanism (callback) to > notify if the instant message was sent successfully or not? > > Thanks for your answer. > > Joegen E. Baclor schrieb: > >> Matthias, >> >> Yeah, OpenSIPStack only handles authentication for INVITE and REGISTER >> currently. I'll see what I can do to support MESSAGE authentication >> as well. I assume you are using page mode SIP Messaging? >> >> Joegen >> >> Matthias Dreißig wrote: >> >> >>> Hi everyone, >>> >>> I have played a little bit with sending instant messages with different >>> sip providers. When I send an instant message with my iptel.org account >>> a proxy authentication is required. >>> The problem is that open sip stack seems not to handle this. >>> >>> Regards, >>> M. Dreißig >>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by: Microsoft >>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>> _______________________________________________ >>> opensipstack-devel mailing list >>> ope...@li... >>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >>> >>> >>> >>> >>> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> opensipstack-devel mailing list >> ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> >> >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > > |
From: Matthias D. <mdr...@gm...> - 2008-05-21 07:57:14
|
Yes, if you mean Im using a MESSAGE request. In this context am I right that there is no mechanism (callback) to notify if the instant message was sent successfully or not? Thanks for your answer. Joegen E. Baclor schrieb: > Matthias, > > Yeah, OpenSIPStack only handles authentication for INVITE and REGISTER > currently. I'll see what I can do to support MESSAGE authentication > as well. I assume you are using page mode SIP Messaging? > > Joegen > > Matthias Dreißig wrote: > >> Hi everyone, >> >> I have played a little bit with sending instant messages with different >> sip providers. When I send an instant message with my iptel.org account >> a proxy authentication is required. >> The problem is that open sip stack seems not to handle this. >> >> Regards, >> M. Dreißig >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> opensipstack-devel mailing list >> ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> >> >> >> > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > |
From: Craig G. <cra...@gm...> - 2008-05-20 23:45:18
|
Hi Whit, Are the offices VPN or just double natted? If natted then your OpenSBC is in the wrong place - it needs to have two interfaces - one on the internal LAN and the other with a public facing address. Alternately you could omit OpenSBC and port map an external IP address to your asterisk box and set the 'externip' in sip.conf to your external port mapped address and add the appropriate value to 'localnet' Probably easier to create an inter office VPN IMHO. Craig -----Original Message----- From: ope...@li... [mailto:ope...@li...] On Behalf Of Whit Thiele Sent: Wednesday, 21 May 2008 1:45 AM To: ope...@li... Subject: [OpenSIPStack] OpenSBC Media Proxy Problem Hey list members, I have a couple of questions on a simple configuration with OpenSBC that I'm having trouble proxying the media stream. I've read some other posts on this topic, but nothing has help so far. Here is the setup: Office SIP Phone <192.168.0.100> | [192.168.0.0] Internal Office #1 network ---------------------- | Office #1 LAN Router | ---------------------- [25.x.x.x] External IP address of office #1 | | INTERNET | | [44.x.x.x] External IP of Office #2 ---------------------- | Office #2 LAN Router | ---------------------- [192.168.1.0] Internal Office#2 network | | OpenSBC <192.168.1.100> | | Asterisk<192.168.1.101> The phone in Office #1 is registering to the Asterisk box in Office #2 using the UpperRegistration of OpenSBC which is in 'Full Mode'. I am able to register through OpenSBC with the Asterisk box from Office #1, however I am not getting any media to get proxied via OpenSBC. I've selected the 'Proxy-All-Media' but nothing seems to work. I must be missing something simple in the configuration. Where should I focus my attention? In the B2BUA routes? Proxy-Relay-Routes? While debugging the SIP messages on the Asterisk output I get the following SIP message while launching a call: //--------------------------- // from Asterisk CLI SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.1.100:5060;iid=7375;branch=z9hG4bK74bda256ea24dd1184caf507b23fcaa4-9 4d4d1526a6e1a341bd360c9d23def44;uas-addr=192.168.1.101;received=192.168.1.10 0;rport=5060 Via: SIP/2.0/UDP 192.168.0.100:61798;branch=z9hG4bK-d87543-77271a19797af374-1--d87543-;rport= 61798;received=25.X.X.X Record-Route: <sip:192.168.1.100:5060;route-shift=192.168.1.100:5060;lr> From: "7101" <sip:71...@in...>;tag=114af83a To: "5555" <sip:55...@in...>;tag=as262aed0b Call-ID: ZTMxZTgzMzFiNDQ0Njk1ODFjNWYxNGJlZDhlMmFhMzY. CSeq: 2 INVITE User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Supported: replaces Contact: <sip:5555@192.168.1.101> Content-Type: application/sdp Content-Length: 268 v=0 o=root 22965 22965 IN IP4 192.168.1.101 s=session c=IN IP4 192.168.1.101 t=0 0 m=audio 14662 RTP/AVP 0 8 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 a=sendrecv //------------------------------- internalsip.com is an internal mapped DNS to the asterisk box: [sip:internalsip.com] sip:192.168.1.101:5060 Debugging Asterisk RTP it shows that its trying to send RTP to 192.168.0.100 which is the NAT'd address of the office phone in Office #1 which doesn't make sense to me since obviously it can't reach that network. //----------------- // from Asterisk CLI Sent RTP packet to 192.168.0.100:45976 (type 00, seq 016083, ts 056160, len 000160) Sent RTP packet to 192.168.0.100:45976 (type 00, seq 016084, ts 056320, len 000160) Sent RTP packet to 192.168.0.100:45976 (type 00, seq 016085, ts 056480, len 000160) //------------------ I feel that I'm 98% there... Does anyone have an idea on where to focus my efforts? I've attached a b2bualog snip as well in case this helps. Best Regards, Whit |
From: Joegen E. B. <joe...@gm...> - 2008-05-20 23:37:58
|
Matthias, Yeah, OpenSIPStack only handles authentication for INVITE and REGISTER currently. I'll see what I can do to support MESSAGE authentication as well. I assume you are using page mode SIP Messaging? Joegen Matthias Dreißig wrote: > Hi everyone, > > I have played a little bit with sending instant messages with different > sip providers. When I send an instant message with my iptel.org account > a proxy authentication is required. > The problem is that open sip stack seems not to handle this. > > Regards, > M. Dreißig > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > |
From: Joegen E. B. <joe...@gm...> - 2008-05-20 23:36:06
|
Prasad, I think you might have confused the osip project with OpenSIPStack? These are two different projects :-). This is the mailing list for OpenSIPStack, not osip. However, looking at your code, is the call eXosip_register_send_register() synchronous? If it is not, then the app might exit and destroy resources while the osip transaction layer is still performing its tasks. This is just a hunch. Try putting a sleep() right after the function and see if that changes anything. Lastly, please find the correct list for osip and post your questions there. I am sure you will have better chances in getting the correct answers there. Joegen prasad keshav wrote: > Hi all,ope...@li... > > > i am using eXosip as sip stack , i am able to initilaze the osip and exosip > and the problem with eXosip _send_register ,where iam not able to fix up the > bug can any bodyhelp me > > #include<eXosip2/eXosip.h> > #include<sys/socket.h> > #include<netinet/in.h> > #include<arpa/inet.h> > main() { > int i; > int id; > osip_message_t* reg = NULL; > TRACE_INITIALIZE(6,stdout); > i = eXosip_init(); > if(i !=0) > { > printf("Not Initilazed\n"); > return -1; > } > else > { > printf("\nInitilazed.....\n"); > } > i = eXosip_listen_addr(IPPROTO_UDP,"10.232.19.204 > ",10234,AF_INET,0); > if(i != 0) > { > eXosip_quit(); > printf("Could not initilaize transport layer\n"); > return -1; > } > else > { > printf("\nTransport layer initilazed > ......................\n"); > printf("%d\n", i); > } > eXosip_lock(); > id = eXosip_register_build_initial_register("sip:1094@10.232.19.204<sip%3A1094@10.232.19.204> > ","10.232.19.204:5060",NULL,1800,®); > printf("%d\n", id); > if(id < 0) > { > eXosip_unlock(); > printf("\n unable to build register request\n"); > return -1; > } > else > { > printf("Register request built sucessfully\n"); > } > i = eXosip_register_build_register(id,1800,reg); > osip_message_set_supported(reg,"100rel"); > osip_message_set_supported(reg,"path"); > i=eXosip_register_send_register(id,reg); > return -1; > } > > Error message i am getting is > > > Initilazed..... > > Transport layer initilazed ...................... > 0 > 1 > Register request built sucessfully > *** glibc detected *** ./init: double free or corruption (out): 0x097f4cf8 > *** > ======= Backtrace: ========= > /lib/libc.so.6[0x166efd] > /lib/libc.so.6(cfree+0x90)[0x16a550] > /usr/lib/libosipparser2.so.3(osip_message_free+0x5c)[0x401f6d] > /usr/lib/libeXosip2.so.4(eXosip_register_send_register+0x112)[0x3acd97] > ./init[0x8048772] > /lib/libc.so.6(__libc_start_main+0xdc)[0x116f2c] > ./init[0x8048581] > ======= Memory map: ======== > 00101000-00238000 r-xp 00000000 03:01 391121 /lib/libc-2.5.so > 00238000-0023a000 r-xp 00137000 03:01 391121 /lib/libc-2.5.so > 0023a000-0023b000 rwxp 00139000 03:01 391121 /lib/libc-2.5.so > 0023b000-0023e000 rwxp 0023b000 00:00 0 > 0023e000-00269000 r-xp 00000000 03:01 516459 > /usr/lib/libosipparser2.so.2.2.0 > 00269000-0026a000 rwxp 0002b000 03:01 516459 > /usr/lib/libosipparser2.so.2.2.0 > 002f3000-002fa000 r-xp 00000000 03:01 391124 /lib/librt-2.5.so > 002fa000-002fb000 r-xp 00006000 03:01 391124 /lib/librt-2.5.so > 002fb000-002fc000 rwxp 00007000 03:01 391124 /lib/librt-2.5 > With regards > Prasad > 9900782382 > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > |