keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about A400/800/1200 Analog Interface Card

how to end dial with "#" inuse fxs?

15 years 10 months ago #1280 by kerry
ok, I create new dialplan is custom-kerry :

'_X.' => 1. Set(CALLERID(ALL)=82389227)
2. Dial(SIP/to93/${EXTEN})
3. hungup()

and test it, that problem still.
I see the CLI:
-- Executing [008613923719888#@kerry] Set("Zap/13-1", "CALLERID(ALL)=82389227") in new stack
-- Executing [008613923719888#@kerry] Dial("Zap/13-1", "SIP/to93/008613923719888#") in new stack
-- Called to93/008613923719888#

so the "#" is invalidation.
help me , thanks a lot.
15 years 10 months ago #1281 by james.zhu
hi:
you can cut the # from "008613923719888" before calling the 0086139XXX. please check it from: www.voip-info.org/wiki/index.php?page=Asterisk+variables
regards!
James.zhu

15 years 10 months ago #1291 by miaolin
set immediate=yes, then when you pick up phone, system will execute following extensions:
exten=>s,xxxxxxx

then use following to dial to any zap trunk:

exten=>s,1,Dial(Zap/2)

In this style, system will connect your phone to pstn directly, and you need not dial any #.

my test extension is:

[ext1]
exten=>s,1,Dial(Zap/2)


my 2nd module is FXO.
15 years 10 months ago #1296 by miaolin
I made a patch to solve this issue:

1. it allow you use # to end up dial
2. it allow you adjust time out value from 3000ms to any time you want.

attached is the file for asterisk 1.4.18 ( it is chan_zap.c, you can replace your chan_zap.c with it).

note:
2 items added in zapata.conf
matchdigittimeout=3000
matchdigitenter=no

this 2 items used to adjust timeout when input digit and whether use # to endup dial. default matchdigittimeout is 3000 and matchdigitenter is no
Attachments:
15 years 10 months ago #1327 by kerry
hi, I replace the chan_zap.c and make it but cann't get chan_zap.so file, what problem?
thank you !
15 years 10 months ago #1330 by miaolin
I need your ssh account to check the compile result.please send to This email address is being protected from spambots. You need JavaScript enabled to view it.
Time to create page: 0.041 seconds
Powered by Kunena Forum