Displaying 20 results from an estimated 400 matches similar to: "Called peer IP"
2008 Mar 25
1
How to obtain SIPCHANINFO variables within custom application?
Hello,
How can I get peerip, recvip, from, uri, useragent, peername, t38passthrough
variables in (within) my custom Asterisk application?
I can't use chan_sip.c internal structures (such as sip_pvt) in my custom
application, because there's no chan_sip.h and I can't include it into my
application (maybe there's other way?).
I can do like this:
exten =>
2013 Mar 06
1
Asterisk crashed
Hi,
I am running asterisk 1.8.14.0, It was running fine for last few days and
suddenly crashed today
In logs I can see that abrt tried to save the core dump but it couldn't
Mar 6 12:11:09 localhost kernel: asterisk[26544]: segfault at 72656d69ac
ip 0000000000533c19 sp 00007f7db9ce3af0 error 4 in asterisk[400000+1d1000]
Mar 6 12:11:15 localhost abrt[31287]: Saved core dump of pid 26528
2015 Mar 19
0
Asterisk 13. Writing call quality parameters to CDR. How?
because of problems you are facing i decided to go way with second table
CREATE TABLE `cdr_extended` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`uniqueid` varchar(32) NOT NULL DEFAULT '',
`callid` varchar(256) NOT NULL DEFAULT '' COMMENT 'sip call-id',
`hangupcause` varchar(10) CHARACTER SET utf8 COLLATE utf8_czech_ci
NOT NULL COMMENT 'info about
2006 Feb 09
2
IP Authorization
You can use the following:
switch3*CLI> show function SIPCHANINFO
switch3*CLI>
-= Info about function 'SIPCHANINFO' =-
[Syntax]
SIPCHANINFO(item)
[Synopsis]
Gets the specified SIP parameter from the current channel
[Description]
Valid items are:
- peerip The IP address of the peer.
- recvip The source IP address of the peer.
- from
2011 Aug 25
1
security: SIP header spoofing CHANNEL(recvip)?
I am currently suffering various SIP attacks. I am using the following
extension to record the caller's IP address:
exten => h,n,set(CDR(srcip)=${CHANNEL(recvip)})
However, in recent attacks, this IP address is not correct, and I
believe that they are spoofing it. I am using asterisk 1.6.2.15.
Does the CHANNEL(recvip) variable record IP show in the SIP header
instead of the real, UDP
2016 Sep 02
3
Trouble getting peer variable (sip username) on 302 Moved Temporarily
Hello
when setting a local forward (in this case to extension 23) on a SIP
phone, I see the following on the Asterisk CLI :
[Aug 31 14:59:34] -- Got SIP response 302 "Moved Temporarily" back
from 11.22.33.44:40670
[Aug 31 14:59:34] -- Now forwarding
Local/myaccount184 at CallFromQueue-000007f4;2 to 'Local/23 at from-internal'
(thanks to SIP/myaccount184-00003729)
2016 Nov 09
3
SIP and RTP port and IP addresses
Hi all
I'd like to log the client IP addr and port used for SIP and RTP *during* in a
call.
The IPs must be the real source IPs (internet accessible).
How are these parameters available from dialplan?
For instance, ${SIPURI} holds the internal "IP:port" if the client is behind NAT.
I need the external IP:port
Regards
Ethy
2013 Feb 15
6
Cisco 7942 Connected line ID
Hi,
Is it working for anyone?
I have tried with
trustrpid=yes
sendrpid=yes/pai
but can not get it working, Asterisk cli shows prevented message like this.
Connected line update to SIP/1231-00000200 prevented
Regards,
Zohair Raza
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2004 Aug 13
0
HELP: BYE-request not sent to SIP-peer
Hello,
When i have a "Hangup" in my dialplan (extensions.conf) the RFC says to
terminate the session is to send a BYE request to UA. After tracing the
traffic on port 5060 UDP i recognized that my asterisk is NOT sending a
BYE request to it's peer, so the peer doen't know to end the session and
continues to send RTP packages to me. Does anyone know how to fix this?
Here's
2014 Aug 20
0
Asterisk listening on undefined IP as per bindaddr
Hello all,
I am running asterisk on VMs with standby heartbeat configuration,
Heartbeat assigns a virtual IP 172.20.255.40 on machine afterwards asterisk
is started. In the sip.conf, I have explicitly define
bindaddr=172.20.255.40 but sometimes I see packets coming from physical IP
172.20.255.41
I have both tcp and udp transport enabled
Here is the lsof -ni :5060 output
asterisk 2878 asterisk
2011 Dec 16
1
CDR END TIME in correct in 1.8+
Hi,
I've tested 1.8.6.0, 1.8.4.0 and 1.8.0
I can get proper start and answer time but not the end time of call
<SIP/11-00000000>AGI Rx << GET VARIABLE CDR(start)
<SIP/11-00000000>AGI Tx >> 200 result=1 (2011-12-16 18:34:48)
<SIP/11-00000000>AGI Rx << GET VARIABLE CDR(end)
<SIP/11-00000000>AGI Tx >> 200 result=1 (2011 12-16 18:34:48)
2018 Jun 26
2
Asterisk not matching longest prefix with include
On Tue, Jun 26, 2018 at 7:06 PM, Doug Lytle <support at drdos.info> wrote:
> On 06/26/2018 06:57 PM, Dovid Bender wrote:
>
>> Hi,
>>
>> My dialplan looks like this:
>> [from-external]
>>
>> Exten => _X.,1,Noop(CALL IS COMING INTO FROM EXTERNAL CONTEXT)
>> Exten => _X.,n,Noop(IP: ${CHANNEL(recvip)})
>> Exten => _X.,n,Noop(CALLED
2012 Jul 13
8
How to set SIP to auto answer in the dial plan .
Hi,
I am trying to write dial plan for sip to auto answer (auto attend) the
incoming call to the sip phone.
- If i call from sip1 to sip2 then sip2 should automatically answer the
call and play some sound file.
I am trying to do this but as new to the asterisk dial plan configuration ,
so not able Todo this.
help me if anyone already done this setup.
Regards
Upendra.
-------------- next part
2012 Jan 03
4
Asterisk, FreeSWITCH, TrixBox, SER, OpenSER, sipX, CallWeaver, and YATE.
Hi,
Please help me understand the following applications and what are its
advantages if we compare between each of them.
Asterisk, FreeSWITCH, TrixBox, SER, OpenSER, sipX, CallWeaver, and YATE.
Regards,
Kaushal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120103/ffad2be6/attachment.htm>
2007 Mar 29
2
Need help to strip variable
Hi all,
I have a need to strip some characters from a variable to get the right data
but have only found how to strip all but the last or middle stuff, need to
keep the beginning.
EG:
With $(SIPURI) I want to keep just the sip number and delete the remainder
'@server.com'.
Ideally I'd like to use 'SayDigits($(sipuri[-@server.com])'
All replies greatfully accepted.
Phil
2011 Feb 09
0
Reliably getting sip extension name from channel variables
Hi
We're using asterisk 1.4.17 debian package soon moving to 1.8 rpm
package.
When using MixMonitor to do call recordings, for outbound calls I have
been using the channel variable SIPURI to get the originating SIP
extension name. I have now stumbled across a few files where the SIP
extension name must be incorrect when cross referencing the call with
other sources (such as the channel shown
2018 May 17
3
Decoding SIP register hack
On 05/17/2018 11:38 AM, Frank Vanoni wrote:
> On Thu, 2018-05-17 at 11:18 -0400, sean darcy wrote:
>
>> 3. How do I set up the server to block these ?
>>
>> 4. Can I stop the retransmitting of the 401 Unauthorized packets ?
>
> I'm happy with Fail2Ban protecting my Asterisk 13. Here is my
> configuration:
>
> in /etc/asterisk/logger.conf:
>
>
2018 Jun 26
2
Asterisk not matching longest prefix with include
Hi,
My dialplan looks like this:
[from-external]
Exten => _X.,1,Noop(CALL IS COMING INTO FROM EXTERNAL CONTEXT)
Exten => _X.,n,Noop(IP: ${CHANNEL(recvip)})
Exten => _X.,n,Noop(CALLED NUMBER: ${EXTEN})
Exten => _X.,n,Ringing
Exten => _X.,n,WaitExten(15)
Exten => _X.,n,Congestion()
Exten => _X.,n,Hangup()
include => test
[test]
Exten => 8282,1,Noop(--- WE GOT TO
2012 Jan 12
1
how to set callerid in php AGI file.
Hi,
I am using phpagi for agi scripting. and want to update callerid number but
didn't get any success. please help me how to update PHPAGI is new for me.
Below is the code which I write.
#!/usr/bin/php -q
<?php
set_time_limit(30);
//require(.phpagi.php.);
include("phpagi.php");
$agi = new AGI();
//answer the call
$agi-> answer();
2011 Sep 02
0
No subject
core show function SIP<TAB>
I use:
set(PEERIP=${SIPCHANINFO(peerip)})
in one of my dialplans. For AGI, whatever function in your library that
executes 'GET FULL VARIABLE' should do the trick.
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline