Displaying 20 results from an estimated 10000 matches similar to: "Overwriting SIP headers"
2006 Jan 18
2
SipAddHeader bug?
Hi,
I'm using the new SipAddHeader application on Asterisk 1.2.1,
here's a snip of my extensions:
exten => _9XXXXXXX,1,SipAddHeader(P-Asserted-Identity: <sip:${CALLERIDNUM}
exten => _9XXXXXXX,2,SipAddHeader(P-Asserted-Identity: tel:${CALLERIDNUM})
exten => _9XXXXXXX,3,Dial(SIP/${EXTEN}@${SIPTRUNK},,tT)
exten => _9XXXXXXX,4,Congestion
The problems is that Asterisk
2007 Aug 08
1
OT - P-asserted-identity and remote id
Hi,
The case I'm working on is :
- a call comes from PSTN to a given extension (say 122)
- a user picks the call up (dialing *8122) from another extension (say 240)
using a SIP hardphone
- the hardphone (he one with 240 extension) displays the dialed string (here
*8122) instead of original caller-id.
This is logical but I would like to change this default behaviour so that
original
2015 Jun 12
0
RES: Banco de dados interno no Asterisk e variáveis em SIP HEADERS
Prezado Fernando,
Muito obrigado por sua complementa??o na resposta!
Surgiram algumas d?vidas agora:
A ?nica forma de retornar os dados num header field, como o Rafael dos Santos Saraiva sugeriu envolve criar outro channel?
Ou seja, o que eu preciso ? que a mesma execu??o do dia plan obtenha um valor recebido do Sip Client, execute uma query num banco de dados e em seguida inclua a resposta
2012 Feb 11
1
Asterisk perl AGI confusing variables
Hello all,
I'm struck with a very strange problem today. I've an AGI with some code
subroutine snippet as follows:
sub enable_sbc($) {
my $carrier = shift;
my $tmp = substr($carrier,1);
my $jkh = $tmp;
$server_port = $ast_agi->get_variable("SIPPEER($jkh,port)");
$ser_ip = $ast_agi->get_variable("SIPPEER($tmp,ip)");
2006 May 25
0
Re: Implementing Paging on the Linksys SPA9XX phones (working)
I came up with this a few days ago, mostly used the wiki examples,
didn't have time to post on the wiki yet, maybe one of you guys with a
few minutes can throw it up there, really, I forgot my logon.
http://www.voip-info.org/wiki/index.php?page=Asterisk+Paging+and+Intercom
The agi script didn't work for me, wouldn't call the active hint
extensions, even though they were there, no
2014 Feb 16
1
Retaining P-Asserted Info
Hello Everyone,
Our switch is sending P-Asserted info to asterisk however the information
is getting removed when asterisk forks the call. Is it possible to have asterisk
retain the P-Asserted on the leg. This is quite important for valid
functionality of our
network.
Tried setting `sendrpid = yes` and still same problem. We really don't want to
have to `SipAddHeader` as it is already being
2009 Nov 29
3
Parsing custom SIP headers
Hi,
Just to be sure: Is there a dialplan function in Asterisk that
parses custom "name-addr"-style SIP headers for me?
If I wanted to do it right the syntax
name-addr *(SEMI generic-param)
is quite complex to parse in the dialplan using nothing but CUT().
It's so easy to make false assumtions about angle brackets (< >),
whitespace (LWS), quotes (") around the
2006 Oct 16
1
Page hangs up after 5 seconds
Hi asterisk-users,
We are using Asterisk 1.2.12.1, and are trying to use the Page
application. It seems to work but after approx 4-5 seconds the call is
hung up.
The dialplan code look like this:
exten => _*2XX,1,AGI(get-paging-devices.agi,${EXTEN:2})
exten => _*2XX,n,GotoIf($[ "${PAGING_DEVICES}" = "invalid" ]?i,1)
exten => _*2XX,n,SIPAddHeader(Call-Info:
2023 Jul 23
1
Parallel dialoog with different Alert-Info headers
On 7/23/2023 12:32 PM, Dirk-Willem van Gulik wrote:
>> On 22 Jul 2023, at 23:40, asterisk at phreaknet.org wrote:
>>
>> I'm assuming you mean at the device level, and that you want to send
>> only the relevant header to each device?
>> Use pre-dial handlers; a unique handler runs on each destination
>> channel. With PJSIP, you're forced to do this
2023 Jul 22
1
Parallel dialoog with different Alert-Info headers
We have a couple of parallel ring settings (and this has worked well for eons).
Either in the form of
same => n,Dial(SIP/1001 & SIP/1002 & SIP/1003 …..)
Or via a subroutine (below) that has a bit of extra logic:
FOO = 1010 & 1019 & 1017 & 1033
...
same => n,gosub(sub-callout,s,1,(${FOO},”Ringing all class FOO telefons"))
Now I have two types of phones
2023 Jul 23
1
Parallel dialoog with different Alert-Info headers
> On 22 Jul 2023, at 23:40, asterisk at phreaknet.org wrote:
>
> On 7/22/2023 4:51 PM, Dirk-Willem van Gulik wrote:
>> We have a couple of parallel ring settings (and this has worked well for eons).
>>
>> Either in the form of
>>
>> same => n,Dial(SIP/1001 & SIP/1002 & SIP/1003 …..)
>>
>> Or via a subroutine (below) that has a bit
2023 Jul 22
1
Parallel dialoog with different Alert-Info headers
On 7/22/2023 4:51 PM, Dirk-Willem van Gulik wrote:
> We have a couple of parallel ring settings (and this has worked well for eons).
>
> Either in the form of
>
> same => n,Dial(SIP/1001 & SIP/1002 & SIP/1003 …..)
>
> Or via a subroutine (below) that has a bit of extra logic:
>
> FOO = 1010 & 1019 & 1017 & 1033
> ...
> same =>
2010 Jun 28
2
sip add header
It seems that for local channels (asterisk 1.4.33) the variable
Variable: SIPADDHEADER="Alert-Info: Ring Answer"
(call polycom phones and ring then auto answer)
Is ignored, Is this just an oversite or is there some reason?
It works fine with I call the SIP phone directly - however -
when I first call the Local channel - then Dial the SIP phone
the SIPADDHEADER doesnt seem to do
2011 Apr 05
1
allpage issu on asterisk 1.8.3.x
Hey Guys!
I have perl script for allpage which is working fine with asterisk 1.8.2.3 version but same script same dialplan wouldn't working on asterisk-1.8.3.2 is there anything changes ?
If i run this script from command like it works but not from asterisk dialplan. This script nothing but just connecting AMI interface and using Variable: SIPADDHEADER=Alert-Info: Ring Answer variable to
2009 Mar 24
0
originate and local channel problem
Hello,
I want originate a call to some destination, and when B side answes to
play a prompt. Asterisk version is 1.6.0.5. But also I need to insert a SIP
header to Invite, that's why I'm using Local Channel. This is my
extension.ael:
context autodialer-local {
_X. => {
SipAddHeader(P-Asserted-Identity:
<sip:${CALLERID(num)}@xxx.xxx.xxx.xxx;user=phone>);
2014 Sep 08
0
adding IAX headers
We exchange information among call using sipaddheader.
Is there a similiar command in IAX?
Thanks,
Valter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140908/96bf1924/attachment.html>
2007 Sep 11
0
SIPAddHeader cmd from Realtime MySQL, not getting all the 'appdata' field
Hi All,
I'm doing some simple paging functions and using the SIPAddHeader cmd.
* 1.2 branch. Using it in the extensions.conf file, it works fine:
exten => _*2XX,1,SIPAddHeader(Call-Info: sip:\;answer-after=0)
in * console:
lab2*CLI>
-- Executing SIPAddHeader("SIP/204-0818dcd0", "Call-Info:
sip:;answer-after=0") in new stack
When i put the same cmd in Realtime
2014 Oct 22
1
SPA504G auto answer
Hello,
I am struggling to have a SPA504G to auto answer (for intercom/paging). I
have tried the following SIP headers (not all together), but without luck:
SIPAddHeader(Call-Info:\;answer-after=0);
SIPAddHeader(Call-Info: answer-after=0);
SIPAddHeader(Alert-Info: info=intercom);
SIPAddHeader(Alert-Info: Ring Answer);
SIPAddHeader(P-Auto-Answer: normal);
Any other ideas?
Leandro
PS
I have set
2015 Jul 02
0
Custom header when busy
<div>* call-limit on PBX is triggered</div><div>š</div><div>02.07.2015, 15:49, "royj@yandex.ru" <royj@yandex.ru>:</div><blockquote type="cite"><div>Thanks for the tip. Our goal is to know that call-limit is triggered. And later analyze this info, maybe do some action.</div><div>Yes, we can parse CDRs or execute
2009 Jan 08
0
SIP message routed back to mysql
Hello!
* Version: 1.6.0.3-rc1
Scenario: * -> Proxy -> routed back to myself (The only thing changing
is the Request URI)
(And the Record-Route, Via that are added, of course).
Outgoing Context is faxserver-out, incoming context is faxserver (at
least should be).
Outgoing context is straight forward:
[faxserver-out]
exten => _X.,1,NoOP(FAXOUT -- Connecting ${CALLERID(all)} ->