[Asterisk-Users] Problem ringing simultaneous channels

Alexander Lopez alex.lopez at opsys.com
Wed Dec 22 16:39:08 MST 2004


Russell,

What kind of zap cards do you have??

If T1, is it PRI or RBS

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Russell
Horn
Sent: Wednesday, December 22, 2004 6:14 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] Problem ringing simultaneous channels

I have a problem with ringing simultaneous channels where one is IAX
and one is Zap

I have two Zap channels and a single extensions on IAX2

I'm trying to take incoming calls on Zap/1 and if not answered in 15
seconds by IAX2/100 to keep ringing IAX2 and also try another number
on Zap/2

Unfortunately it seems that when asterisk tries to ring the other
number on Zap/2 it thinks the call has been answered and can therefore
stop ringing IAX2

Here's what I have in extensions:

[officeopen]
exten => s,1,Dial(IAX2/100,15)
exten => s,2,Dial(IAX2/100&Zap/2/07879xxxxxx,15)
exten => s,3,Playback(nooneavailable)
exten => s,4,Voicemail2(u2000)
exten => s,5,Hangup

And here's the output from asterisk:

    -- Starting simple switch on 'Zap/1-1'
    -- Executing Dial("Zap/1-1", "IAX2/100|15") in new stack
    -- Called 100
    -- Call accepted by 67.76.xxx.xxx (format GSM)
    -- Format for call is GSM
    -- IAX2/100/1 is ringing
    -- Nobody picked up in 15000 ms
    -- Hungup 'IAX2/100/1'
    -- Executing Dial("Zap/1-1", "IAX2/100&Zap/2/07879xxxxxx|15") in new
stack
    -- Called 100
    -- Called 2/07879xxxxxx
    -- Call accepted by 67.76.162.215 (format GSM)
    -- Format for call is GSM
    -- IAX2/100/3 is ringing
    -- Zap/2-1 answered Zap/1-1
    -- Hungup 'IAX2/100/3'
    -- Attempting native bridge of Zap/1-1 and Zap/2-1
    -- Hungup 'Zap/2-1'
  == Spawn extension (from-analog-a, s, 2) exited non-zero on 'Zap/1-1'
    -- Executing Hangup("Zap/1-1", "") in new stack
  == Spawn extension (from-analog-a, h, 1) exited non-zero on 'Zap/1-1'
    -- Hungup 'Zap/1-1'

Here's hoping someone can help!

Many thanks,

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





More information about the asterisk-users mailing list