Any ideas on this warning? If I call this number, sometimes I get this error and sometimes the call goes thru fine. Why would it work sometimes? -- Executing Goto("SIP/3044-8d49", "cytel-outgoing|915124512424|1") in new stack -- Goto (cytel-outgoing,915124512424,1) -- Executing SetCIDNum("SIP/3044-8d49", "2814494000") in new stack -- Executing Dial("SIP/3044-8d49", "ZAP/g1/15124512424|60|t") in new stack -- Called g1/15124512424 -- Zap/1-1 answered SIP/3044-8d49 -- Executing Dial("Zap/2-1", "SIP/15124512424@RNK|60") in new stack -- Called 15124512424@RNK -- Accepting call from '2814494000' to '5124512424' on channel 0/2, span1 -- Got SIP response 302 "Moved Temporarily" back from XXX.XXX.XXX.70 -- Now forwarding Zap/2-1 to 'SIP/15124512424@XXX.XXX.XXX.52:5060'(thanks to SIP/RNK-1050) -- SIP/XXX.XXX.XXX.52:5060-d8b1 is making progress passing it to Zap/2-1 Nov 22 10:59:32 WARNING[1126867776]: chan_zap.c:4159 zt_write: Cannot handle frames in 256 format Nov 22 10:59:32 WARNING[1126867776]: app_dial.c:358 wait_for_answer: Unable to forward frame == Spawn extension (all-incomming, 5124512424, 1) exited non-zero on 'Zap/2-1' -- Hungup 'Zap/2-1' sip.conf ----------- [RNK] <snip> disallow=all allow=g729 extensions.conf ---------------- exten => 5124512424,1,Dial(SIP/15124612424@RNK,60) Thanks, Matthew
Matthew Boehm wrote:> -- Executing Dial("SIP/3044-8d49", "ZAP/g1/15124512424|60|t") in new > stack> Nov 22 10:59:32 WARNING[1126867776]: chan_zap.c:4159 zt_write: Cannot handle > frames in 256 format"show codecs" in the Asterisk CLI will tell you the number of each codec. If you want to use G729 and the "t" or "T" option on the Dial() line you must purchase the Digium G729 codec. Asterisk CANNOT do pass-thru when using "t" or "T" options on the Dial() line. There is no way around this.
I guess I should have mentioned that I have 10 codecs: 0/0 encoders/decoders of 10 licensed channels are currently in use Any other ideas? -Matthew ----- Original Message ----- From: "Eric Wieling" <eric@fnords.org> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com> Sent: Monday, November 22, 2004 11:32 AM Subject: Re: [Asterisk-Users] Zap - 256 format frames> Matthew Boehm wrote: > > > -- Executing Dial("SIP/3044-8d49", "ZAP/g1/15124512424|60|t") in new > > stack > > > Nov 22 10:59:32 WARNING[1126867776]: chan_zap.c:4159 zt_write: Cannothandle> > frames in 256 format > > "show codecs" in the Asterisk CLI will tell you the number of each codec. > > If you want to use G729 and the "t" or "T" option on the Dial() line > you must purchase the Digium G729 codec. Asterisk CANNOT do pass-thru > when using "t" or "T" options on the Dial() line. There is no way > around this. > _______________________________________________ > 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
Well, it seems that Zap cannot do 729 at all: channels/chan_zap.c (line 4156): if ((frame->subclass != AST_FORMAT_SLINEAR) && (frame->subclass != AST_FORMAT_ULAW) && (frame->subclass != AST_FORMAT_ALAW)) { ast_log(LOG_WARNING, "Cannot handle frames in %d format\n", frame->subclass); return -1; } Seems that Zap can only do slinear, ulaw and alaw. So, how do I force my zap card to only to alaw? If I have an incomming Sip 729 call, shouldn't asterisk convert it to 711 to go out the zap card? I have 10 g729 licenses. -Matthew ----- Original Message ----- From: "Matthew Boehm" <mboehm@cytelcom.com> To: <asterisk-users@lists.digium.com> Sent: Monday, November 22, 2004 11:24 AM Subject: [Asterisk-Users] Zap - 256 format frames> Any ideas on this warning? If I call this number, sometimes I get thiserror> and sometimes the call goes thru fine. Why would it work sometimes? > > -- Executing Goto("SIP/3044-8d49", "cytel-outgoing|915124512424|1") in > new stack > -- Goto (cytel-outgoing,915124512424,1) > -- Executing SetCIDNum("SIP/3044-8d49", "2814494000") in new stack > -- Executing Dial("SIP/3044-8d49", "ZAP/g1/15124512424|60|t") in new > stack > -- Called g1/15124512424 > -- Zap/1-1 answered SIP/3044-8d49 > -- Executing Dial("Zap/2-1", "SIP/15124512424@RNK|60") in new stack > -- Called 15124512424@RNK > -- Accepting call from '2814494000' to '5124512424' on channel 0/2, > span1 > -- Got SIP response 302 "Moved Temporarily" back from XXX.XXX.XXX.70 > -- Now forwarding Zap/2-1 to > 'SIP/15124512424@XXX.XXX.XXX.52:5060'(thanks to SIP/RNK-1050) > -- SIP/XXX.XXX.XXX.52:5060-d8b1 is making progress passing it toZap/2-1> Nov 22 10:59:32 WARNING[1126867776]: chan_zap.c:4159 zt_write: Cannothandle> frames in 256 format > Nov 22 10:59:32 WARNING[1126867776]: app_dial.c:358 wait_for_answer:Unable> to forward frame > == Spawn extension (all-incomming, 5124512424, 1) exited non-zero on > 'Zap/2-1' > -- Hungup 'Zap/2-1' > > sip.conf > ----------- > [RNK] > <snip> > disallow=all > allow=g729 > > extensions.conf > ---------------- > exten => 5124512424,1,Dial(SIP/15124612424@RNK,60) > > Thanks, > Matthew > > _______________________________________________ > 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