r****t 发帖数: 10904 | 1 高手们能帮我看看么?我现在打不出去,因为 authentication 错:
-- Executing [01186xxxxxxxxxx@from-pap2:2] Dial("SIP/pap2-00000000", "
SIP/86xxxxxxxxxx@nonoh") in new stack
== Using SIP RTP CoS mark 5
-- Called 86xxxxxxxx@nonoh
[Mar 28 01:12:25] NOTICE[21986]: chan_sip.c:17763 handle_response_invite:
Failed to authenticate on INVITE to '"pap2"
asterisk_machine>;tag=as0c374190'
-- SIP/nonoh-00000001 is circuit-busy
[nonoh]
type=peer
host=sip.nonoh.net
context=whatever
fromuser= |
r****t 发帖数: 10904 | 2
看起来好像是解决了,不知道 fromuser 是不是必要的,但是发现 defaultuser=
username 是必要的。这是 asterisk 1.6, debian testing/unstable, 忘了详细版本了。
貌似 remotesecret 对 nonoh 是没用的,可以去掉。只要有 secret= 就行了。
网上有人说必须用 canreinvite=no, 没实验过 yes 的情况。
【在 r****t 的大作中提到】 : 高手们能帮我看看么?我现在打不出去,因为 authentication 错: : -- Executing [01186xxxxxxxxxx@from-pap2:2] Dial("SIP/pap2-00000000", " : SIP/86xxxxxxxxxx@nonoh") in new stack : == Using SIP RTP CoS mark 5 : -- Called 86xxxxxxxx@nonoh : [Mar 28 01:12:25] NOTICE[21986]: chan_sip.c:17763 handle_response_invite: : Failed to authenticate on INVITE to '"pap2" : asterisk_machine>;tag=as0c374190' : -- SIP/nonoh-00000001 is circuit-busy : [nonoh]
|
p**i 发帖数: 688 | 3 你的nonoh是不是和voipbuster差不多? 我的users.conf里是这样设置voipbuster的
[general]
type = friend
qualify = yes
disallow = all
allow = ulaw,alaw
callwaiting = yes
threewaycalling = yes
callwaitingcallerid = yes
transfer = yes
canpark = yes
cancallforward = yes
callreturn = yes
call-limit = 100
[piii]
host = connectionserver.voipbuster.com
username = piii
secret = secret
context = gv-inbound-6000
trunkname = VoipBuster
hassip = yes
registersip = yes
trunkstyle = voip
canreinvite = yes
insecure = port,invite
hasia
【在 r****t 的大作中提到】 : : 看起来好像是解决了,不知道 fromuser 是不是必要的,但是发现 defaultuser= : username 是必要的。这是 asterisk 1.6, debian testing/unstable, 忘了详细版本了。 : 貌似 remotesecret 对 nonoh 是没用的,可以去掉。只要有 secret= 就行了。 : 网上有人说必须用 canreinvite=no, 没实验过 yes 的情况。
|
k***e 发帖数: 7933 | 4 这是我的nonoh在sip.conf里面的配置
[nonoh]
context=from-pstn
fromdomain=sip.nonoh.net
fromuser=xxxxxx
host=sip.nonoh.net
insecure=port,invite
secret=xxxxxx
type=peer
username=xxxxxx
【在 r****t 的大作中提到】 : 高手们能帮我看看么?我现在打不出去,因为 authentication 错: : -- Executing [01186xxxxxxxxxx@from-pap2:2] Dial("SIP/pap2-00000000", " : SIP/86xxxxxxxxxx@nonoh") in new stack : == Using SIP RTP CoS mark 5 : -- Called 86xxxxxxxx@nonoh : [Mar 28 01:12:25] NOTICE[21986]: chan_sip.c:17763 handle_response_invite: : Failed to authenticate on INVITE to '"pap2" : asterisk_machine>;tag=as0c374190' : -- SIP/nonoh-00000001 is circuit-busy : [nonoh]
|
a9 发帖数: 21638 | 5 加上fromdomain试试
本了。
【在 r****t 的大作中提到】 : : 看起来好像是解决了,不知道 fromuser 是不是必要的,但是发现 defaultuser= : username 是必要的。这是 asterisk 1.6, debian testing/unstable, 忘了详细版本了。 : 貌似 remotesecret 对 nonoh 是没用的,可以去掉。只要有 secret= 就行了。 : 网上有人说必须用 canreinvite=no, 没实验过 yes 的情况。
|
r****t 发帖数: 10904 | 6 觉得奇怪, fromuser 和 username(or defaultuser) 能有什么不同呢?
【在 k***e 的大作中提到】 : 这是我的nonoh在sip.conf里面的配置 : [nonoh] : context=from-pstn : fromdomain=sip.nonoh.net : fromuser=xxxxxx : host=sip.nonoh.net : insecure=port,invite : secret=xxxxxx : type=peer : username=xxxxxx
|
r****t 发帖数: 10904 | 7 照这个配置,nonoh 能播出,但是 32 or 33 秒钟以后一定断。。。。正在试验加
fromdomain。
另外,我没有 register 到 nonoh,也可能是个原因。
本了。
【在 r****t 的大作中提到】 : 觉得奇怪, fromuser 和 username(or defaultuser) 能有什么不同呢?
|
r****t 发帖数: 10904 | 8 两个一起使了,加 fromdomain, 同时在 [general] 里面 register 到 nonoh, 打中国
没问题了。下回试试不 register 看看。
唯一有点小遗憾是说话有点回音,这个有没有办法?
【在 r****t 的大作中提到】 : 照这个配置,nonoh 能播出,但是 32 or 33 秒钟以后一定断。。。。正在试验加 : fromdomain。 : 另外,我没有 register 到 nonoh,也可能是个原因。 : : 本了。
|
a9 发帖数: 21638 | 9 好多运营商register是必须的。
【在 r****t 的大作中提到】 : 两个一起使了,加 fromdomain, 同时在 [general] 里面 register 到 nonoh, 打中国 : 没问题了。下回试试不 register 看看。 : 唯一有点小遗憾是说话有点回音,这个有没有办法?
|