Настраиваю confbridge.
Файл конфига confbridge -
Код: Выделить всё
[general]
; The general section of this config
; is not currently used, but reserved
; for future use.
;
; --- Default Information ---
; The default_user and default_bridge sections are applied
; automatically to all ConfBridge instances invoked without
; a user, or bridge argument. No menu is applied by default.
;
; Note that while properties of the default_user or default_bridge
; profile can be overridden, if removed, they will be automatically
; added and made available to the dialplan upon module load.
;
; --- ConfBridge User Profile Options ---
[conf_test]
type=bridge
;max_members=20
max_members=20
record_conference=no
internal_sample_rate=auto
mixing_interval=20
sound_join= beep
;sound=leave= beeperr
sound_leave= beeperr
;pin=456
[user_test]
type=user
admin=yes
marked=no
startmuted=no
music_on_hold_when_empty=yes
;denoise=yes ;need codec_speex
denoise=no
;announce_user_count=yes
;announce_user_count_all=yes
[menu_test]
type= menu
*=playback_and_continue(press&digits/1&press&digits/2&press&digits/3&press&digits/4&press&digits/5&press&digits/6&press&digits/7&press&digits/8press&digits/9&
1=toggle_mute
2=leave_conference
3=dialplan_exec(invitar,1234,1)
4=decrease_listening_volume
5=reset_listening_volume
6=increase_listening_volume
7=decrease_talking_volume
8=reset_talking_volume
9=increase_talking_volume
0=no_op
При попытке позвонить на конфу получаю -
extensions.confchan_sip.c:24071 handle_response_invite: Received response: "Forbidden" from '"Video1"
Код: Выделить всё
exten => 6659,1,Goto(6659,6659,1)
exten => 6659,1,Answer()
exten => 6659,n,ConfBridge(conf_test)
Код: Выделить всё
[6671]
type=friend
username=6671
secret=6671
host=dynamic
context=avaya
callerid=Video1
canreinvite=no
disallow=all ; Windows Messenger выбирает неправильные кодеки, если указать: allow=all
allow=ulaw
allow=alaw
allow=speex
allow=gsm
allow=h261
;allow=h263
;allow=h263p
От модератора:
Используйте теги ! Сообщение отредактировано.