On Thursday 07 December 2006 07:13, dmb wrote:
> The sipcallid not solve my problem. I show you the problem with an scenario
> (example):
>
> 1.    SIP/1005 calls to 102 queue. That generate a call with uniqueid:
> 1165492430.2
> 2.    In app_queue.so a second call is delivered to agent/5004. That call
> has uniqueid 1165492431.0 (in that step a new channel is generated without
> relation with channel in step 1)
> 3.    In app_queue.so a third call is delivered to local/1004. That call
> has uniqueid 1165492430.3 (in that step a new channel is generated without
> relation with channel in step 1).
> 4.    When SIP/1006 answers the call a link is produced with uniqueid
> 1165492430.2
>
> You can see that the uniqueid in 1. and 5. is the same uniqueid, but from
> 2. to 3. the uniqueids are diferents and the channels for that steps
> haven’t got any field to relation the current call with the call in step 1.
> I need obtain the uniqueid 1165492430.2 in steps 2 and 3.

Try this:

Set(__UNIQUENUM=${UNIQUEID})

Then you should be able to access the original unique ID across channels as it 
is now inherited inside the ${UNIQUENUM} variable.

Leif Madsen.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to