Thread: Re: [OpenSIPStack] opensip stack giving compile error on win2k3
Brought to you by:
joegenbaclor
From: OpenSIPStack F. <ope...@op...> - 2008-09-09 15:44:07
|
thanks for the help, it compiles now but after installing it as service and then running it, it gives the web UI for a while then hangs and shutsdown and then if i manually start the service then it wont start again for some reason. in the external opensipstack folder i have manually copied the libjingle, voiceage g729 source. during compile it says php sapi and python sapi as disabled |
From: OpenSIPStack F. <ope...@op...> - 2008-09-10 00:55:48
|
Were you able to run prior versions OpenSBC on this box in the past? Just wanted to eliminate whehter this is a general problem or a problem in this particular version. Joegen > {quote:title=xbipin wrote:}{quote} > thanks for the help, it compiles now but after installing it as service and then running it, it gives the web UI for a while then hangs and shutsdown and then if i manually start the service then it wont start again for some reason. > in the external opensipstack folder i have manually copied the libjingle, voiceage g729 source. during compile it says php sapi and python sapi as disabled > > what i noticed was the following > i am using opensipstack 1.1.7 > opensbc 1.1.5-10 > > if i run the opensbc.exe using debug parameter then everything works fine but if i install it as service and then try to start it then it wont, even doing so manually from the service manager and in debug mode, when u close it, it causes he VS debugger to start so basically it crashes at that time. |
From: OpenSIPStack F. <ope...@op...> - 2008-09-10 04:02:58
|
Hi, I've replicated this issue locally. This should now be fixed in CVS (update both opensbc and opensipstack). You must also take note that OpenSBC now stores its configuration and logs in C:\Documents and Settings\LocalService\Application Data\OpenSIPStack\OpenSBC_data for windows services. The LocalService folder is a special folder allotted by windows for services. You will not see it even if you set show hidden files in explorer options. You must key in the location manually in the address bar. Joegen > {quote:title=joegen wrote:}{quote} > Were you able to run prior versions OpenSBC on this box in the past? Just wanted to eliminate whehter this is a general problem or a problem in this particular version. > > Joegen > > > {quote:title=xbipin wrote:}{quote} > > thanks for the help, it compiles now but after installing it as service and then running it, it gives the web UI for a while then hangs and shutsdown and then if i manually start the service then it wont start again for some reason. > > in the external opensipstack folder i have manually copied the libjingle, voiceage g729 source. during compile it says php sapi and python sapi as disabled > > > > what i noticed was the following > > i am using opensipstack 1.1.7 > > opensbc 1.1.5-10 > > > > if i run the opensbc.exe using debug parameter then everything works fine but if i install it as service and then try to start it then it wont, even doing so manually from the service manager and in debug mode, when u close it, it causes he VS debugger to start so basically it crashes at that time. |
From: OpenSIPStack F. <ope...@op...> - 2008-09-10 07:25:24
|
on the same box i could run the non CVS versions which are available for download, the binaries and no error or even a hang. one more thing, when i compile the project, it gets compiled in the release folder which is in the opensbc folder, now do i have to move that to some specific location then install it or i can install as service right from there as the prompts folder lies in the opensbc folder and not in the release folder along with the php/solegy which i have no idea whats it for. ill update cvs and try again and let u know. |
From: OpenSIPStack F. <ope...@op...> - 2008-09-10 09:28:07
|
i tried it and it works fine without errors but i was trying to configure the sip trunk but the xml i paste in the sip trunk box in the web gui and click save then even after i restart opensbc, the box shows empty with just <root> and nothing else, it doesnt save the sip trunk config. is this part of the upper registration not working. one more thing, while compiling the source, the 2 xml files are copied into the release folder but the prompts etc r not copied so basically they need to be added to the project so that they get copied to the release folder. |
From: OpenSIPStack F. <ope...@op...> - 2008-09-11 03:00:52
|
This time to the correct thread: Good find. It turns out that SetPrivateProfileString() function truncates string with CRLF and TAB characters. I modified PConfig so it escapes these characters before feeding it to SetPrivateProfileString(). Please report more bugs as you find them. I appreciate it. > {quote:title=xbipin wrote:}{quote} > i tried it and it works fine without errors but i was trying to configure the sip trunk but the xml i paste in the sip trunk box in the web gui and click save then even after i restart opensbc, the box shows empty with just root and nothing else, it doesnt save the sip trunk config. is this part of the upper registration not working. > > one more thing, while compiling the source, the 2 xml files are copied into the release folder but the prompts etc r not copied so basically they need to be added to the project so that they get copied to the release folder. > > in the b2b route config, how to configure such as to dial sipbroker network as all their nubmers start with a * (asterisk) now if i use that in dial plan then its considered as wild card? |
From: OpenSIPStack F. <ope...@op...> - 2008-09-11 07:24:39
|
ill try it out but sip trunk still dont work, i tried pasting xml portion in sip trunk config but opensbc doesnt register to my provider server at all in b2b routes i used [sip:*] sip:sipprovider.com:5060;sip-trunk=true and in my xml sip trunk config i have the usual sip trunk stuff such as userid pass and route details all under the root portion of xml but still opensbc doesnt register at sip server |
From: OpenSIPStack F. <ope...@op...> - 2008-09-11 12:23:47
|
how to make that ivr etc thingy work so cant figure it out nor can manage to run those php files in the solegy folder |
From: OpenSIPStack F. <ope...@op...> - 2008-09-11 16:00:41
|
> {quote:title=xbipin wrote:}{quote} > how to make that ivr etc thingy work so cant figure it out nor can manage to run those php files in the solegy folder This question is a potential red herring and has nothing to do with the subject of this thread. Please create a separate post for a different subject. Anyway, the HTTP IVR code is not in user land yet. Please wait until I've announced it in the list. I promise to blog about it. Joegen |