Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[asterisk-users] Action Originate in Asterisk 13 creates 2 calls in core show channels


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





PostPosted: Fri Jul 03, 2015 1:46 pm    Post subject: [asterisk-users] Action Originate in Asterisk 13 creates 2 c Reply with quote

Hello,

I am migrating a PABX system based in Asterisk 1.4 to Asterisk 13, with success.

I have an application that sends an action Originate to AMI for
calling, it's working well, but when i see to Asterisk's CLI, i see 2
calls for just one originate:

pftestes40copiabh*CLI> core show channels verbose
Channel Context Extension Prio State
Application Data CallerID Duration
Accountcode PeerAccount BridgeID
SIP/1903-00000009 1903_aux 1 Up
AppDial (Outgoing Line) 1903 00:00:12 1902
1902 7866921b-4675-4823-8
Local/1902@1902_in-0 macro-atende s 1008
Ringing Dial SIP/1902,30,t 1903
00:00:15 1902 9428460a-f4e7-46d1-b
Local/1902@1902_in-0 macro-atende s 1008 Up
Dial SIP/1903,30,t 1902 00:00:15 1902
1902 7866921b-4675-4823-8
SIP/1902-00000008 1902_aux 1 Up
AppDial (Outgoing Line) 1902 00:00:15 1902
9428460a-f4e7-46d1-b
4 active channels
2 active calls

In fact, just one call is up.

Somebody knows if this is ok, or it's a bug? May be someday asterisk
will create just one call for one originate?

Thanks in advanced for your answers!

Alonso.

--
_____________________________________________________________________
-- 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
lists at venturevoip.com
Guest





PostPosted: Fri Jul 03, 2015 5:33 pm    Post subject: [asterisk-users] Action Originate in Asterisk 13 creates 2 c Reply with quote

Quote:
On 3Jul, 2015, at 13:46, Alonso Genis <abgenis@gmail.com> wrote:

Hello,

I am migrating a PABX system based in Asterisk 1.4 to Asterisk 13, with success.

I have an application that sends an action Originate to AMI for
calling, it's working well, but when i see to Asterisk's CLI, i see 2
calls for just one originate:


It looks like you’re originating with local channels.

Try with /n at the end (not sure if that helps anymore) and also send us your originate line.

--
Cheers,

Matt Riddell
_______________________________________________

http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/pabx_on_disk.php (PABX on a Disk)
http://www.venturevoip.com/exchange.php (Full ITSP Solution)
http://www.venturevoip.com/cc.php (Call Centre Solutions)


--
_____________________________________________________________________
-- 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: Fri Jul 03, 2015 6:24 pm    Post subject: [asterisk-users] Action Originate in Asterisk 13 creates 2 c Reply with quote

On Fri, Jul 3, 2015 at 1:46 PM, Alonso Genis <abgenis@gmail.com> wrote:
Quote:
Hello,

I am migrating a PABX system based in Asterisk 1.4 to Asterisk 13, with success.

I have an application that sends an action Originate to AMI for
calling, it's working well, but when i see to Asterisk's CLI, i see 2
calls for just one originate:

pftestes40copiabh*CLI> core show channels verbose
Channel Context Extension Prio State
Application Data CallerID Duration
Accountcode PeerAccount BridgeID
SIP/1903-00000009 1903_aux 1 Up
AppDial (Outgoing Line) 1903 00:00:12 1902
1902 7866921b-4675-4823-8
Local/1902@1902_in-0 macro-atende s 1008
Ringing Dial SIP/1902,30,t 1903
00:00:15 1902 9428460a-f4e7-46d1-b
Local/1902@1902_in-0 macro-atende s 1008 Up
Dial SIP/1903,30,t 1902 00:00:15 1902
1902 7866921b-4675-4823-8
SIP/1902-00000008 1902_aux 1 Up
AppDial (Outgoing Line) 1902 00:00:15 1902
9428460a-f4e7-46d1-b
4 active channels
2 active calls

In fact, just one call is up.

Somebody knows if this is ok, or it's a bug? May be someday asterisk
will create just one call for one originate?

Thanks in advanced for your answers!

It isn't a bug.

The output of 'core show channels' reports a 'call' (which is not a
concept that is represented well anywhere in Asterisk) as a channel
with a PBX thread running. In this case, that's the two channels in
your output that are not outbound channels, i.e., the Local channels
that dialled your SIP channels.

That fact that you have two different SIP channels means that
something either performed two Originates, or you have done a parallel
Dial.

--
Matthew Jordan
Digium, Inc. | Director of Technology
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org

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