Displaying 20 results from an estimated 39 matches for "client_uri".
2020 Jun 01
1
Asterisk 16 Certified 16.8 and MagicJack Incoming Calls
...ght be causing this?
My Flowroute pjsip.conf config:
[transport-udp]
type = transport
protocol = udp
bind = 0.0.0.0
tos = cs3
[reg_us-west-wa.sip.flowroute.com]
type = registration
retry_interval = 20
expiration = 120
transport = transport-udp
outbound_auth = auth_reg_us-west-wa.sip.flowroute.com
client_uri = sip:12345678 at us-west-wa.sip.flowroute.com
server_uri = sip:us-west-wa.sip.flowroute.com
[auth_reg_us-west-wa.sip.flowroute.com]
type = auth
password = XXZZXXZZXXZZ
username = 12345678
[reg_us-west-or.sip.flowroute.com]
type = registration
retry_interval = 20
expiration = 120
transport = tran...
2011 Mar 02
6
calbacks on models
Hi, I''m having some strange behavior on callbacks when testing with
RSpec2. On my test, when I create a resource using the #create method
the callbacks related to #before_create are not called. If I go to the
console and I try to type the command Resource.create(client_uri:
"http://example.com") all works fine.
There are no mocks around, and I can''t understand if this is a normal
behavior using RSpec, if its due to Mongoid or something else.
# resource.rb (model)
class Resource
include Mongoid::Document
before_create :random_code, :cr...
2017 Sep 26
2
asterisk pjsip as voip client with multiple registrations
hi,
i want use asterisk+pjsip as voip client with multiple registrations
(perf testing)
i'm using this example configuration for one account
[308]
type=registration
outbound_auth=308
server_uri=sip:308 at example.com:5060
client_uri=sip:308 at example.com:5060
[308](auth-userpass)
username=308
password=pass
[308](aor-single-reg)
contact=sip:example.com:5060
[308](endpoint-basic)
outbound_auth=308
aors=308
[308]
type=identify
endpoint=308
match=example.com
my problem is contact on the other side (is same for all endpoints...
2020 Apr 06
2
Outgoing PJSIP using Kamailio
...registration/expiration = 3600
registration/transport = transport-udp
aor/max_contacts = 2
aor/qualify_frequency = 2000
[Provider](Provider-tootai)
;
remote_hosts = sips.provider.eu
endpoint/callerid = "TOOTAi" <00xx xxx xxx xxx>
aor/contact = sip:sips.provider.eu:5061
registration/client_uri = sips:OUR_ID at sips.provider.eu
registration/server_uri = sips:sips.provider.eu:5061
outbound_auth/username = OUR_ID
outbound_auth/password = OUR_PWD
identity/match = PROVIDER_IP
Thanks for any hint
--
Daniel
2014 Jul 16
1
PJSIP outbound register and inbound calls
Hi all,
In my case I using realtime,
here is how it looks in plant
[10001]
type=registration
transport=upd_static
outbound_auth=10001
server_uri=sip:600 at 192.168.1.1:5060
client_uri=sip:600 at 192.168.1.4:5060
[10001]
type=auth
auth_type=userpass
password=600
username=600
[10001]
type=aor
contact=sip:192.168.1.4:5060
[10001]
type=endpoint
transport=upd_static
context=dialmap
disallow=all
allow=ulaw
outbound_auth=10001
aors=10001
[10001]
type=identify
endpoint=10001
match=192.1...
2015 Mar 06
2
res_pjsip endpoint config object's 'identify_by' option needs new value "uri".
...istrations on same SIP server. And it's
problem in pjsip now. Is not it?
I requesting to add new value for endpoint option identify_by. The value
'uri'.
Simple config (cutted):
[siptrunk]
type=registration
transport=udp-transport
outbound_auth=siptrunk
server_uri=sip:sip.example.com
client_uri=sip:1234567890 at sip.example.com
retry_interval=60
contact_user=siptrunk-in
[siptrunk-in]
type=endpoint
transport=udp-transport
context=from-trunk
disallow=all
allow=ulaw
outbound_auth=siptrunk
aors=siptrunk
identify_by=uri
Registration section has option "contact_user". Incoming call...
2015 Oct 04
3
pjsip realtime registrations not pulling from ODBC
...sue. Is there a documentation page out
there that highlights which options goes under which modules.
I have not run across this yet and am wondering if I am going to bump into
any more that need to be pushed under their own config context.
Also is there a trick to what should be used in the client_uri field to
make the connection?
I am trying to connect to a sip vendor and I am trying to use
sipaccount at venderhostname.vendordomain.net?
Now that the registration table is coming up it is stating I have an
invalid client URI.. I put the same thing in for a text based registration
and it wor...
2015 Mar 06
2
res_pjsip endpoint config object's 'identify_by' option needs new value "uri".
...e for endpoint option identify_by. The
> value 'uri'.
> Simple config (cutted):
>
> [siptrunk]
> type=registration
> transport=udp-transport
> outbound_auth=siptrunk
> server_uri=sip:sip.example.com <http://sip.example.com>
> client_uri=sip:1234567890 at sip.example.com <mailto:client_uri=sip:1234567890 at sip.example.com>
> retry_interval=60
> contact_user=siptrunk-in
>
> [siptrunk-in]
> type=endpoint
> transport=udp-transport
> context=from-trunk
> disallow=all
>...
2015 Mar 15
2
Asterisk 13.1.0/PJSIP outbound calling using SIP trunk: Unable to create request with auth.No auth credentials for any realms in challenge.
...Unknown
nan
Transport: transport-udp udp 0 0 0.0.0.0:5060
Identify: sonnyGW1/sonnyGW1
Match: 65.254.44.194/32
My pjsip.conf is as below
[sonnyGW1]
type=registration
transport=transport-udp
outbound_auth=sonnyGW1_auth
server_uri=sip:gw1.sip.us
client_uri=sip:sonny at gw1.sip.us
contact_user=sonny
retry_interval=60
forbidden_retry_interval=600
expiration=3600
[sonnyGW1_auth]
type=auth
auth_type=userpass
password=somepassword
username=sonny
realm=gw1.sip.us
[sonnyGW1]
type=aor
contact=sip:65.254.44.194:5060
[sonnyGW1]
type=endpoint
transport=trans...
2015 Dec 08
2
host parameter equivalent in pjsip.conf
...=tcp://1.2.3.4
fromuser=+12345678
fromdomain=test.com
REGISTER sip:test.com SIP/2.0
From: <sip:+12345678 at test.com>;tag=as5152122a
To: <sip:+12345678 at test.com>
Contact: <sip:+12345678 at 4.3.2.1:5071;transport=TCP>
User-Agent: Asterisk PBX 13.6.0
pjsip.conf:
client_uri = sip:+12345678 at test.com
server_uri = sip:test.com
outbound_proxy=sip:1.2.3.4\;transport=tcp
REGISTER <sip:1.2.3.4;transport=tcp> sip:1.2.3.4;transport=tcp SIP/2.0
From: <sip:+12345678 at test.com>;tag=f47f3ed2-0975-4ff0-bd3b-bd5c38e594c4
To: <sip:+12345678 at test.com>...
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?
...word = yyyyyyyyyyyyyyy
[286]
type = endpoint
context = mycontext
transport = transport1
outbound_auth = auth8
aors = 286
accountcode = 22
dtmf_mode = inband
device_state_busy_at = 48
force_rport = no
disallow = all
allow = ulaw
acl = acl1
[registration3]
type = registration
transport = transport1
client_uri = sip:286 at zzz.zzz.zzz.zzz
server_uri = sip:xxx.xxx.xxx.xxx
contact_user = 286
outbound_auth = auth8
expiration = 3600
The registration for the second endpoint works fine. However, when I call through the other system for 286, it is failing. For the INVITE from the other switch, the from_user...
2015 Mar 15
3
Asterisk 13.1.0/PJSIP outbound calling using SIP trunk: Unable to create request with auth.No auth credentials for any realms in challenge.
...060
>> Identify: sonnyGW1/sonnyGW1
>> Match: 65.254.44.194/32
>>
>> My pjsip.conf is as below
>>
>> [sonnyGW1]
>> type=registration
>> transport=transport-udp
>> outbound_auth=sonnyGW1_auth
>> server_uri=sip:gw1.sip.us
>> client_uri=sip:sonny at gw1.sip.us
>> contact_user=sonny
>> retry_interval=60
>> forbidden_retry_interval=600
>> expiration=3600
>>
>> [sonnyGW1_auth]
>> type=auth
>> auth_type=userpass
>> password=somepassword
>> username=sonny
>> realm=gw1.si...
2019 Jan 26
3
INVITE from DID: No matching endpoint found but completes the call anyway
I have a trunk set up for the DID from my provider:
[my_provider]
type=registration
outbound_auth=my_provider
server_uri=sip:sip.example.com
client_uri=sip:my_username at sip.example.com
retry_interval=60
[my_provider]
type=auth
auth_type=userpass
password=123456
username=my_username
[my_provider]
type=aor
contact=sip:sip.example.com:5060
[my_provider]
type=endpoint
context=from-my_provider
disallow=all
allow=ulaw
outbound_auth=my_provider
a...
2023 Jun 08
1
Problem with pjsip
...authuser see
excerpt from pjsip.conf.
[transport-udp]
type = transport
protocol=udp
bind=0.0.0.0:5060
local_net=172.16.1.0/255.255.255.0
[reg_orange-obs.fr]
type = registration
retry_interval = 120
max_retries = 10
expiration = 120
transport = transport-udp
outbound_auth = auth_reg_orange-obs.fr
client_uri = sip:+3313445XXXX at orange-obs.fr
server_uri = sip:orange-obs.fr
[auth_reg_orange-obs.fr]
type=auth
password=3314C9BA9688C2AA
username = 75B55BTQUHSG at orange-obs.fr
[Biv_Sortie]
type = aor
contact = sip:75B55BTQUHSG at orange-obs.fr@orange-obs.fr
default_expiration = 3600
[Biv_Sortie]
type =...
2015 Jan 30
0
Remote Attended Transfer
...". In Asterisk log I
don't see any reference to "external_replaces" extension when the REFER
arrives
pjsip.conf
[simpletrans]
type=transport
protocol=udp
bind=0.0.0.0
[mytrunk]
type=registration
transport=simpletrans
outbound_auth=mytrunk
server_uri=sip:111 at 89.1.23.217:5060
client_uri=sip:111 at 89.1.23.217:5060
[mytrunk]
type=auth
auth_type=userpass
password=111
username=111
[mytrunk]
type=aor
contact=sip:89.1.23.217:5060
[mytrunk]
type=endpoint
transport=simpletrans
context=bucle-weasels
disallow=all
allow=ulaw
outbound_auth=mytrunk
aors=mytrunk
[mytrunk]
type=identify
end...
2015 Mar 25
0
PJSIP configuration for Asterisk 13.1.0/SIP trunk outbound calling
...92.168.1.0/24
external_media_address=aa.bb.cc.dd ; replaced real public IP address
external_signaling_address=aa.bb.cc.dd ; replaced real public IP address
[sonnyGW1]
type=registration
transport=transport-udp
outbound_auth=sonnyGW1_auth
server_uri=sip:registrar at gw1.sip.us ; no registrar@ in URI
client_uri=sip:sonny at gw1.sip.us
contact_user=16175551212 ; replaced real DID
retry_interval=60
forbidden_retry_interval=600
expiration=3600
[sonnyGW1_auth]
type=auth
auth_type=userpass
password=**********
username=sonny
;realm=65.254.44.194
;realm=gw1.sip.us
[sonnyGW1]
type=aor
contact=sip:sonnyGW1 at 65...
2020 Apr 08
0
Outgoing PJSIP using Kamailio
...transport = transport-udp
> aor/max_contacts = 2
> aor/qualify_frequency = 2000
>
> [Provider](Provider-tootai)
> ;
> remote_hosts = sips.provider.eu
> endpoint/callerid = "TOOTAi" <00xx xxx xxx xxx>
> aor/contact = sip:sips.provider.eu:5061
> registration/client_uri = sips:OUR_ID at sips.provider.eu
> registration/server_uri = sips:sips.provider.eu:5061
> outbound_auth/username = OUR_ID
> outbound_auth/password = OUR_PWD
> identity/match = PROVIDER_IP
>
Your server URI For registration and calling differs in that one uses
"sips" and t...
2015 Mar 04
1
PJSIP: Failed to create outgoing session to endpoint
...or
qualify_frequency=30
contact=sip:sipnet.ru:5060
;outbound_proxy=sip:sipnet.ru:5060
max_contacts=10
remove_existing=yes
[srv_d228]
type=auth
auth_type=userpass
username=talk37.ru
password=secret
[srv_d228]
type=registration
transport=transport-udp
outbound_auth=srv_d228
server_uri=sip:sipnet.ru
client_uri=sip:talk37.ru at sipnet.ru
retry_interval=60
;auth_rejection_permanent=no
contact_user=srv_d228
pjsip show registrations
<Registration/ServerURI..............................>
<Auth..........> <Status.......>
=================================================================...
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?
...word = yyyyyyyyyyyyyyy
[286]
type = endpoint
context = mycontext
transport = transport1
outbound_auth = auth8
aors = 286
accountcode = 22
dtmf_mode = inband
device_state_busy_at = 48
force_rport = no
disallow = all
allow = ulaw
acl = acl1
[registration3]
type = registration
transport = transport1
client_uri = sip:286 at zzz.zzz.zzz.zzz
server_uri = sip:xxx.xxx.xxx.xxx
contact_user = 286
outbound_auth = auth8
expiration = 3600
The registration for the second endpoint works fine. However, when I call through the other system for 286, it is failing. For the INVITE from the other switch, the from_user...
2015 Mar 15
0
Asterisk 13.1.0/PJSIP outbound calling using SIP trunk: Unable to create request with auth.No auth credentials for any realms in challenge.
...udp udp 0 0 0.0.0.0:5060
> Identify: sonnyGW1/sonnyGW1
> Match: 65.254.44.194/32
>
> My pjsip.conf is as below
>
> [sonnyGW1]
> type=registration
> transport=transport-udp
> outbound_auth=sonnyGW1_auth
> server_uri=sip:gw1.sip.us
> client_uri=sip:sonny at gw1.sip.us
> contact_user=sonny
> retry_interval=60
> forbidden_retry_interval=600
> expiration=3600
>
> [sonnyGW1_auth]
> type=auth
> auth_type=userpass
> password=somepassword
> username=sonny
> realm=gw1.sip.us
>
You probably need to remove the &...