Добрый день!
Подскажите как можно настроить перевод звонка на телефоне штатной кнопкой?
При нажатии кнопки генерируется INFO. Пример
------------------------------------------------------------------------
INFO sip:mod_sofia@10.10.2.108:5060 SIP/2.0
Via: SIP/2.0/UDP 10.10.2.125:5060;branch=z9hG4bKbb79aee7d149fe72b4926a219eae19e2;rport
From: <sip:1005@10.10.2.125:5060>;tag=2520028560
To: "Extension 1000" <sip:1000@10.10.2.108>;tag=t4Nm5N27DQ0Ha
Call-ID: a6b80d69-6618-1230-95a5-00306e4cc24e
CSeq: 32435289 INFO
Contact: <sip:1005@10.10.2.125:5060>
Max-Forwards: 70
User-Agent: C470 IP/022270000000
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, REFER, SUBSCRIBE, NOTIFY
Content-Type: application/XXXXXX -- можно прописать что угодно
Content-Length: 22
Signal=16
Duration=86
------------------------------------------------------------------------
на форуме по asterisk нашел такую инфу:
Цитата:
Enabling call transfer feature
Although C450IP has a "R", it seems Siemens is not willing to make it work over IP.
However, it is possible to take advantage of asterisk's builtin transfer capability. Here is how:
make sure chan_local.so is loaded (e.g. checkout modules.conf)
edit features.conf and have at least something like this (of course you can change key mappings as you like):
Код:
[general]
featuredigittimeout = 999 ; default of 500 is short
transferdigittimeout => 5 ; default of 3 is short
[featuremap]
blindxfer => #1
atxfer => #2
With firmware version 038.00 no changes to extensions.conf where needed!
change your dialplan (extensions.conf) to make sure that each Dial() entry has the 't' or 'T' option active (the lowercase 't' permits the called party to initiate the transfer by pressing '#', the uppercase 'T' permits the calling party to initate the transfer; for instance, you will set a 'T' for outgoing calls and a 't' for incoming calls, while a'tT' is recommended for calls between internal extensions)
Код:
[extensions]
exten => 210,1,Dial(SIP/210,,oTt)
[outgoingtrunk]
exten => _XXX.,1,Dial(Zap/g1/${EXTEN},,T)
make sure your C450IP configuration has dtmf tones sent via SIP INFO (optionally also via inband audio)