делал по разному но не работает префикс, что видно из debug
вот сделал для pots согласно рекомендации
Pots peer 3001
dest-pattern = 3000T
port = 0/0
prefix = ,,,
forward digits = default
register E.164 = yes
user-name =
user-password =
display-name = (quoted:non-use-line-number)
url = default
preference = 0
huntstop = no
translate-outgoing called-number = -1
translate-outgoing calling-number = -1
call diversion = -1
call do not disturb = FALSE
allowed inbound pots peer = -1
outbound call barred group = -1
enable Call Waiting = no
administrative status = up
outbound beep notify disabled
вот что имеем в deb voip call
53 <Call 4> : ****** Call Created status(InitiatedB
yNet) ver(8.28:2006-02-06-00-00) time(1260308356) ****
54 <NetCon 4> : Can not found suitable inbound voip peer - apply defau
lt
55 <H323 4> : local capabilities.
number of capabilities = 7
1 : g7231A-6.3k
2 : g729-8k
3 : g711ulaw-64k
4 : g711alaw-64k
5 : T.38
6 : UserInput/basicString
7 : UserInput/hookflash
56 <Q931 4> : Received SETUP from (192.168.0.93) : FastStart(1) Tun
neling(1)
57 <H225 4> : Remote Endpoint (AddPac VoIP,8.12,97,0,22)
58 <Call 4> : From Net - calledParty(30003242) callingParty(2601)
59 <Call 4> : MatchedAll
60 <Call 4> : MatchAllProcess After Sorted
<0> id(3001) dest(3000T) prefer(0) selected(0)
<1> id(3004) dest(3000T) prefer(0) selected(0)
<2> id(3002) dest(3000T) prefer(0) selected(0)
<3> id(3003) dest(3000T) prefer(0) selected(1)
61 <Call 4> : Initiate callee with dial-peer(3000T) status(CalleeDet
erminedAll) id(c6a4a643-ce16-e578-8051-0002a401b732)
62 <CEP 000000> : InitiateOutCall : calledNum(), callingNum(2601), call
erPort(ffffffff) type(FXS)
63 <CEP 000000> : Outbound call to CEP callId(c6a4a643-ce16-e578-8051-00
02a401b732) callNum(4)
64 <Chan 4> : Open - number(101) direction(transmit) session(voice)
codec(g711alaw-64k)
- Local : Data(23006) Cont(23007) Addr(192.168.0.94)
- Remote : Data(23082) Cont(23083) DataAddr(192.168.0.
93) ContAddr(192.168.0.93)
65 <Q931 4> : Send CALL PROCEEDING
66 <Q931 4> : build ALERTING (without h245 address)
67 <Q931 4> : Send ALERTING (fast)
68 <Q931 4> : Received FACILITY
69 <H245 4> : Received TCS request.
70 <H245 4> : remote capabilities matching to local capabilities.
number of capabilities = 4
1 : g711alaw-64k
2 : T.38
3 : UserInput/basicString
4 : UserInput/hookflash
71 <H245 4> : Send TCS request.
72 <Q931 4> : Send FACILITY
73 <H245 4> : Send TCS ack.
74 <Q931 4> : Send FACILITY
75 <Q931 4> : Received FACILITY
76 <H245 4> : Received MSD request.
77 <H245 4> : Send MSD ack.
78 <Q931 4> : Send FACILITY
79 <Q931 4> : Received FACILITY
80 <H245 4> : Received TCS ack..
81 <Q931 4> : Received FACILITY
82 <H245 4> : Received MSD ack.
83 <Call 4> : Connected from(0)
84 <Call 4> : Connected from(ffffffff)
85 <NetEP 4> : Call with voip.192.168.0.93 established
86 <Chan 4> : Open - number(101) direction(receive) session(voice) c
odec(g711alaw-64k)
- Local : Data(23006) Cont(23007) Addr(192.168.0.94)
- Remote : Data(23082) Cont(23083) DataAddr(192.168.0.
93) ContAddr(192.168.0.93)
87 <Q931 4> : Send CONNECT
88 <CEP 000000> : Disconnected(16) at Busy
89 <Call 4> : Terminated from(0) this(Local:CallClear) before(NULL)
forced(0) time(1260308382)
90 <Chan 4> : Close - number(101) direction(receive)
91 <Chan 4> : Close - number(101) direction(transmit)
92 <Q931 4> : Send RELEASE COMPLETE
93 <NetEP 4> : Call FROM <voip.192.168.0.93> terminated reason(Local:
CallClear)
94 <CEP 000000> : DisconnectCall at Idle
в deb rta ipc
[5374.495] RTA(0/0/0) Rx CC_RING_REQ [80 23 01 08 31 32 30 38 32 31
34 39 02 04 32 36 30 31 07 11 76 6f 69 70 2e 31 39 32 2e 31 36 38 2e 30 2e 39 3
3 ] peerId(-1)
[5374.495] VM(0/0/0) DaTime [L=8] 31 32 30 38 32 31 34 39
[5374.495] VM(0/0/0) CgNumb [L=4] 32 36 30 31
[5374.495] VM(0/0/0) CgName [L=17] 76 6f 69 70 2e 31 39 32 2e 31 36 38 2e 30 2e
39 33
[5374.495] VM(0/0/0) Line Reverse
[5374.495] VM(0/0/0) Start ring actv
[5374.495] VM(0/0/0) SW to -72V
[5374.495] VM(0/0/0) set T38 enable
[5374.495] VM(0/0/0) set T38 mode STD
[5374.495] VM(0/0/0) Fax rate 9600
[5374.500] RTA(0/0/0) Rx RS_OPEN_REQ callId=6 ssId=1 G711A
peer=192.168.0.93 mp=23014/23015 hp=23086/23087
[5375.495] VM(0/0/0) Gen ring idle
[5375.995] VM(0/0/0) Tx CID enable
[5375.995] VP(0/0/0) CallerId enable, std/gain 0/6
[5375.995] VP(0/0/0) open channel
[5375.995] VM(0/0/0) play mute
[5375.995] VP(0/0/0) Tx IBS signal 2/0
[5375.995] VP(0/0/0) Tx IBS dir 0
[5376.055] VM(0/0/0) Tx CID DATA [L=37] 80 23 01 08 31 32 30 38 32 31 34 39 02 0
4 32 36 30 31 07 11 76 6f 69 70 2e 31 39 32 2e 31 36 38 2e 30 2e 39 33
[5376.055] VP(0/0/0) play CallerId
[5376.065] VP(0/0/0) GeneralEvent IBS gen end
[5377.055] VM(0/0/0) Tx CID fin
[5377.055] VP(0/0/0) stop CallerId
[5377.055] VM(0/0/0) vopp idle
[5377.055] VP(0/0/0) close channel
[5377.495] VM(0/0/0) Gen ring actv
[5378.495] VM(0/0/0) Gen ring idle
[5380.495] VM(0/0/0) Gen ring actv
[5381.495] VM(0/0/0) Gen ring idle
[5383.495] VM(0/0/0) Gen ring actv
[5384.495] VM(0/0/0) Gen ring idle
[5386.495] VM(0/0/0) Gen ring actv
[5387.495] VM(0/0/0) Gen ring idle
[5389.495] VM(0/0/0) Gen ring actv
[5390.495] VM(0/0/0) Gen ring idle
[5390.700] VM(0/0/0) vmOffHook
[5390.760] VM(0/0/0) vmTmoOffHook
[5390.760] VM(0/0/0) SW to -48V
[5390.760] VM(0/0/0) Line Forward
[5390.820] VM(0/0/0) vmTmoOffHook
[5390.820] VM(0/0/0) Rx OffHook
[5390.820] VP(0/0/0) open channel
[5390.820] VP(0/0/0) attribute Fax enable, Modem disable
[5390.820] VP(0/0/0) update Fax enable, Modem disable
[5390.820] VM(0/0/0) Tx CONNECT_CNF
[5390.820] RTA(0/0/0) Rx RS_LISTEN_REQ callId=6 ssId=1 G711A
peer=192.168.0.93 mp=23014/23015 hp=23086/23087
[5392.820] VM(0/0/0) vmOnHook
[5392.870] VM(0/0/0) vmTmoOnHook
[5392.920] VM(0/0/0) vmTmoOnHook
[5392.970] VM(0/0/0) vmTmoOnHook
[5393.020] VM(0/0/0) vmTmoOnHook
[5393.070] VM(0/0/0) vmTmoOnHook
[5393.120] VM(0/0/0) vmTmoOnHook
[5393.170] VM(0/0/0) vmTmoOnHook
[5393.220] VM(0/0/0) vmTmoOnHook
[5393.270] VM(0/0/0) vmTmoOnHook
[5393.320] VM(0/0/0) vmTmoOnHook
[5393.370] VM(0/0/0) vmTmoOnHook
[5393.420] VM(0/0/0) vmTmoOnHook
[5393.470] VM(0/0/0) vmTmoOnHook
[5393.520] VM(0/0/0) vmTmoOnHook
[5393.520] VM(0/0/0) Rx OnHook
[5393.520] VM(0/0/0) vopp idle
[5393.520] VP(0/0/0) close channel
[5393.520] VM(0/0/0) Tx DISCONN_CNF
[5393.520] RTA(0/0/0) Rx RS_CLOSE_REQ callId=6 ssId=1 dir=reve
[5393.520] RTA(0/0/0) Rx RS_CLOSE_REQ callId=6 ssId=1 dir=forw
[5393.520] RTA(0/0/0) close Media socket
[5393.520] RTA(0/0/0) close RTCP socket
|