similar to: Howto get origin IP address from SIP call reliably

Displaying 20 results from an estimated 2000 matches similar to: "Howto get origin IP address from SIP call reliably"

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 =>
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
2006 Apr 05
15
How to restrict simultaneous phone registrations
Hello all, I am looking for a way to restrict users from logging in two separate phones with the same authorization name/password at the same time. Meaning, I only want users to be able to place a call from one phone in one location, but have the ability to move from computer to computer. Has anyone found any sort of solution for this type scenario? Thanks, Bryan Mahin Please visit us @
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
2013 Oct 12
5
Capture Media IP in CDR
I am not proxying the media, but never the less I am forced to store the source media IP in my CDR, for regulatory reasons. Asterisk gets that information when the reinvite comes, but how do I store it? If I don't figure this out my next email will be from Federal Prison. Kindly help me stay away from those guys. Eventually we all need to save that information or we shall not be able to stay
2015 Mar 18
2
Asterisk 13. Writing call quality parameters to CDR. How?
Hello. Voice quality when calling - this is one of the most important in the PBX. You need to record the quality parameters for each call to improve. Because the overall quality of a call can only be determined upon completion, I did it in the HangUp handler and wrote in custom fields of CDR. This worked well in asterisk 11. In asterisk 13 I did not find a handler after the call, but before
2012 Oct 05
3
How to log caller IP address in the CDR?
Hello We had this situation: Some bot-net did try to guess SIP logins and finally succeeded. The Asterisk Server was abused to call a large number of expensive destinations. It is clear that the sip logins have been passed to various persons (probably posted on a forum somewhere inviting to do 'free calls'). Right after the affected password was changed, the message log shows which
2009 Jun 03
1
IAX2 Channel Information
I'm trying to isolate the IP address of inbound calls to my switch over IAX2. Is the proper way to get that information as follows: ${IAXPEER(IP)} If the caller was inbound via SIP, this works: ${SIPCHANINFO(PEERIP)} So I'm looking to return the IP address of the caller via IAX2. Thanks Lee -------------- next part -------------- An HTML attachment was
2009 Feb 21
1
VoIP Information in CDRs
Hi, I am trying to find a way to add the following info in CDRs (with asterisk 1.4.23.1): 1. Codec used 2. RTP QoS statistics 3. RTP IP of remote host 4. For answered calls, the peer that requested to end the conversation I have managed to get 1 and 2 for the caller, like that: exten => h,1,Set(CDR(userfield)=RIP=${SIPCHANINFO(recvip)}
2011 Jul 03
1
SIP Peer Name Variable
Hi, Is there a variable that contains the Sip Peer name? I was using ${CALLERID(num)} for outgoing calls, but when a call is being transferred, that variable contains something else. I need a variable that is always set to the SIP Peer's name. Thanks Dan -------------- next part -------------- An HTML attachment was scrubbed... URL:
2013 Aug 14
1
groupcount fraud problem
hi, i have strange problem with call-limit/groupcount limiting. i set up limit of 2 calls. i'm using both methods but a for few times i have problem with successfull fraud with more calls than 2 asterisk is 1.8.22 someone with the same problem? any ideas how to solve or debug this problem? -- --------------------------------------- Marek =======================================
2007 Nov 26
2
Get IP address of an incoming or outgoing SIP call
Hi * Users, What is the way from the dial-plan to get the IP address of an incoming or outgoing SIP call? I can see the IP address of the SIP call using 'sip show peers' from the CLI. Thanks Regards -- Arpit Mehta Graduate Student Department of Computer Science Columbia University Tel: 1-646-387-5998
2006 Mar 27
2
How to disable event_log?
Hi, how can I disable event_log in order to reduce hard disk activity? I can't find any hints in conf files. Must I hack the source code or even use brutal methods like creating a dir called event_log in the log dir, in order to prevent asterisk from creating an event_log file? (Just chmod a-w event_log does not work, unfortunately.) Thanks for any hints! Roger.
2004 Aug 27
2
how to fetch a call?
Hi, there is a feature, which I would like to use with asterisk, and I assume it exists. Unfortunately I don't know how to say it in english. In german it's "einen Ruf heranholen". It means: The phone set of my collegue is ringing, and I'm hearing the ringing. I know, that my collegue is not at his desk, and now I want to answer the call at my phone (instead of running to
2005 Jan 03
3
oh323 context for peers
I am experimenting with oh323 channels and h.323 gateways and a Cisco CallManager. I am not using a gatekeeper at this time. Is it possible to place calls coming into Asterisk from specific peers into specific contexts? In iax.conf eaxh peer has a context in which I can specify the context an inbound call will be placed in. I don't see anything like this in the oh323.conf file or the oh323
2006 Mar 24
2
How to nice agi scripts?
Hi, I have unpleasent short audio gaps when a perl based agi scripts starts. Thus, I now started to put all those things in C programmed daemons for fast-agi. Anyway I'm looking for another mean, which would help me more quickly. I noticed, that all agi scripts are running with system priority -11, like asterisk does. This is really waste of priority. I would like to have the AGI scripts
2006 Mar 02
5
Milliwatt Analyzer available
Hi, some days ago we discused here the need for an analyzer for the 1000 Hz tone, as opposite application to Milliwatt. Here it is: Mwanalyze http://planinternet.net/download/voip/asterisk/app_mwanalyze.c It performs a Fourier analysis for a fixed frequency and tells the amplitude. The frequency is not limited to 1000 Hz, but can be passed as argument. The periode duration must be a mulitple
2007 Apr 07
2
Different devices for asterisk!!!
Hi all, Im trying dial a user according to the device s/he uses. i mean if the user is using asterisk as a peer, then i have to pass the extension in the dial application like this: Dial(SIP/${EXTEN}@user) ;so that s/he can perform routing according to the DNID. and if the user is using sipura, linksys or grandstream i dial the user like this, Dial(SIP/user) so is there a way to know what kind
2006 Jun 12
2
No reinvite - reason?
Hi, I put reinvite=yes in my sip.conf. For testing, I restricted the codecs to alaw. I have no modifiers in my dial command. Thus, there should be no reason not to reinvite. Call (sip, authenticated) comes in and is forward via SIP (not authenticated) to another asterisk box. Unfortunately, media path still passes through the asterisk box in the middle. Using sip debug I even can't find
2007 Dec 17
2
SIP call interrupted after 64 seconds
Hi, some months ago, I had the problem with an asterisk-1.4.x- Version, that some calls (but not all) were interrupted 64 seconds after connect (a call limit of 86400 seconds was installed using the S()-parameter). It was just a test machine, and later, I switched to callweaver, and the problem had gone. Thus, I never investigated this problem. Now, I upgraded a machine for production use to