Re: [asterisk-users] Originate and ForkCDR()

2007-05-16 Thread Federico Cabiddu

Thank you!
I solved my problems and thanks to your useful link I have now a better 
understanding of how Local channels work.

Federico
--

Federico Cabiddu RD Software Engineering
Abbeynet S.p.A. - www.abbeynet.com http://www.abbeynet.com

phone: +39 070 2339349

http://www.federico_cabiddu.sitofono.it


___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Originate and ForkCDR()

2007-05-15 Thread Federico Cabiddu

Hi,
I'm tryng to place a call through Asterisk Manager Originate Action.
Since I want separate CDR for each of the two legs of the call, I'm 
forking CDR with ForkCDR as the first Channel has picked up.
The problem is that, while the first CDR is fine, in the second one the 
answer field is always empty, billsec field is 0 and disposition 
field is always set to NO ANSWER. Is there something I'm missing?

Thanks,
Federico
--

Federico Cabiddu RD Software Engineering
Abbeynet S.p.A. - www.abbeynet.com http://www.abbeynet.com

phone: +39 070 2339349

http://www.federico_cabiddu.sitofono.it


___
--Bandwidth and Colocation provided by Easynews.com --

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


RE: [asterisk-users] Originate and ForkCDR()

2007-05-15 Thread Mindaugas Kezys
Hello,

I guess you have something like this:

ACTION: Originate
Channel: Local/1234
Exten: 4321
Priority: 1
Context: blabla

And in 
[blabla]
Exten = 4321,1,Dial(something.


Instead use magic /n setting with Local channel. See here:
http://www.voip-info.org/wiki/view/Asterisk+local+channels

And do your originate like this:

ACTION: Originate
Channel: Local/[EMAIL PROTECTED]/n
Exten: 4321
Priority: 1
Context: blabla

And in 
[blabla]
Exten = 4321,1,Dial(Local/something/n)


I guess you got the idea.


Regards/Pagarbiai,
Mindaugas Kezys
http://www.kolmisoft.com
VoIP SolutionsServices
MOR - FREE Open Source billing for Asterisk

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Federico
Cabiddu
Sent: Tuesday, May 15, 2007 2:40 PM
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] Originate and ForkCDR()

Hi,
I'm tryng to place a call through Asterisk Manager Originate Action.
Since I want separate CDR for each of the two legs of the call, I'm 
forking CDR with ForkCDR as the first Channel has picked up.
The problem is that, while the first CDR is fine, in the second one the 
answer field is always empty, billsec field is 0 and disposition 
field is always set to NO ANSWER. Is there something I'm missing?
Thanks,
Federico
--

Federico Cabiddu RD Software Engineering
Abbeynet S.p.A. - www.abbeynet.com http://www.abbeynet.com

phone: +39 070 2339349

http://www.federico_cabiddu.sitofono.it


___
--Bandwidth and Colocation provided by Easynews.com --

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

___
--Bandwidth and Colocation provided by Easynews.com --

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