Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[asterisk-users] Hold


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





PostPosted: Wed Jun 11, 2014 12:42 pm    Post subject: [asterisk-users] Hold Reply with quote

Hi I am trying to set up a hold system so that a call is always parked in the same spot no matter how many times it is picked up. My problem is I cannot fins a variable the identifies the call all the way through until it is destroyed. ${UNIQUEID} and ${CHANNEL} both seam to get lost when the call is parked. I tried setting set($[“${UNIQUEID}-hold”=”701”]) and set($[“${CHANNEL}-hold”=”701”]) and both work fine until I do a transfer to park. Then both variables are blank. Is there any variable that is persistent to a call through all of the transfers. asterisk 11.6-cert1 centos 5.7 Thanks Kelly
Back to top
jw at uvacity.com
Guest





PostPosted: Wed Jun 11, 2014 12:45 pm    Post subject: [asterisk-users] Hold Reply with quote

Can you write the unique variable to astdb and then write it back to the variable? 
Not sure I have thought this through
J On 11 Jun 2014 18:42, "Kelly Opal" <kelly@ncwcom.com (kelly@ncwcom.com)> wrote:
Quote:
Hi
        I am trying to set up a hold system so that a call is always parked in the same spot no matter how many times it is picked up. My problem is I cannot fins a variable the identifies the call all the way through until it is destroyed. ${UNIQUEID} and ${CHANNEL}  both seam to get lost when the call is parked. I tried setting
    set($[“${UNIQUEID}-hold”=”701”])
and
    set($[“${CHANNEL}-hold”=”701”])
 
and both work fine until I do a transfer to park. Then both variables are blank. Is there any variable that is persistent to a call through all of the transfers.
 
asterisk 11.6-cert1
centos 5.7
 
Thanks
 
Kelly
 




--
_____________________________________________________________________
-- 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
mjordan at digium.com
Guest





PostPosted: Wed Jun 11, 2014 1:10 pm    Post subject: [asterisk-users] Hold Reply with quote

On Wed, Jun 11, 2014 at 12:45 PM, jonathan white <jw@uvacity.com (jw@uvacity.com)> wrote:
Quote:

Can you write the unique variable to astdb and then write it back to the variable? 
Not sure I have thought this through
J On 11 Jun 2014 18:42, "Kelly Opal" <kelly@ncwcom.com (kelly@ncwcom.com)> wrote:

Quote:
Hi
        I am trying to set up a hold system so that a call is always parked in the same spot no matter how many times it is picked up. My problem is I cannot fins a variable the identifies the call all the way through until it is destroyed. ${UNIQUEID} and ${CHANNEL}  both seam to get lost when the call is parked. I tried setting
    set($[“${UNIQUEID}-hold”=”701”])
and
    set($[“${CHANNEL}-hold”=”701”])
 
and both work fine until I do a transfer to park. Then both variables are blank. Is there any variable that is persistent to a call through all of the transfers.
 
asterisk 11.6-cert1
centos 5.7
 
Thanks
 
Kelly









You are most likely running into masquerades. A masquerade is an internal operation in Asterisk that involves renaming a channel. When this occurs, your AMI client will receive a sequence of Masquerade and Rename events. Your client will need to update its tracking of the channel based on those events.

Alternatively, you can move to Asterisk 12. One of the major projects that was done in that version was to remove the visibility of masquerades from external systems (and mostly purge them internally), such that channels have a stable, consistent identifier for the channel throughout its lifetime.


--
Matthew Jordan

Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org
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