keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about G400/G410 Cards.

chan_extra doesn't have zap channel?

12 years 10 months ago #6999 by bluemonster
Hi, I have a question again.
When I use opvx-bristuff-0.4.0-RC3h,I can use G400P as a PSTN gateway described below:
add a user in /etc/asterisk/sip.conf
[bluemonster] //用户名
type=friend
secret=101 //密码
qualify=yes
nat=yes
host=dynamic
canreinvite=no
context=from-internal

add a context in /etc/asterisk/extensions.conf
[from-internal]
exten => _6. ,1,Dial(zap/1/${EXTEN},40)
exten => _6. ,2,Hangup
Then, if I call a cell phone number like 61592622xxxx through Linphone , the SIM card on G400P will call 1592622xxxx and bridge Linphone and the cell phone.

Now I have switched to chan_extra_1.1.0 ,and I just found the trick above doesn't work.
Asterisk CLI gave the following info:
=====================================================
[Jun 20 10:38:56] WARNING[32658]: channel.c:4232 ast_request: No channel type registered for 'zap'
[Jun 20 10:38:56] WARNING[32658]: app_dial.c:1747 dial_exec_full: Unable to create channel of type 'zap' (cause 66 - Channel not implemented)
=====================================================

How to register a zap channel in chan_extra?

A student from Huazhong University of Science and Technology
12 years 10 months ago #7000 by Joe.Yung
Hi,

chan-extra doesn't support zaptel. Please read its main page: http://www.chan-extra.org/index.php/Main_Page

12 years 10 months ago #7001 by bluemonster

Original posted by Joe.Yung at 2011-6-20 13:25

Hi,chan-extra doesn't support zaptel. Please read its main page: http://www.chan-extra.org/index.php/Main_Page

Then how can I call my cell phone from G400P in dialplan?

A student from Huazhong University of Science and Technology
12 years 10 months ago #7002 by Joe.Yung
Hi,
[from-internal]
exten => _X.,1,Dial(extra/1/${EXTEN}) // dial what the number you want, and the call will be routed from channel 1 to the outside.
exten => _X.,2,Hangup

12 years 10 months ago #7005 by bluemonster

Original posted by Joe.Yung at 2011-6-20 14:08

Hi,[from-internal]exten => _X.,1,Dial(extra/1/${EXTEN}) // dial what the number you want, and the call will be routed from channel 1 to the outside.exten => _X.,2,Hangup

Yes! It works.

A student from Huazhong University of Science and Technology
Time to create page: 0.039 seconds
Powered by Kunena Forum