[jitsi-dev] jigasi hardcode SIP domain?

Hi,

I'd like to have the SIP domain that jigasi calls out to hardcoded, so that
in jitmeet one needs to only input the userid part of the SIP callee.

Where can I change this in the code? To better illustrate with an example,
I'd like to restrict calling out to my.domain.com and have jitmeet users
only enter the user/extension. So to call 2000@my.domain.com, a jitmeet
user would only need to input 2000 in the telephone menu.

Is this possible?

Thanks

Hi,

···

On Mon, Sep 29, 2014 at 5:14 PM, Peter Villeneuve <petervnv1@gmail.com> wrote:

Hi,

I'd like to have the SIP domain that jigasi calls out to hardcoded, so that
in jitmeet one needs to only input the userid part of the SIP callee.

Where can I change this in the code? To better illustrate with an example,
I'd like to restrict calling out to my.domain.com and have jitmeet users
only enter the user/extension. So to call 2000@my.domain.com, a jitmeet user
would only need to input 2000 in the telephone menu.

Is this possible?

Usually when you enter only user/extension part SIP provider assumes
it's on local domain, so it shouldn't be required, but if you really
want to then you can append this domain part in JavaScript code:

https://github.com/jitsi/jitsi-meet/blob/master/app.js#L1530

Regards,
Pawel

Got it.
Thanks

···

On Mon, Sep 29, 2014 at 4:26 PM, Paweł Domas <pawel.domas@jitsi.org> wrote:

Hi,

On Mon, Sep 29, 2014 at 5:14 PM, Peter Villeneuve <petervnv1@gmail.com> > wrote:
> Hi,
>
> I'd like to have the SIP domain that jigasi calls out to hardcoded, so
that
> in jitmeet one needs to only input the userid part of the SIP callee.
>
> Where can I change this in the code? To better illustrate with an
example,
> I'd like to restrict calling out to my.domain.com and have jitmeet users
> only enter the user/extension. So to call 2000@my.domain.com, a jitmeet
user
> would only need to input 2000 in the telephone menu.
>
> Is this possible?

Usually when you enter only user/extension part SIP provider assumes
it's on local domain, so it shouldn't be required, but if you really
want to then you can append this domain part in JavaScript code:

https://github.com/jitsi/jitsi-meet/blob/master/app.js#L1530

Regards,
Pawel

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

Right. As Pawel said, the Java code in Jigasi attaches the domain (as it
does in Jitsi) so doing the same in javascript would only be redundant.

--sent from my mobile

···

On 29 Sep 2014 6:32 PM, "Peter Villeneuve" <petervnv1@gmail.com> wrote:

Got it.
Thanks

On Mon, Sep 29, 2014 at 4:26 PM, Paweł Domas <pawel.domas@jitsi.org> > wrote:

Hi,

On Mon, Sep 29, 2014 at 5:14 PM, Peter Villeneuve <petervnv1@gmail.com> >> wrote:
> Hi,
>
> I'd like to have the SIP domain that jigasi calls out to hardcoded, so
that
> in jitmeet one needs to only input the userid part of the SIP callee.
>
> Where can I change this in the code? To better illustrate with an
example,
> I'd like to restrict calling out to my.domain.com and have jitmeet
users
> only enter the user/extension. So to call 2000@my.domain.com, a
jitmeet user
> would only need to input 2000 in the telephone menu.
>
> Is this possible?

Usually when you enter only user/extension part SIP provider assumes
it's on local domain, so it shouldn't be required, but if you really
want to then you can append this domain part in JavaScript code:

https://github.com/jitsi/jitsi-meet/blob/master/app.js#L1530

Regards,
Pawel

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

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