[asterisk-bugs] [Asterisk 0018227]: CONNECTEDLINE is not working at all if do not introduce a simple SIP call

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Oct 28 11:59:10 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18227 
====================================================================== 
Reported By:                voipgate
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18227
Category:                   Functions/func_callerid
Reproducibility:            have not tried
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.8.0 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-10-28 06:38 CDT
Last Modified:              2010-10-28 11:59 CDT
====================================================================== 
Summary:                    CONNECTEDLINE is not working at all if do not
introduce a simple SIP call
Description: 
I am testing CONNECTEDLINE on asterisk 1.8.0. My phones AASTRA and Polycom
support CALLERID updates on outbound calls.

What I try to achieve is to rewrite the name on the display of the phone
on outbound calls. 

Here is what I tried and which is not working. I used tshark to confirm
that asterisk is not sending any packets with a P-Asserted header.

Set("SIP/mixdev1_601-00000091", "CONNECTEDLINE(num)=3133731337") 
Set("SIP/mixdev1_601-00000091", "CONNECTEDLINE(name)=HUMBALA TEST")
Dial("SIP/mixdev1_601-00000091", "SIP/VOIPmixdev1-4/20333000") 

Here is another example that did not work either.
Set("SIP/mixdev1_601-00000091", "CONNECTEDLINE(num)=3133731337") 
Set("SIP/mixdev1_601-00000091", "CONNECTEDLINE(name)=HUMBALA TEST")
Echo()


====================================================================== 

---------------------------------------------------------------------- 
 (0128448) rmudgett (administrator) - 2010-10-28 11:59
 https://issues.asterisk.org/view.php?id=18227#c128448 
---------------------------------------------------------------------- 
19.3.2   Straightforward dial through
exten  => 1000,1,NoOp
; The  CONNECTEDLINE information is sent when the call is answered.
exten  => 1000,n,Set(CONNECTEDLINE(name,i)="Company Name")
exten  => 1000,n,Set(CONNECTEDLINE(name-pres,i)=allowed)
exten  => 1000,n,Set(CONNECTEDLINE(num,i)=5551212)
exten  => 1000,n,Set(CONNECTEDLINE(num-pres)=allowed)
; The  I option prevents overwriting the CONNECTEDLINE information
; set  above when the call is answered.
exten  => 1000,n,Dial(SIP/1000,20,I)
exten  => 1000,n,Hangup

You need the I option in the Dial to prevent the answering side from
overwriting your preset information. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-28 11:59 rmudgett       Note Added: 0128448                          
======================================================================




More information about the asterisk-bugs mailing list