[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-users] issue while using realms that arent public fqdn
From: |
German Cancio |
Subject: |
Re: [Linphone-users] issue while using realms that arent public fqdn |
Date: |
Wed, 18 Aug 2021 08:23:01 +0200 |
Dennis, René,
Isn’t that achieved with the reg_route config entry in the proxy section? Try
something like
reg_route=sip:pbx.domain.tld;transport=tls
This should force all outgoing requests to go through pbx.domain.tld.
Cheers, Germán
> On 18 Aug 2021, at 08:08, Rene Kockisch <rk@questnet.de> wrote:
>
> Hi Dennis,
>
> the linphonerc proxy and auth section is list below:
>
> [auth_info_1]
> username=user1
> userid=user1
> ha1=cb4a74c5669197f91b09017781d9b64d
> realm=x100
> domain=pbx.domain.tld
> algorithm=MD5
>
> [proxy_0]
> reg_proxy=<sip:pbx.domain.tld:5081;transport=tls>
> reg_identity=sip:rot18@x100
> contact_parameters=message-expires=604800
> quality_reporting_enabled=0
> quality_reporting_interval=0
> reg_expires=3600
> reg_sendregister=1
> publish=1
> avpf=-1
> avpf_rr_interval=1
> dial_escape_plus=0
> privacy=32768
> push_notification_allowed=0
> idkey=proxy_config_0vn3SUWIugJnuzP
> publish_expires=3600
> nat_policy_ref=FR-gZc7Bj7OPJvM
>
> I can add realm to proxy section but the behavior is the same. The
> belle-sip try to resolv the realm.
>
> I also try to add the realm to the host file but the belle-sip doesnt
> use host file, the library use his own resolver maybe.
>
>
>
> BR
> René
>
> Am 17.08.21 um 21:10 schrieb Dennis Filder:
>> On Tue, Aug 17, 2021 at 09:30:57AM +0200, Rene Kockisch wrote:
>>
>>> I'm trying to use linphone for our PBX but we run in a issue. I use
>>> Desktop 4.2.5 - Qt5.14.2 Core 4.4.19 on Windows 10 and the config use a
>>> Domain to register and a realm for Login mech. But the linphone try to
>>> resolv the realm as a domain, how can I told linphone to not resolv the
>>> login realm?
>>>
>>> The config is as follow:
>>>
>>> sip-adress: sip:user1@x100
>>> sip-serveradress: sip:pbx.domain.tld;transport=udp
>>>
>>> The registration works and I'm logged in with my user but in case I want
>>> to make a outbound call the belle-sip try to resolve the realm, why?
>>
>> From looking at the source code I believe to authenticate against a
>> realm you have to configure it manually in the linphonerc file under
>> section [proxy] as that setting is not exposed through the GUI. The
>> file should be at
>> "C:\Users\<UserName>\AppData\Local\linphone\linphonerc". The
>> recognized configuration keys for that section are (default values in
>> parentheses):
>>
>> avpf
>> avpf_rr_interval (5)
>> conference_factory_uri
>> contact_parameters
>> contact_uri_parameters
>> depends_on
>> dial_escape_plus (0)
>> dial_prefix
>> idkey
>> nat_policy_ref
>> privacy
>> publish (0)
>> publish_expires (-1)
>> push_notification_allowed (0)
>> quality_reporting_collector
>> quality_reporting_enabled (0)
>> quality_reporting_interval (0)
>> realm
>> refkey
>> reg_expires (3600)
>> reg_identity
>> reg_proxy
>> reg_route
>> reg_sendregister (1)
>>
>> In reg_proxy you have to use the (resolvable) hostname of the proxy
>> and in realm the unresolvable realm name. At least that's my
>> understanding.
>>
>> Regards.
>>
>> _______________________________________________
>> Linphone-users mailing list
>> Linphone-users@nongnu.org
>> https://lists.nongnu.org/mailman/listinfo/linphone-users
>>
>
>
> _______________________________________________
> Linphone-users mailing list
> Linphone-users@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/linphone-users