[asterisk-bugs] [Asterisk 0018945]: SIPAddHeader in dialplan not in SIP INVITE

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Mar 31 12:19:56 CDT 2011


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18945 
====================================================================== 
Reported By:                jonaskellens
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18945
Category:                   PBX/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.6.2.16.2 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-03-09 08:37 CST
Last Modified:              2011-03-31 12:19 CDT
====================================================================== 
Summary:                    SIPAddHeader in dialplan not in SIP INVITE
Description: 
The dialplan :

exten => 5006,1,NoOp()
exten => 5006,n,SIPAddHeader(Privacy: id)
exten => 5006,n,Set(CALLERID(all)="959600" <959600>)
exten => 5006,n,Dial(SIP/959600/5006)

The CLI shows :

[Mar  9 15:23:18]     -- Executing [5006 at from-VOIP:1]
NoOp("SIP/voip2-00000831", "") in new stack
[Mar  9 15:23:18]     -- Executing [5006 at from-VOIP:2]
SIPAddHeader("SIP/voip2-00000831", "Privacy: id") in new stack
[Mar  9 15:23:18]     -- Executing [5006 at from-VOIP:3]
Set("SIP/voip2-00000831", "CALLERID(all)="959600" <959600>") in new stack
[Mar  9 15:23:18]     -- Executing [5006 at from-VOIP:4]
Dial("SIP/voip2-00000831", "SIP/959600/5006") in new stack


The SIP INVITE :

INVITE sip:5006 at sip.domain.be SIP/2.0
Via: SIP/2.0/UDP 192.168.1.106:5063;branch=z9hG4bK-b39016f3
From: "VC" <sip:voip2 at sip.domain.be>;tag=689d032893d3782bo2
To: <sip:5006 at sip.domain.be>
Remote-Party-ID: "VC" <sip:voip2 at sip.domain.be>;screen=yes;party=calling
Call-ID: 185558ac-c5698077 at 192.168.1.106
CSeq: 101 INVITE
Max-Forwards: 70
Contact: "VC" <sip:voip2 at 192.168.1.106:5063>
Expires: 240
User-Agent: Linksys/SPA941-5.1.8
Content-Length: 401
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
Supported: replaces
Content-Type: application/sdp
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-03-31 12:19 lmadsen        Description Updated                          
======================================================================




More information about the asterisk-bugs mailing list