TBCT on PRI

Hi

I want to test if TBCT will be work for my PRI E1 line, but can’t find an example how to use it.

I know that in zapata.conf must be:
facilityenable=yes
transfer=yes

And one call must be inbound and second outbound.

Lets consider following scenario: suppose that first inbound call is answered on Zap/1-1.
My first question is - how to originate outgoing call? (i try with Asterisk Manager - Originate)
My second question is - when I have second call on Zap/2-1 how Transfer application must be triggered? I try Transfer(Zap/2-1) but nothing happened (no ISDN frames was send) :frowning:

I known that some people succesfully tested TBCT feature (but I can’t found an example) so please help me and give some advice. Maybe someone could write simple dialplan - just few lines?

Best Regards

If you have an inbound call on Zap/1 and when it goes through your dialplan you can have it ring a phone. Answer the call and then transfer that inbound call to a PSTN number(ie. your cell phone). This should cause it to happen. Another way to test is just have it execute Dial to your cellphone when the call comes in.

I try something like that (like you said to simply Dial).

exten => s,1,Answer()
exten => s,2,Wait(10)
exten => s,3,Dial(Zap/1-1/00664474022)

but I receive

– Executing [s@outbound:3] Dial(“Zap/1-1”, “Zap/1/00664474022”) in new stack
[Jul 28 07:56:19] WARNING[16976]: app_dial.c:1183 dial_exec_full: Unable to create channel of type ‘Zap’ (cause 0 - Unknown)
== Everyone is busy/congested at this time (1:0/0/1)
== Auto fallthrough, channel ‘Zap/1-1’ status is ‘CHANUNAVAIL’

When I try on other channels Dial works but no TBTC is executed

– Zap/2-1 is proceeding passing it to Zap/1-1
– Zap/2-1 is ringing
– Zap/2-1 answered Zap/1-1
– Native bridging Zap/1-1 and Zap/2-1

Two channels are connected by asterisk.

Transfer don’t work for me too or I don’t know how to use it. Can you write simpliest 3-lines dialplan to show me an example that should work??

Thats because you dialed in on Zap/1 and now you are trying to dial out on Zap/1. As for the other call, check “show channels”. Also make sure the telco is configured for TBCT.

When calling using another channel call is connected but non ISDN frame is sent (TBCT is not executed). I’m not an ISDN expert but i suppose that even if my telco is not configured properly for TBCT some ISDN messages (FACILITY) must be send by Asterisk.

I can trigger TBCT using Dial so maybe someone can give me an example of using Transfer cmd. I red description from voip-info.org (voip-info.org/wiki/view/Aste … d+Transfer) but I can’t run it without error. I try answer incoming call on Zap/1 and then run Transfer(Zap/2/0033…) but nothing happened and I receive following log

Verbosity is at least 4
– Remote UNIX connection
– Executing [s@outbound:3] Transfer(“Zap/1-1”, “Zap/2/0033…”) in new stack
== Auto fallthrough, channel ‘Zap/1-1’ status is ‘UNKNOWN’
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Active, peerstate Active
q931.c:2764 q931_disconnect: call 6753 on channel 1 enters state 11 (Disconnect Request)