Displaying 20 results from an estimated 62 matches for "remove_existing".
2015 Apr 01
4
PJSIP Endpoint AOR question
...e a need for multiple aors to a single endpoint? Since the field is named aors, I thought this would be possible. How would I do this if I have to name the aor the name of the endpoint?
This fails...
[transport1]
type = transport
bind = 0.0.0.0
protocol = udp
[aor3]
type = aor
max_contacts = 1
remove_existing = yes
[auth3]
type = auth
username = 1003
password = Password
[1003]
type = endpoint
context = Test
transport = transport1
auth = auth3
aors = aor3
dtmf_mode = inband
device_state_busy_at = 1
disallow = all
allow = ulaw
This succeeds...
[transport1]
type = transport
bind = 0.0.0.0
protocol = u...
2017 Dec 13
2
Is it possible to have two endpoints to the same IP address where one uses IP based authentication and the other requires asterisk to register to that system?
...configured with a match setting in the endpoint section.
All channels coming from that IP address go to this endpoint.
They want me to keep this endpoint, but add a new endpoint where we register with them.
Existing...
[transport1]
type = transport
bind = 0.0.0.0
protocol = udp
[1002]
type = aor
remove_existing = yes
contact = sip:1002 at xxx.xxx.xxx.xxx
[1002]
type = endpoint
context = mycontext
transport = transport1
accountcode = 6
dtmf_mode = inband
device_state_busy_at = 48
force_rport = no
identify_by = username
from_user = 1002
disallow = all
allow = ulaw
acl = acl1
[identify112]
type = identify...
2015 Apr 01
1
PJSIP Endpoint AOR question
...;
>> This fails...
>>
>>
>>
>> [transport1]
>>
>> type = transport
>>
>> bind = 0.0.0.0
>>
>> protocol = udp
>>
>>
>>
>> [aor3]
>>
>> type = aor
>>
>> max_contacts = 1
>>
>> remove_existing = yes
>>
>>
>>
>> [auth3]
>>
>> type = auth
>>
>> username = 1003
>>
>> password = Password
>>
>>
>>
>> [1003]
>>
>> type = endpoint
>>
>> context = Test
>>
>> transport = transpo...
2016 Mar 03
3
RTP / NAT question ( pjsip )
...s=6000
direct_media=no
rewrite_contact=yes ; necessary if endpoint does not know/register public ip:port
ice_support=no
force_rport=yes
rtp_symmetric=no
media_encryption=sdes
[auth6000]
type=auth
auth_type=userpass
password=6000
username=6000
[6000]
type=aor
qualify_frequency=30
max_contacts=1
remove_existing=yes
;===============EXTENSION 6001
[6001]
type=endpoint
context=internal
disallow=all
allow=ulaw
auth=auth6001
aors=6001
direct_media=no
rewrite_contact=yes ; necessary if endpoint does not know/register public ip:port
ice_support=no
force_rport=yes
rtp_symmetric=no
media_encryption=sdes...
2014 Dec 16
3
PJSIP configuration question
...ebug = yes
[transport1]
type = transport
bind = 0.0.0.0
protocol = udp
*local_net=<yourlocalnet I.E. 10.10.10.10/24
<http://10.10.10.10/24>>external_media_address=<your public ip
address>external_signaling_address=<your public address>*
[outbound.vitelity.net]
type = aor
remove_existing = yes
qualify_frequency = 60
contact = sip:64.2.142.93
[outbound.vitelity.net]
type = endpoint
context = TestApp
transport = transport1
aors = outbound.vitelity.net
dtmf_mode = rfc4733
force_rport = yes
rtp_symmetric = yes
rewrite_contact = yes
send_rpid = yes
trust_id_inbound = yes
disallow = all...
2014 Dec 10
4
PJSIP configuration question
...text: TestApp
Priority: 1
Timeout: 60000
CallerID: John Doe <1234>
Variable: CALLERID(num-pres)=allowed_passed_screened
Async: true
I translated those settings to the following for pjsip.conf...
[transport1]
type = transport
bind = 0.0.0.0
protocol = udp
[outbound.vitelity.net]
type = aor
remove_existing = yes
contact = sip:64.2.142.93 at 5060
[outbound.vitelity.net]
type = endpoint
context = TestApp
transport = transport1
aors = outbound.vitelity.net
dtmf_mode = rfc4733
force_rport = yes
rtp_symmetric = yes
rewrite_contact = yes
send_rpid = yes
trust_id_inbound = yes
allow = all
direct_media = no...
2020 Feb 14
2
Question on pjsip.conf and aors
I have the following configuration...
[aor3]
type = aor
max_contacts = 1
remove_existing = yes
[auth3]
type = auth
username = 1004
password = SuperSecretProbation
[1004]
type = endpoint
context = IS
transport = transport1
auth = auth3
aors = aor3
accountcode = 3
dtmf_mode = rfc4733
device_state_busy_at = 2
force_rport = no
moh_passthrough = yes
disallow = all
allow = ulaw
acl = acl1...
2015 Mar 05
2
PJSIP configuration for AWS/EC2 based Asterisk 13.1.0
...st/meta-data/public-ipv4
external_media_address=<publicIP>
external_signaling_address=<publicIP>
[endpoint_internal](!)
type=endpoint
context=from-internal
disallow=all
allow=ulaw
direct_media=no
[auth_userpass](!)
type=auth
auth_type=userpass
[aor_dynamic](!)
type=aor
max_contacts=1
remove_existing=yes
;Definitions for our phones, using the templates above
;; usernames and passwords etc. below
My security group configuration allows TCP, UDP posrt 5060 inbound,
outbound from/to 0.0.0.0/0 and TCP, UDP ports 10000-20000 from/to 0.0.0.0/0.
Should I turn on STUN for my zoiper softphones? Any s...
2016 Jun 13
2
PJSIP does not qualify contacts after starting Asterisk
...henticate_qualify : false
contact : sip:myurl:5060
default_expiration : 3600
mailboxes :
max_contacts : 0
maximum_expiration : 7200
minimum_expiration : 60
outbound_proxy : sip:myurl:5060
qualify_frequency : 30
qualify_timeout : 3.000000
remove_existing : false
support_path : false
So I think that those aors should be qualified automatically when I run Asterisk, but if I do "pjsip show contacts", I get that it was just Created but not qualified:
*CLI> pjsip show contacts
Contact: <Aor/ContactUri.................
2015 Apr 01
0
PJSIP Endpoint AOR question
...uld I do
> this if I have to name the aor the name of the endpoint?
>
>
>
> This fails...
>
>
>
> [transport1]
>
> type = transport
>
> bind = 0.0.0.0
>
> protocol = udp
>
>
>
> [aor3]
>
> type = aor
>
> max_contacts = 1
>
> remove_existing = yes
>
>
>
> [auth3]
>
> type = auth
>
> username = 1003
>
> password = Password
>
>
>
> [1003]
>
> type = endpoint
>
> context = Test
>
> transport = transport1
>
> auth = auth3
>
> aors = aor3
>
> dtmf_mode = inband
&g...
2014 Dec 16
1
PJSIP configuration question
...t to outbound.vitelity.net
At this point, it seems to be working (and this is going through a Cisco ALG).
I will run more tests, but here is the pjsip.conf I have.
[global]
type = global
debug = yes
[transport1]
type = transport
bind = 0.0.0.0
protocol = udp
[outbound.vitelity.net]
type = aor
remove_existing = yes
qualify_frequency = 60
contact = sip:outbound.vitelity.net
[outbound.vitelity.net]
type = endpoint
context = TestApp
transport = transport1
aors = outbound.vitelity.net
dtmf_mode = rfc4733
force_rport = yes
rtp_symmetric = yes
rewrite_contact = yes
send_rpid = yes
trust_id_inbound = yes
disa...
2017 Dec 18
3
Is it possible to have two endpoints to the same IP address where one uses IP based authentication and the other requires asterisk to register to that system?
...s configured with a match setting in the endpoint section.
All channels coming from that IP address go to this endpoint.
They want me to keep this endpoint, but add a new endpoint where we register with them.
Existing?
[transport1]
type = transport
bind = 0.0.0.0
protocol = udp
[1002]
type = aor
remove_existing = yes
contact = sip:1002 at xxx.xxx.xxx.xxx
[1002]
type = endpoint
context = mycontext
transport = transport1
accountcode = 6
dtmf_mode = inband
device_state_busy_at = 48
force_rport = no
identify_by = username
from_user = 1002
disallow = all
allow = ulaw
acl = acl1
[identify112]
type = identify...
2013 Jan 21
4
Unable to replace a symlink with regular file
...eployment worked.
However, every machine where it is a link, Puppet refuses to replace teh
link with a regular file or do anything with it.
I''ve read the type reference, and I see nothing specific about forcing
symlink replacement. I''ve looked at the source, and it seems like
remove_existing should be unlinking teh symlink ahead of my new file. But,
it isn''t happening. Any suggestions on hwo to do this?
File {
backup => main,
owner => "root",
group => $operatingsystem ? {
freebsd => "wheel",...
2014 Dec 11
2
PJSIP configuration question
...l Discussion
Subject: Re: [asterisk-users] PJSIP configuration question
<snip>
>
> I translated those settings to the following for pjsip.conf...
>
> [transport1]
> type = transport
> bind = 0.0.0.0
> protocol = udp
>
> [outbound.vitelity.net]
> type = aor
> remove_existing = yes
> contact = sip:64.2.142.93 at 5060
This is incorrect. The contact should be:
contact = sip:64.2.142.93
It will use a default port of 5060.
I also believe I've covered your origination issue in a separate email.
Your dial string should be:
PJSIP/8005555555 at outbound.vitelity.ne...
2015 Jan 08
4
Asterisk 13.1.0/PJSIP peer IP address issue
Thank you for your note, Scott.
I set rewrite_contact=yes for both contacts, and I also had to do
remove_existing=yes because I had to remove the existing contact
information (max_contacts = 1 was preventing new contact information)
using pjsip
qualify demo-alice etc., after which the right IP addresses showed in pjsip
show endpoints. Anyway, it works as expected now, I think. My pjsip.conf is
now
[transport-...
2016 Sep 09
2
Asterisk 13 PJSIP with Snom 710
...001
direct_media=no
rtp_symmetric=yes
force_rport=yes
allow=alaw
allow=speex
allow=speex16
allow=speex32
allow=gsm
[2001]
type=aor
qualify_frequency=5000
authenticate_qualify=yes
max_contacts=1
remove_existing=yes
[2001]
type=auth
auth_type=userpass
password=test
username=test
Best Regards,
Madushan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160909/d69c982e/attachment....
2015 Mar 11
2
PJSIP some AMI events is absent?
...ng?
Tell me how to determine the change in the status of the contact (or
endpoint/trunk) through AMI?
Simple config:
[srv_dev]
type=auth
auth_type=userpass
username=login
password=secret
[srv_dev]
type=aor
contact=sip:sip.example.com:5060
qualify_frequency=5
default_expiration=10
max_contacts=1
remove_existing=yes
[srv_dev]
type=endpoint
from_domain=example.com
aors=srv_dev
outbound_auth=srv_dev
rewrite_contact=yes
allow=!all,alaw
Dmitriy Serov
2015 Jul 14
2
pjsip.conf question
...no
nat = no
host = xxx.xxx.xxx.xxx
incominglimit = 32
accountcode = 1
port = 5060
context = DEF
dtmfmode = inband
insecure = invite
I am trying to make it work with PJSIP.
My pjsip.conf looks like...
[transport1]
type = transport
bind = 0.0.0.0
protocol = udp
[3400]
type = aor
max_contacts = 1
remove_existing = yes
contact=sip:xxx.xxx.xxx.xxx
[3400]
type = endpoint
context = DEF
transport = transport1
aors = 3400
accountcode = 1
dtmf_mode = inband
device_state_busy_at = 32
Dan Cropp
Senior Software Engineer, R&D Software Dept.
AMTELCO, 4800 Curtin Drive, McFarland, WI 53558-9424
608 838-4197 ext...
2014 Dec 15
2
PJSIP configuration question
...are behind the same
> NAT?
>
>
>
>
>
> [global]
>
> type = global
>
> debug = yes
>
>
>
> [transport1]
>
> type = transport
>
> bind = 0.0.0.0
>
> protocol = udp
>
>
>
> [outbound.vitelity.net]
>
> type = aor
>
> remove_existing = yes
>
> qualify_frequency = 60
>
> contact = sip:64.2.142.93
>
>
>
> [outbound.vitelity.net]
>
> type = endpoint
>
> context = TestApp
>
> transport = transport1
>
> aors = outbound.vitelity.net
>
> dtmf_mode = rfc4733
>
> force_rport =...
2014 Dec 15
2
PJSIP configuration question
...he pbx and local endpoints are behind the same NAT?
> [global]
>
> type = global
>
> debug = yes
>
>
>
> [transport1]
>
> type = transport
>
> bind = 0.0.0.0
>
> protocol = udp
>
>
>
> [outbound.vitelity.net]
>
> type = aor
>
> remove_existing = yes
>
> qualify_frequency = 60
>
> contact = sip:64.2.142.93
>
>
>
> [outbound.vitelity.net]
>
> type = endpoint
>
> context = TestApp
>
> transport = transport1
>
> aors = outbound.vitelity.net
>
> dtmf_mode = rfc4733
>
> force_rport =...