由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
_voip版 - (solved) asterisk exten matching slowness
相关主题
freepbx问题哪里买ATA比较安全
Re: 请问nonoh在ata上的dailplan应该是什么? (转载)最简单最好的VOIP solution
怎么在asterisk上限制分机功能dockstar装完,SipGate voip phone offline
(solved) 奇怪的 one way voice 问题 (asterisk, pygooglevoiccaller id?
google voice的adapter是不是就是用PAP2啊asterisk +gv怎样才能打到国内?
Re: 原创GV+SIPGATE+SIPSORCERY+ATA安装免费VOIP傻瓜版asterisk gtalk接不起来的,你们有没有试过
请问pap2和spa1001哪个设置简单,好用?谢谢 (转载)谁能共享一个asterisk dialplan?
voip 入门SipSorcery new dialplan
相关话题的讨论汇总
话题: exten话题: xxxxxxs0话题: asterisk话题: number话题: 00
1 (共1页)
r****t
发帖数: 10904
1
It turns out 这个问题是因为 ATA 没有及时拨出到 asterisk, 不是
asterisk 慢。
p**i
发帖数: 688
2
what is your dialplan on your ATA? it might have difficulty dialing a number
without prepending 1. 我的PAP2t dialplan如下(it always starts with 00 and
ABC is my area code):
(#S0|<:001ABC>[2-9]xxxxxx|<:00>1[2-9]xx[2-9]xxxxxxS0|<:001>[2-9]xx[2-9]
xxxxxxS0|<011:00>xx.)

【在 r****t 的大作中提到】
: It turns out 这个问题是因为 ATA 没有及时拨出到 asterisk, 不是
: asterisk 慢。

r****t
发帖数: 10904
3
Ah, I never thought about this in my pap2. I saw those alien codes
in PAP2 web interface and have always tried to avoid dealing with
them. Now maybe i have to learn them...

number

【在 p**i 的大作中提到】
: what is your dialplan on your ATA? it might have difficulty dialing a number
: without prepending 1. 我的PAP2t dialplan如下(it always starts with 00 and
: ABC is my area code):
: (#S0|<:001ABC>[2-9]xxxxxx|<:00>1[2-9]xx[2-9]xxxxxxS0|<:001>[2-9]xx[2-9]
: xxxxxxS0|<011:00>xx.)

r****t
发帖数: 10904
4
I only have a small question: if 011 is replaced with 00, how do you tell it
is an international call in asterisk, especially as you've prepended US
calls with 00, too?

number

【在 p**i 的大作中提到】
: what is your dialplan on your ATA? it might have difficulty dialing a number
: without prepending 1. 我的PAP2t dialplan如下(it always starts with 00 and
: ABC is my area code):
: (#S0|<:001ABC>[2-9]xxxxxx|<:00>1[2-9]xx[2-9]xxxxxxS0|<:001>[2-9]xx[2-9]
: xxxxxxS0|<011:00>xx.)

g**d
发帖数: 723
5
my dailplan in ATA:
(*xx|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.)
words here are exactly the same as on ATA.
Is there anyroom to improve here? If my area code is ABC, how can I put
inside this dialplan?
My asterisk machine's harddisk broke, I need to repair it before try repast'
s suggestion.

number

【在 p**i 的大作中提到】
: what is your dialplan on your ATA? it might have difficulty dialing a number
: without prepending 1. 我的PAP2t dialplan如下(it always starts with 00 and
: ABC is my area code):
: (#S0|<:001ABC>[2-9]xxxxxx|<:00>1[2-9]xx[2-9]xxxxxxS0|<:001>[2-9]xx[2-9]
: xxxxxxS0|<011:00>xx.)

k***e
发帖数: 7933
6
我的是这样,打10位和11位好像差不多快/慢。
([2-9]xx[2-9]xxxxxxS0|1[2-9]xx[2-9]xxxxxxS0|011[2-9]x.|xT|*xx)

repast'

【在 g**d 的大作中提到】
: my dailplan in ATA:
: (*xx|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.)
: words here are exactly the same as on ATA.
: Is there anyroom to improve here? If my area code is ABC, how can I put
: inside this dialplan?
: My asterisk machine's harddisk broke, I need to repair it before try repast'
: s suggestion.
:
: number

r****t
发帖数: 10904
7
I never tried myself, but this might work (putting area code):
add this as one of the parts, ABC=your area code
|<:1ABC>[2-9]xxxxxxS0|
From what you have, it does look like not covering 10-digit number. I
do not understand what the last part xxxxxxxxxxxx. means, but I can see it
does not have a S0 in it.

repast'

【在 g**d 的大作中提到】
: my dailplan in ATA:
: (*xx|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.)
: words here are exactly the same as on ATA.
: Is there anyroom to improve here? If my area code is ABC, how can I put
: inside this dialplan?
: My asterisk machine's harddisk broke, I need to repair it before try repast'
: s suggestion.
:
: number

r****t
发帖数: 10904
8
Yes, this is supposed to make 10-digit number as fast as
11-digit numbers.

【在 k***e 的大作中提到】
: 我的是这样,打10位和11位好像差不多快/慢。
: ([2-9]xx[2-9]xxxxxxS0|1[2-9]xx[2-9]xxxxxxS0|011[2-9]x.|xT|*xx)
:
: repast'

r****t
发帖数: 10904
9
Useful:
http://supremeit.com/voip/dialplan.php

repast'

【在 g**d 的大作中提到】
: my dailplan in ATA:
: (*xx|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.)
: words here are exactly the same as on ATA.
: Is there anyroom to improve here? If my area code is ABC, how can I put
: inside this dialplan?
: My asterisk machine's harddisk broke, I need to repair it before try repast'
: s suggestion.
:
: number

r****t
发帖数: 10904
10
Your NSLU2 broke?

repast'

【在 g**d 的大作中提到】
: my dailplan in ATA:
: (*xx|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.)
: words here are exactly the same as on ATA.
: Is there anyroom to improve here? If my area code is ABC, how can I put
: inside this dialplan?
: My asterisk machine's harddisk broke, I need to repair it before try repast'
: s suggestion.
:
: number

相关主题
Re: 原创GV+SIPGATE+SIPSORCERY+ATA安装免费VOIP傻瓜版哪里买ATA比较安全
请问pap2和spa1001哪个设置简单,好用?谢谢 (转载)最简单最好的VOIP solution
voip 入门dockstar装完,SipGate voip phone offline
p**i
发帖数: 688
11
hehe, you have seen how it's dealt with by my asterisk: as long as the
number doesn't start with 001, it's an international number
[CallingRule_outbound]
exten => _001.,1,Dial(Local/${EXTEN:2}@gv-outbound/n)
exten => _00[2-9]X.,1,Macro(trunkdial-failover-0.3,${piii}/${EXTEN:0},,piii,
) ; piii is the name of voip trunk for voipbuster
[macro-trunkdial-failover-0.3]
exten = s,1,GotoIf($[${LEN(${FMCIDNUM})} > 6]?1-fmsetcid,1)
exten = s,2,GotoIf($[${LEN(${GLOBAL_OUTBOUNDCIDNAME})} > 1]?1-setgbobname,

【在 r****t 的大作中提到】
: I only have a small question: if 011 is replaced with 00, how do you tell it
: is an international call in asterisk, especially as you've prepended US
: calls with 00, too?
:
: number

p**i
发帖数: 688
12
I think it's better to use <:1ABC>[2-9]xxxxxx than <:1ABC>[2-9]xxxxxxS0
otherwise you may have difficulty dialing such a number as 800goog411
depending on whether 800goog is matched by this dialplan

【在 r****t 的大作中提到】
: I never tried myself, but this might work (putting area code):
: add this as one of the parts, ABC=your area code
: |<:1ABC>[2-9]xxxxxxS0|
: From what you have, it does look like not covering 10-digit number. I
: do not understand what the last part xxxxxxxxxxxx. means, but I can see it
: does not have a S0 in it.
:
: repast'

r****t
发帖数: 10904
13
you are right. With S0, once we key in 7 digits like 800goog, it dials out
instantly, and we do not want it to dial out in that case before we enter
all 10 digits.

【在 p**i 的大作中提到】
: I think it's better to use <:1ABC>[2-9]xxxxxx than <:1ABC>[2-9]xxxxxxS0
: otherwise you may have difficulty dialing such a number as 800goog411
: depending on whether 800goog is matched by this dialplan

g**d
发帖数: 723
14
挂在上面的硬盘有DISK error. 一会儿查一下.

【在 r****t 的大作中提到】
: Your NSLU2 broke?
:
: repast'

g**d
发帖数: 723
15
那么我整个的dialplan应该怎么写?
买来的时候就是:
(*xx|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.)
假设我的area code ABC

【在 r****t 的大作中提到】
: you are right. With S0, once we key in 7 digits like 800goog, it dials out
: instantly, and we do not want it to dial out in that case before we enter
: all 10 digits.

r****t
发帖数: 10904
16
抄 piii 的,加快速拨 10 位电话:
(*xx|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|<:1>xxx[2-
9]xxxxxxS0|xxxxxxxxxxxx.)
这样把每个 pattern 放在 || 中间。我没有加省略区号拨 7-digit 的部分,觉得很少
用到。你这
个 dial plan 上面拨 7 位也有,只是需要在 asterisk 里面处理一下加上区号才行。

【在 g**d 的大作中提到】
: 那么我整个的dialplan应该怎么写?
: 买来的时候就是:
: (*xx|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.)
: 假设我的area code ABC

g**d
发帖数: 723
17
不太懂, "每个 pattern 放在 || 中间", 也就是说|[3469]11| 就是311, 411, 611,
911? 那么|0|和|00|是什么?

【在 r****t 的大作中提到】
: 抄 piii 的,加快速拨 10 位电话:
: (*xx|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|<:1>xxx[2-
: 9]xxxxxxS0|xxxxxxxxxxxx.)
: 这样把每个 pattern 放在 || 中间。我没有加省略区号拨 7-digit 的部分,觉得很少
: 用到。你这
: 个 dial plan 上面拨 7 位也有,只是需要在 asterisk 里面处理一下加上区号才行。

a9
发帖数: 21638
18
应该没用。可能是拨0进入ivr或者什么的吧。
其实不加S0也可以,拨号的时候加#结尾就直接拨出去了。
我一般就是设成x.,拨号的时候加个#

很少
行。

【在 g**d 的大作中提到】
: 不太懂, "每个 pattern 放在 || 中间", 也就是说|[3469]11| 就是311, 411, 611,
: 911? 那么|0|和|00|是什么?

r****t
发帖数: 10904
19
如果 match 上<:1ABC>[2-9]xxxxxx,没有 S0 的等多久 PAP2 才会拨出呢? 没找到默
认值,我
用了 S2, 可能是等 2 秒以后拨出。

【在 p**i 的大作中提到】
: I think it's better to use <:1ABC>[2-9]xxxxxx than <:1ABC>[2-9]xxxxxxS0
: otherwise you may have difficulty dialing such a number as 800goog411
: depending on whether 800goog is matched by this dialplan

g**d
发帖数: 723
20
我发现如果我拨1800-goog411, 用sipsorcery都会快很多。 决定以后要拨这个1来省这
十秒。

【在 r****t 的大作中提到】
: 如果 match 上<:1ABC>[2-9]xxxxxx,没有 S0 的等多久 PAP2 才会拨出呢? 没找到默
: 认值,我
: 用了 S2, 可能是等 2 秒以后拨出。

相关主题
caller id?谁能共享一个asterisk dialplan?
asterisk +gv怎样才能打到国内?SipSorcery new dialplan
asterisk gtalk接不起来的,你们有没有试过用GOOGLE VOICE打中国的问题
a9
发帖数: 21638
21
默认值可能是4秒

【在 r****t 的大作中提到】
: 如果 match 上<:1ABC>[2-9]xxxxxx,没有 S0 的等多久 PAP2 才会拨出呢? 没找到默
: 认值,我
: 用了 S2, 可能是等 2 秒以后拨出。

p**i
发帖数: 688
22
我测了一下, 我的PAP2T会等~3秒拨出when I dial a 7 digit number with <:001ABC>
[2-9]xxxxxx
我在它的regional tab(advanced view)里的control timer values (sec)找到了
Interdigit Short Timer: 3和Interdigit Long Timer: 10

【在 r****t 的大作中提到】
: 如果 match 上<:1ABC>[2-9]xxxxxx,没有 S0 的等多久 PAP2 才会拨出呢? 没找到默
: 认值,我
: 用了 S2, 可能是等 2 秒以后拨出。

r****t
发帖数: 10904
23
Thanks! This post should be marked.

001ABC>

【在 p**i 的大作中提到】
: 我测了一下, 我的PAP2T会等~3秒拨出when I dial a 7 digit number with <:001ABC>
: [2-9]xxxxxx
: 我在它的regional tab(advanced view)里的control timer values (sec)找到了
: Interdigit Short Timer: 3和Interdigit Long Timer: 10

1 (共1页)
相关主题
SipSorcery new dialplangoogle voice的adapter是不是就是用PAP2啊
用GOOGLE VOICE打中国的问题Re: 原创GV+SIPGATE+SIPSORCERY+ATA安装免费VOIP傻瓜版
你们现在都是怎么用的google voice?请问pap2和spa1001哪个设置简单,好用?谢谢 (转载)
哪里买spa3000比较可靠呢?voip 入门
freepbx问题哪里买ATA比较安全
Re: 请问nonoh在ata上的dailplan应该是什么? (转载)最简单最好的VOIP solution
怎么在asterisk上限制分机功能dockstar装完,SipGate voip phone offline
(solved) 奇怪的 one way voice 问题 (asterisk, pygooglevoiccaller id?
相关话题的讨论汇总
话题: exten话题: xxxxxxs0话题: asterisk话题: number话题: 00