On 10/20/05 22:44 Dinesh Nair said the following:
when i try to make a call with the following call file,

continuing this, when i make a call from a SIP softphone to a dialplan which goes:

16,1,Dial(Zap/g1/12345678)
16,2,NoOp(${HANGUPCAUSE})
16,3,NoOp(${PRI_CAUSE})
16,4,Hangup()

and the answering context has,

s,1,Answer()
s,2,Playback(demo-echotest)
s,3,Goto(s,2)
s,4,Hangup()

the verbose display is,
    -- Executing Dial("SIP/1234-5850", "Zap/g1/12345678") in new stack
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called g1/12345678
    -- Going to extension s|1 because of immediate=yes
    -- Accepting call from '1234' to 's' on channel 0/1, span 4
    -- Executing Answer("Zap/94-1", "") in new stack
    -- Executing Playback("Zap/94-1", "demo-echotest") in new stack
    -- Playing 'demo-echotest' (language 'en')
    -- Zap/1-1 is proceeding passing it to SIP/1234-5850
  == Primary D-Channel on span 4 down
Oct 21 12:56:38 WARNING[1018]: chan_zap.c:2265 pri_find_dchan: No D-channels available! Using Primary channel 109 as D-channel anyway!
  == Spawn extension (default, s, 2) exited non-zero on 'Zap/94-1'
    -- Executing NoOp("Zap/94-1", "") in new stack
    -- Hungup 'Zap/94-1'
!! Got I-frame while link state 2
!! Got I-frame while link state 2
!! Got I-frame while link state 2
!! Got I-frame while link state 2
!! Got I-frame while link state 2
!! Got I-frame while link state 2
  == Primary D-Channel on span 1 up
!! Got I-frame while link state 2
    -- Channel 0/1, span 1 got hangup request
!! Got I-frame while link state 2
!! Got I-frame while link state 2
!! Got I-frame while link state 2
!! Got I-frame while link state 2
    -- Hungup 'Zap/1-1'
  == No one is available to answer at this time (1:0/0/0)
    -- Executing NoOp("SIP/1234-5850", "") in new stack
    -- Executing NoOp("SIP/1234-5850", "16") in new stack
    -- Executing Hangup("SIP/1234-5850", "") in new stack
  == Spawn extension (default, 10, 4) exited non-zero on 'SIP/1234-5850'
    -- Executing NoOp("SIP/1234-5850", "") in new stack
!! Got I-frame while link state 2
  == Primary D-Channel on span 4 up
ACK received for '1' outside of window of '0' to '0', restarting
  == Primary D-Channel on span 4 down
Oct 21 12:56:38 WARNING[1018]: chan_zap.c:2265 pri_find_dchan: No D-channels available! Using Primary channel 109 as D-channel anyway!
  == Primary D-Channel on span 1 up
!! Got I-frame while link state 2
  == Primary D-Channel on span 4 up
  == Primary D-Channel on span 4 down
Oct 21 12:56:45 WARNING[1018]: chan_zap.c:2265 pri_find_dchan: No D-channels available! Using Primary channel 109 as D-channel anyway!
!! Got I-frame while link state 2
!! Got I-frame while link state 2
  == Primary D-Channel on span 1 up
  == Primary D-Channel on span 4 up

what does hangup cause 16 mean ? doesnt it mean a normal hangup ? so who/what is hanging up ? i note the hangup happens as soon as the Primary D-channel on span 4 goes down, in the verbose log above.

--
Regards,                           /\_/\   "All dogs go to heaven."
[EMAIL PROTECTED]                (0 0)    http://www.alphaque.com/
+==========================----oOO--(_)--OOo----==========================+
| for a in past present future; do                                        |
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo "The opinions here in no way reflect the opinions of my $a $b."  |
| done; done                                                              |
+=========================================================================+
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@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

Reply via email to