similar to: How to Get SIP Header : To Field ?

Displaying 20 results from an estimated 700 matches similar to: "How to Get SIP Header : To Field ?"

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 =>
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 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
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
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)}
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
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
2005 Dec 28
5
Regular crashes
I have just setup asterisk on a debian sarge box. I am running Asterisk 1.21 with AMP and chan_capi_cm 0.6.1 using a BT Speedway (AVM Fritz) ISDN card, connected to a BT ISDN2e line. Currently we have 6 extensions (SIP) configured all using CounterPath(Xten) eyebeam softphone. After many hours of Googling I have finally got it all setup and working. We can transfer calls internally and make and
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>
2007 Jul 24
2
SIP IP Trunk, between Asterisk and Softswitch
Dear List; I am trying to create a link between Asterisk and My softswitch, the link to be SIP Trunk. I did the below configuration and I do not know if any one can help me and advise me to have better configuration to be sure that link is fine. But I do not know how to determine the SIP username to be sent for my softswitch as sometimes the softswitch need to check it. Also, does asterisk
2009 Sep 28
1
How to get "Call-ID" SIP header outside "chan_sip" scope ...
Hello there! I'm working on some modifications on Asterisk to adapt it to our needs considering some particular demandings of the infraestructure we want to provide. Two of these modifications are: 1- A proprietary configuration driver that will communicate with a server that will be the source of information for the entire infraestructure; and, 2- A call control application that will be
2007 Feb 27
1
chan_sip.c:10173 handle_response: Dont know how to handle a 202 Accepted respons
What does this mean? Asterisk 1.2.13 talking to 1.4.0. (response from 1.4.0.) Yuan Liu
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 @
2007 Sep 19
2
what is softswitch
Dear all what is softswitch what is difference between asterisk and softswitch ?? regards satish patel --------------------------------- Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more! -------------- next part -------------- An HTML attachment was scrubbed... URL:
2007 Oct 23
2
register => to let Asterisk register to another softswitch via SIP
Dear Alex; Thanks alot for your nice help. This is if I need to let Asterisk register with another softswitch (so I used register =>), what if I need asterisk to send call for the softswitch without register to it (directly)? If I removed the register => then how it will distiguish the IP address in the "host" at the [sip_trunk] is the IP address of the softswitch that need to
2005 Mar 03
3
Asterisk not relaying back the SIP response messages
HI all, I have the following setup running: EP<--->Calling Asterisk<--->Relaying Asterisk<--->Softswitch<---> PSTN The Endpoint EP is registered with the Calling Asterisk. Calls are forwarded from this machine to Relaying Asterisk which in turn forwards it to the Softswitch. In addition, this machine also relays back responses from the Softswitch to the Calling
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
2010 May 26
2
Getting 'username' of sip peer
Hello, I have a few entries for sip peers in sip.conf with different name and username, like [TestSIPUser] type=peer host=dynamic username=testuser secret=1234 context=test_context [TestNewUser] type=peer host=dynamic username=newsipuser secret=3456 context=test_context When a call is made from any of these peers I want to get the username of the peer. for eg:- If a call is being made from
2003 Nov 07
2
Softswitch
Pardon my ignorance, but I was hoping someone could clear up something for me. - For a few POTS lines, digium has a single port card for that, or a T1 card to a channel bank. - For 10 or more lines, digium has a T1 or E1 card for that too based on PRI channels - For 100's to 1000's of lines, I suspect a soft-switch is in order??? A traditional phone company will sell: - POTS lines for