Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Asterisk 11 - CONNECTEDLINE and Asterisk applications [SOLVED]


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
oza.4h07 at gmail.com
Guest





PostPosted: Thu Apr 30, 2015 12:00 pm    Post subject: [asterisk-users] Asterisk 11 - CONNECTEDLINE and Asterisk ap Reply with quote

2015-04-30 17:45 GMT+02:00 Richard Mudgett <rmudgett@digium.com (rmudgett@digium.com)>:
Quote:


On Thu, Apr 30, 2015 at 4:50 AM, Olivier <oza.4h07@gmail.com (oza.4h07@gmail.com)> wrote:
Quote:
Hello,


I recently gave CONNECTEDLINE function a try on an Asterisk 11 setup with a couple of SIP phones.


When a SIP phone dials an other one, with a CONNECTEDLINE statement in its dialplan, I noticed that Asterisk update caller's information using a Remote-Party-ID header in 180 Ringing message.


For instance:

Alice ----------------> Asterisk ------------------->Bob

------- INVITE ------>
          ...

<-----180 Ringing--- (*)

(*) Ringing message includes Remote-Party-ID header with which Asterisk can update dialed name or number.


Now, I'm trying to let Asterisk update dialed name or number when caller simply dials an Asterisk application such as VoiceMail ou Playback.


At the moment, I can't get what I'm looking for.


Specifically, I tried with:
        Set(CONNECTEDLINE(name)=Foo);
        Ringing();
        Playback(tt-monkeys);
        HangUp();


As you may guess, I want to have Foo displayed on caller's phone screen.



I can see that 180 Ringing message sent back by Asterisk following  Ringing() statement doesn't hold any Remote-Party-ID header.


What would you suggest ?






You usually need to set a number to go with a name.  Depending upon the
channel driver protocol, a name with no number may not be enough to send
out on its own.






Simply adding a CONNECTEDLINE(num) statement made it !

Thank you very much for helping !

 
Quote:



Richard






--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services