Displaying 20 results from an estimated 1000 matches similar to: "PJSIP do not challenge 'options' without username. - silence 'notice' on console."
2018 Jan 04
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?
Thank you George.
I will pass along the rfc information to those responsible for the other switch.
I missed the match_header addition to Asterisk.
Unfortunately, the only header field that seems appropriate is the To header.
On a separate box I am now trying to configure the endpoint recognition. Planning on multiple endpoints to the same switch, so I am trying to use the match_header field.
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?
Thanks George
I originally didn?t have the 1002@ for the identify. Changed that when things were not working. I changed it back.
Unfortunately, the system I am connecting with doesn?t seem to support the line support. Looking at the SIP packets, I see Asterisk send it. Unfortunately, they do not send the line information as part of the INVITE. I checked with some developers of that system
2015 Mar 06
2
res_pjsip endpoint config object's 'identify_by' option needs new value "uri".
Hello.
Asterisk 13.2.
I transfer configs from chan_sip to res_pjsip.
In chan_sip i have "match_auth_username=yes" and have nothing in pjsip.
I have a lot of endpoints and registrations 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]
2019 Apr 05
2
pjsip endoint woes
I'm trying to set up pjsip to work with an obi202 and google voice. But
I can't configure the endpoint.
pjsip:
[obi202-auth](!)
type = auth
auth_type = userpass
password = <mypass>
[obi202-aor](!)
type = aor
max_contacts = 2
; ===== endpoints ========
[gv-voice](obi202-endpoint)
auth = gv-voice
aors = gv-voice
identify_by=auth_username
;identify_by=username ; I also tried
2018 Jan 09
2
PJSIP: identify endpoint by authentication username?
Dear fellow list readers
This is the situation:
ISDN Devices => Patton ISDN to SIP GW => Asterisk PJSIP
The Patton GW resides on a dynamic IP address, so I cannot really use
match=ip in the identify section.
The Patton does not send a line parameter.
The ISDN Devices behind the patton have different MSN and should be
able to send them in the From: Header, so the default endpoint
2019 Nov 29
2
pjsip: How is asterisk choosing the IP address to put in the Contact header?
Hi Gang
Server, two interfaces, routing to two different networks.
Two transports defined, each bound to the corresponding ip assigned to
the interface.
But still, especially when an 183 message is sent, the Contact header
does contain the wrong IP Address.
Is this a known issue 13.18.3? Or is there a way to make absolutely
sure the IP addresses within the Contact header is corresponding to
2019 Nov 19
2
Global number rewriting rules affecting ALL headers?
Hi Joshua
I had a shot at your suggestion, bug still no success.
I fear the 181 is sent before the macro is called.
I want to change the Diversion Header in the 181 message sent back to
the caller to put the number it contains in the correct e164 format
(stripping the 0 and adding +41 for Switzerland) but just any 'dialplan
set' value would do for an example :-)
Could you please make
2023 May 02
1
DUNDI anyone?
Hi
Well it is well some time that my last DUNDI peer has become
unreachable.
I guess too many issues with spoofed numbers etc.
But I am wondering, do people, especially larger entities like telcos,
still use DUNDI?
I know that in some Hamradio communities, DUNDI is used to interconnect
PBXes, but that is with private phone number ranges, not connected to
the public.
Want some DUNDI peering?
2015 Mar 06
2
res_pjsip endpoint config object's 'identify_by' option needs new value "uri".
07.03.2015 0:24, Kevin Harwell ?????:
> On Fri, Mar 6, 2015 at 2:06 PM, Dmitriy Serov <serov.d.p at gmail.com
> <mailto:serov.d.p at gmail.com>> wrote:
>
> Hello.
>
> Asterisk 13.2.
> I transfer configs from chan_sip to res_pjsip.
> In chan_sip i have "match_auth_username=yes" and have nothing in
> pjsip.
>
> I have a
2019 Apr 08
2
pjsip endoint woes
On Sat, Apr 6, 2019, at 10:04 AM, sean darcy wrote:
> On 4/5/19 10:36 AM, sean darcy wrote:
> > I'm trying to set up pjsip to work with an obi202 and google voice. But
> > I can't configure the endpoint.
> >
> > pjsip:
> >
> > [obi202-auth](!)
> > type = auth
> > auth_type = userpass
> > password = <mypass>
> >
>
2020 Jan 13
3
Solved: Re: Asterisk 13.18.3 PJSIP. Wrong Port in Contact Header in Reply to REGISTER?
Hi Joshua
Thank you for your reply.
Indeed, Ubuntu only ships with this old version. Upgraded to 16.2. via
PPA. Problem persisted.
Well, I already mentioned that this is a machine with two physical
interfaces with different routes which on the 'external' side handles
SIP customer registrations and has an 'internal' IC Trunk to a
commercial Voice Switch via private IP Range.
I
2019 Nov 18
4
On Register, run a script, validate source IP
Hi Gang
To increase security against phished passwords and similar attacks, we
consider offering customers to define IP ranges (or GeoIP locations)
from which their dynamic registrations are being accepted.
I can already look at the source IP in the dial plan, so no issue with
validate an INVITE against a source IP.
But I would also like to prevent registrations from outside of this
2019 Nov 15
2
pre-dial handler, how to access variables from calling channel?
Hi List
Implementing screening and routing I have stumbled over this issue:
[pbx-router]
exten => s,1,NoOp(ROUTER FROM: ${CALLERID(Number)} TO: ${DESTINATION})
same => n,Set(SOURCE=${CHANNEL(name)})
same => n,Set(PAI=${PJSIP_HEADER(read,P-Asserted-Identity)})
same => n,Set(FROM=${CALLERID(Number)})
same => n,Set(TO=${DESTINATION})
same
2020 Jan 14
1
res_pjsip.c:3461 ast_sip_set_tpselector_from_transport_name: Unable to retrieve PJSIP transport 'transport-name'
Hi Gang
I gave up on running asterisk with two interfaces without it mixing up
the ip addresses.
So I have removed one transport definition from pjsip.conf
Now * keeps complaining:
res_pjsip.c:3461 ast_sip_set_tpselector_from_transport_name: Unable to retrieve PJSIP transport 'transport-name'
I did a grep on /etc/asterisk for that transport name. It's in any file
anymore.
2019 Nov 28
2
PJSIP device_state_busy_at, how does this work?
Hi Gang
According to:
https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Configuration_res_pjsip#Asterisk12Configuration_res_pjsip-endpoint_device_state_busy_at
And endpoint should return busy if this number is reached.
We have PBX Trunks registering to the Asterisk.
So we want to limit the number of concurrent calls to a PBX and return
busy, if more than the configured number of channels
2020 Jan 24
4
Perl AGI: read variable with quotes
Hi Gang
I have stumbled of this problem.
I need the P-Asserted-Identity header in an AGI scrip.
In the Dial-Plan I do:
same => n,Set(PAI=${PJSIP_HEADER(read,P-Asserted-Identity)})
In the AGI I do:
my $pai = $AGI->get_variable(PAI);
This works fine, unless the PAI contains quotes:
P-Asserted-Identity: <sip:1000 at 1.2.3.4:5060;user=phone>
I get "<sip:1000 at
2019 Dec 27
2
SIP via TCP - new TCP session per call or use same session for multiple calls?
Hi List
I wonder how SIP via TCP is supposed to work. Not realy Asterisk
related, but I hope you experts might be able to help out :-)
One of our customers has a SIP device registering via a complex NAT. To
benefit from TCP Connection Tracking, he choose TCP instead of UDP.
So he expected, that an incoming call would be sent back to him on the
already open TCP connection, making it easy to get
2023 Dec 04
1
Asterisk 13 / chan_sip / registration after reject
Hi List
We have some CPE which run an embedded asterisk 13 with chan_sip.
Unfortunately, when a registration is rejected, those stop trying.
I am familiar with pjsip which allows to configure:
auth_rejection_permanent=no
How do I achieve the same with chan_sip?
Mit freundlichen Grüssen
-Benoît Panizzon-
--
I m p r o W a r e A G - Leiter Commerce Kunden
2019 Nov 19
2
Global number rewriting rules affecting ALL headers?
Hi List
One more Problem I stumbled upon.
Using Asterisk in a TSP environement.
Incomming IC Calls are e164 and have a NPRN (Routing Number) prefixed.
Example: +4198055615995555
+41 country prefix
98055 Routing Prefix
615995555 effective phone number
Calls routed to Customers need to be put in the 'local' format.
0615995555
This is also the format of the From / To / Invite header
2020 Jan 10
2
Asterisk 13.18.3 PJSIP. Wrong Port in Contact Header in Reply to REGISTER?
Hi List
I have been pondering over a problem to use an asterisk server behind
an SBC unable to successfully handle registrations.
Now I observed something strange which I suspect might be a bug on the
asterisk side.
The SBC originates is register from Port 6011 to Port 5060 on the
Asterisk.
The Contact Header of the REGISTER contains:
Contact: user at SBC-IP:6011
The Asterisk is sending the