similar to: extensions.conf - switch => statement?

Displaying 20 results from an estimated 3000 matches similar to: "extensions.conf - switch => statement?"

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
2006 Apr 24
2
User Defined VoiceMail announcement?
Hi all I noticed that most caller are quite confused by the standard voicemail announcement text. Especialy as the number read is the 'internal' number. Callers often hang up because they think having called the wrong number when they hear the announcement. Is there a way (like in many other PBXes) that the VoiceMail user could record his own announcement? (like, hello, this is the
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
2017 Nov 27
2
pjsip Transfer 'Failed to parse destination uri'
Hi Richard > That could be possible and would be a bug in chan_sip. Ok, so I switched to PJSIP to see if this behaves differently So ip do a Transfer(PJSIP/${DESTNUMBER}@trunk) And this results in: Failed to parse destination URI '[destnumber scrubber]' for channel PJSIP/trunk-00000011 Do I have to specify the destination number differently when using Transfer with pjsip that I
2018 Feb 02
2
Weird 'hairpin' call rtp audio problem
Hi Joshua > The "rtp_keepalive" option can be used to have the RTP stack send an > RTP packet out. Try that and see what happens. Once again 'bullseye' that fixed the problem. Thank you! Mit freundlichen Gr?ssen -Beno?t Panizzon- -- I m p r o W a r e A G - Leiter Commerce Kunden ______________________________________________________ Zurlindenstrasse 29
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?
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
2007 Mar 20
1
Zapateller not playing audio via SIP Trunk?
Hi All I'm tracing a very strange problem which I could reproduce with different versions up to 1.2.5 (sorry, didn't update to a newer one yet). Scenario 1: Problem does not occure. ============================= Sip Phone registered directly to the Asterisk. exten => i,1,Zapateller() exten => i,n,Playback(invalid,noanswer) exten => i,n,Hangup() Works like expected. I dial an
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.
2006 Jul 19
1
winbindd reporting wrong sid, but only sometimes on samba 3.0.23
Hi all I have a problem that starts driving me crazy... Win2k3 ADS, added some attributes like loginshell, gid, uid etc. Unix clients use NSS_LDAP to get 'passwd' data and kerberos to authenticate users. Authentication does not happen via LDAP. winbindd is used to autocreate sid => uid/gid mappings. This worked very fine with samba 3.0.14a. Upgraded to samba 3.0.23 Now the owner
2018 Jan 09
2
pjsip rtp_ipv6=yes but endpoint registered via ipv4 (IP4 contact infor)
Dear List I fear I stumbled over a bug in asterisk 13.14.1. My 'phones' are roaming around, sometimes some are connecting from ipv6 enabled networks, another time they are not. If a connection is ipv6 I would prefer to use ipv6 to avoid ipv4-nat problems. I have not specified a transport in the endpoint section, so that the appropriate transport which corresponds to the registration
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 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 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
2019 Dec 27
0
SIP via TCP - new TCP session per call or use same session for multiple calls?
So long as the tcp socket is open your SBC should send the call back over the same socket. Now it can be that your SBC is seeing the socket as timing out. If you are using Kamailio you can have it send tcp keep alives every so often so that the socket stays up. On Fri, Dec 27, 2019 at 10:41 AM Benoit Panizzon <benoit.panizzon at imp.ch> wrote: > Hi List > > I wonder how SIP via
2017 Nov 20
2
How to correctly set REDIRECTING to indicate diversion reason
Hello List Next question where google did not spit out an unsable answer. When redirecting a call with Transfer, I would like to correctly indicate the reason. I did try this: exten => XX,1,NoOp(Call to ${EXTEN} from ${CALLERID(all)}) exten => XX,n,Dial(SIP/ZZ) exten => XX,n,set(REDIRECTING(reason)=cfb) exten => XX,n,Transfer(SIP/YY) I did try with 'reason'
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
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
2017 Nov 21
2
How to correctly set REDIRECTING to indicate diversion reason
Hi Richard Thank you > You need to set more redirecting information [1]. > > In sip.conf send_diversion=yes needs to be in effect. You also need > to setup > the from party id information (at least the from number) to indicate > where you > are redirecting from. You should also increment the redirecting > count. > > Richard > > [1] >
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