Согласен уже читал.
ded:
exten => _X.,1,Set(CALLERID(all)=495XXXXXXX)
а можно просто указать в конфиге в секции глобал
callerid=495XXXXXXX
Два эти варианта пробовал-все равно нет исходяшего звонка.
ded:
Если есть регистрация через выданный H323 login alias (мы же можем узнать это?)
который указываем
h323id=login_alias_to_MVTS
gatekeeper = 100.111.111.111
то звонок передавать
exten => _X.,n,Dial(OOH323/${EXTEN})
(if gk is used OOH323/alias where alias can be any H323 alias)
Да создал альяс в ooh323.conf
[mera]
callerid=495XXXXXXX
h323id=user|password
faststart=yes
h245tunneling=no
host=local ip
type=friend
disallow=all
allow=ulaw
context=out-street
;context=incoming1
gatekeeper=194.149.XXX.X
В extentions.conf
exten =>9100,1,Set(CALLERID(all)=495XXXXXXX <495XXXXXXX>)
exten =>9100,2,Dial(OOH323/${EXTEN}@mera)
Дебаг говорит что отдаёт правильно АОН прову.
ooh323_request - data 9100@mera format 0x4 (ulaw)
--- ooh323_alloc
+++ ooh323_alloc
--- find_peer "mera"
comparing with ""
found matching peer
+++ find_peer "mera"
--- ooh323_new - mera
+++ h323_new
+++ ooh323_request
--- ooh323_call- 9100@mera
--- onNewCallCreated ooh323c_o_2
--- find_call
+++ find_call
"отдаём аон прову"
setting callid number 495601XXXX
Outgoing call mera(ooh323c_o_2) - Codec prefs - (ulaw)
Adding capabilities to call(outgoing, ooh323c_o_2)
Adding g711 ulaw capability to call(outgoing, ooh323c_o_2)
--- configure_local_rtp
+++ configure_local_rtp
+++ onNewCallCreated ooh323c_o_2
+++ ooh323_call
--- onCallCleared ooh323c_o_2
--- find_call
+++ find_call
--- ooh323_hangup
hanging mera
+++ ooh323_hangup
--- ooh323_destroy
Destroying mera
+++ ooh323_destroy
Логи пишут ерорр.
10:27:34:064 Processing MakeCall command ooh323c_o_2
10:27:34:064 Created a new call (outgoing, ooh323c_o_2)
10:27:34:064 Added local alias 495601XXXX to call. (outgoing, ooh323c_o_2)
10:27:34:064 Added remote alias 9100 to call. (outgoing, ooh323c_o_2)
10:27:34:064 Enabled RFC2833 DTMF capability for (outgoing, ooh323c_o_2)
10:27:34:064 Adding call specific capability OO_G711ULAW64K. (outgoing, ooh323c_o_2)
10:27:34:064 Configured mediainfo for cap OO_G711ULAW64K (outgoing, ooh323c_o_2)
10:27:34:064 Configured mediainfo for cap OO_G711ULAW64K (outgoing, ooh323c_o_2)
10:27:34:064 Parsing destination
10:27:34:064 Destination is parsed as dialed digits
10:27:34:064 Generated callRef 11
10:27:34:064 Trying to connect to remote endpoint(:0) to setup H2250 channel (outgoing, ooh323c_o_2)
10:27:34:064 ERROR:Failed to connect to remote destination for transmit H2250 channel(outgoing, ooh323c_o_2)
10:27:34:064 ERROR:Failed to create H225 connection to :0
10:27:34:064 In ooEndCall call state is - OO_CALL_CLEAR (outgoing, ooh323c_o_2)
10:27:34:159 In ooEndCall call state is - OO_CALL_CLEARED (outgoing, ooh323c_o_2)
10:27:34:159 Cleaning Call (outgoing, ooh323c_o_2)- reason:OO_REASON_NOUSER
10:27:34:159 Closing H.245 connection (outgoing, ooh323c_o_2)
10:27:34:159 Removed call (outgoing, ooh323c_o_2) from list