[jitsi-users] How to build jain-sip-ri-ossonly jar?


#1

Hi all,

I need to make some changes on jain-sip library for Jigasi.

So, I clone the code from this link:

https://github.com/jitsi/jain-sip.git

However, how can I make the jain-sip-ri-ossonly jar?

I look through the build.xml, but there is no option for it.

Thanks,

Sunny

···

Sent from Outlook<http://aka.ms/weboutlook>


#2

Hi,

jigasi is using maven for downloading libraries. And
jain-sip-ri-ossonly is coming from the forked jain-sip as you have
seen, but it also has a maven part which is in m2 folder of that
project.

Regards
damencho

···

On Wed, Jan 11, 2017 at 9:30 PM, Sunny Mok <apollomok@hotmail.com> wrote:

Hi all,

I need to make some changes on jain-sip library for Jigasi.

So, I clone the code from this link:

https://github.com/jitsi/jain-sip.git

However, how can I make the jain-sip-ri-ossonly jar?

I look through the build.xml, but there is no option for it.

Thanks,

Sunny

Sent from Outlook

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#3

I need to make some changes on jain-sip library for Jigasi.

I would be very surprised if you'd actually need to make changes in jain-sip
for Jigasi. It seems more likely that you need to modify something from
protocol-sip.jar (which is from jitsi/jitsi).

So, I clone the code from this link:
https://github.com/jitsi/jain-sip.git

However, how can I make the jain-sip-ri-ossonly jar?

The non-free parts are removed in a separate branch:

$ git checkout jitsi-oss-only
$ mvn package

I look through the build.xml, but there is no option for it.

We use Maven to package it.

Thanks,
Sunny

Ingo


#4

Hi Ingo,

It works. I can get the "jain-sip-ri-ossonly" package now. Really thanks for your help.

On unsolicited UPDATE message,

"JAIN-SIP" layer guards without further forwarding to the "protocol-sip" layer,

and then replies invalid.

However, I needs Jigasi to reply 200 OK upon unsolicited UPDATE message.

So, I changed "JAIN-SIP" to reply 200 OK instead.

Or, what is the better way to do so? how would you change it?

Thanks,

Sunny

···

Sent from Outlook<http://aka.ms/weboutlook>

________________________________
From: users <users-bounces@jitsi.org> on behalf of Ingo Bauersachs <ingo@jitsi.org>
Sent: Thursday, January 12, 2017 12:01 AM
To: 'Jitsi Users'
Subject: Re: [jitsi-users] How to build jain-sip-ri-ossonly jar?

I need to make some changes on jain-sip library for Jigasi.

I would be very surprised if you'd actually need to make changes in jain-sip
for Jigasi. It seems more likely that you need to modify something from
protocol-sip.jar (which is from jitsi/jitsi).

So, I clone the code from this link:
https://github.com/jitsi/jain-sip.git

However, how can I make the jain-sip-ri-ossonly jar?

The non-free parts are removed in a separate branch:

$ git checkout jitsi-oss-only
$ mvn package

I look through the build.xml, but there is no option for it.

We use Maven to package it.

Thanks,
Sunny

Ingo

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#5

It works. I can get the "jain-sip-ri-ossonly" package now. Really thanks

for

your help.

On unsolicited UPDATE message,

"JAIN-SIP" layer guards without further forwarding to the "protocol-sip"
layer, and then replies invalid.

However, I needs Jigasi to reply 200 OK upon unsolicited UPDATE message.
So, I changed "JAIN-SIP" to reply 200 OK instead.

Or, what is the better way to do so? how would you change it?

Not sure what you're doing there, so I'm just blind-guessing. If jain-sip
outright refuses the message, it is probably illegal in terms of how SIP is
specified. Depending on how you run Jigasi, you might introduce a security
risk. So if you can, it would probably be better to change the source of the
update-message to behave according to SIP.

If this is all internal to you own network, feel free to do whatever is
necessary.

Thanks,
Sunny

Ingo