Displaying 4 results from an estimated 4 matches for "my_dnid".
2015 Aug 24
3
PJSIP add
...e it.
Does the function Set(PJSIP_HEADER(add, ..... not transfer over to the call when the Queue function is called?
Am I calling the Set(PJSIP_Header(add portion incorrectly? Or is this a problem with the Asterisk PJSIP support?
chan_sip...
[macro-MY-SetDNID]
exten => s,1,Verbose(X-MY-DNID:${MY_DNID})
exten => s,1,SIPAddHeader(X-MY-DNID:${MY_DNID})
same => n,Queue(${ARG2})
pjsip....
[macro-MY-SetDNID]
exten => s,1,Verbose(X-MY-DNID:${MY_DNID})
same => n,Set(PJSIP_HEADER(add,X-MY-DNID)=${MY_DNID})
same => n,Queue(${ARG2})
Have a great day!
Dan
-------------- next part ---------...
2015 Aug 27
2
Is it possible to perform PJSIP Add Header prior to calling Queue and have it part of the INVITE packet?
I have both the PJSIP add and the chan_sip way of adding SIP headers in there. The Verbose is showing the variable value is there.
The INVITE to PJSIP/Agent1 does not include either X-My-DNID or X-My-DNID2 headers.
exten => 1234,1,Verbose(X-My-DNID:${MY_DNID})
same => n,Set(X-My-DNID=${MY_DNID})
same => n,Set(PJSIP_HEADER(add,X-My-DNID2)=${MY_DNID})
same => n,Dial(PJSIP/Agent1)
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Scott Griepentrog
Sent: Thursday, August 27, 2015 4:...
2015 Aug 27
2
Is it possible to perform PJSIP Add Header prior to calling Queue and have it part of the INVITE packet?
Thanks Scott.
I was able to get the basic concept to run.
However, it seems PJSIP INVITE for the Dial also does not support added headers.
The Local channel dial plan did have the channel variable values. I added them as SIP headers, then Dial(PJSIP/Agent).
The INVITE for the Dial on PJSIP continues to not include the SIP Headers I added.
For chan_sip, I have no problem with this. Even the
2008 Feb 04
2
Losing CALLERID{dnid}
Hi,
I'm using videocalling on asterisk 1.4.10.
When I setup the videocall with exten = n,1,h324m_gw(s at video2webanswer),
I loose the variable DNID (${CALLERID(dnid)})
Before the videocall is set up, this variable is filled and after this
videocall this variable is empty.
Also all local variables are empty.
If al look at the A-number (${CALLERID(num)} this variable is not empty