[asterisk-dev] Question about uniqueid

dmb montejodaniel at hotmail.com
Mon Dec 11 09:55:58 MST 2006


Sorry
The link is: http://bugs.digium.com/view.php?id=8563

Thanks

-----Mensaje original-----
De: asterisk-dev-bounces at lists.digium.com
[mailto:asterisk-dev-bounces at lists.digium.com] En nombre de dmb
Enviado el: lunes, 11 de diciembre de 2006 9:40
Para: 'Asterisk Developers Mailing List'
Asunto: RE: [asterisk-dev] Question about uniqueid

Hello,
:). It solves my problem using Set from dialplan. If I use Set in manager
action originate the call is not originate. I open a issue in digium with
this. The link is http://bugs.digium.com/view.php?id=8423

Thanks a lot!!!

dmb

-----Mensaje original-----
De: asterisk-dev-bounces at lists.digium.com
[mailto:asterisk-dev-bounces at lists.digium.com] En nombre de Leif Madsen
Enviado el: jueves, 07 de diciembre de 2006 16:14
Para: Asterisk Developers Mailing List
Asunto: Re: [asterisk-dev] Question about uniqueid

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

_______________________________________________
--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



More information about the asterisk-dev mailing list