Displaying 20 results from an estimated 4000 matches similar to: "IAX2 Channel Information"
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
2015 Jun 12
1
Voice mail and caller ID
On Fri, 12 Jun 2015 11:49:05 -0700
John Kiniston <johnkiniston at gmail.com> wrote:
> Try this for CHAN_SIP:
>
> same => n,Set(Peer=${SIPCHANINFO(peername)}) ; Get the peer
> same => n,Set(MailBox=${SIPPEER(${Peer},mailbox)}); Get the
> mailbox same => n,VoicemailMain(${MailBox}@LocalSets,s) ; If we
> have a mailbox defined log into it
Perfect.
2006 Nov 16
2
installing asterisk for Ubuntu Synaptic
I have an Ubuntu system and went into Synaptic and checked asterisk for
installation. Once installed, I started it with /usr/sbin/asterisk -vvvgc
and got the following output with several errors and notices. Do I need to
do more or are these ok? I expected to have some conf files in
/etc/asterisk but there is nothing there.
Thanks!
Created by Mark Spencer <markster@digium.com>
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
2007 Oct 19
2
Howto get origin IP address from SIP call reliably
Hi,
incoming SIP calls have a channel name in the form of:
SIP/<ip-adresss-of-peer>-<handle>
This is a way to get fetch the IP address of the remote side
of a SIP call - in most cases.
However, sometimes, instead of the IP address, there is a host
name in the channel name. I assume, this value in the channel name
is not the real IP address, but just a field filled in by the
remote
2006 Dec 15
2
Trying to forward calls by using the Callee's context as the forward dial context
I'm simply trying to forward calls to users who have the call forwarding
feature enabled (FWD Status and FWD Ph Number kept in the astDB). The
problem is that I want users to be able to forward calls to numbers that
they would normally be allowed to dial within their own context. (I
don't want a local call only person forwarding to a long dist number,
for example.) I'm able to
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 @
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)}
2006 Feb 13
1
How to Get SIP Header : To Field ?
Hi,
I'm using Asterisk (1.2.4) as a voicemail system for our Softswitch.
When forwarding a call to Voicemail, here is somehow what the softswitch
sends to Asterisk :
In INVITE : Vm Phone Number ( to route the call )
In To : Person who has been called !
In From : Person who was calling !
Of course, I need to send the call into the "Called User" Mailbox (Thus To
SIP header) !
So
2005 Jul 23
2
(cause 66 - Channel not implemented) -- IAX?
Hi,
I am setting up a small call center using *. I have ZAP setup for
incoming calls and IAX setup for agents. Agents login using
AgentCallbackLogin. When customers call, it's getting picked up and when
queue is trying to call back the agents, I am getting error.
I am using CVS HEAD, and updated just now.
The error is:
-- Executing Answer("Zap/1-1", "") in new
2008 Mar 13
3
How to find out the IP of the calling party?
Hi All,
I'm trying to achieve the following:
- If <sip/iax user> logs in from home, they can dial internal extensions
only (this is to avoid employees going wild on local/mobile calls from home)
- If <sip/iax user> logs in from the office, they can call anyone they want.
Since I have my users defined in an LDAP tree, I'd like to stick to
one-account-per-user (each account is
2006 Nov 27
2
registration ip address
What is the variable like $peerip to get the registered ip address for a
peer
Regards
*********************************************
No employee or agent is authorized to conclude any binding agreement on behalf of Xplorium with another party by e-mail without express written confirmation by an officer of Xplorium. Any views expressed by an individual in this electronic message do
2006 Jan 27
7
AAH out bound routing problem
Hi all
I have installed AAH 2.2 in my P4 PC
following AAH handbook PDF and http://mundy.org/blog/index.php?p=62#amp
and made as per the guide says
and downloaded SJ Phone, and registered user
and when i try to dial the 19197543700
i get message that, all circuits are busy now, please try your call later
and when i see in the console i get this mesage
any help
Called easycall/19197543700
2010 Aug 10
1
DEBUG: Cannot find variable 'XXX' ??
On 1.6.2.11-rc2 I've noticed a bunch of DEBUG statements on startup,
such as:
== Registered custom function 'SIP_HEADER'
[Aug 9 07:01:23] DEBUG[17330]: xmldoc.c:1727 xmldoc_build_field: Cannot
find variable 'SIPPEER' in tree 'description'
== Registered custom function 'SIPPEER'
[Aug 9 07:01:23] DEBUG[17330]: xmldoc.c:1727 xmldoc_build_field: Cannot
find
2007 Oct 26
1
Can't get sangoma A102D setup on asterisk
I have a new Sangoma A102 and I'm trying to get it running in asterisk. A
look through the dmesg log shows the card is detected and the various
channels created. However, when I start asterisk I get the error below.
Any ideas?
My zapata.conf is below.
Thanks,
MD
== Registered custom function SIPCHANINFO
== Registered custom function CHECKSIPDOMAIN
== Manager registered action
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
2015 Jun 12
2
Voice mail and caller ID
I have this in my sip.conf:
exten => *98,1,Verbose(0,CALLERID number is "${CALLERID(num)}")
same => n,VoicemailMain(${CALLERID(num)}@LocalSets,s)
same => n,Hangup
However, my extensions are set up so that they always show the external
number, not the extension:
[foobar2](client-phone)
secret=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
callerid=Candace <5555551212>
2018 May 17
2
Decoding SIP register hack
I need some help understanding SIP dialog. Some actor is trying to
access my server, but I can't figure out what he's trying to do ,or how.
I'm getting a lot of these warnings.
[May 17 10:08:08] WARNING[1532]: chan_sip.c:4068 retrans_pkt:
Retransmission timeout reached on transmission
_zIr9tDtBxeTVTY5F7z8kD7R.. for seqno 101
With SIP DEBUG I tracked the Call-ID to this INVITE :
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