Astersik
1
Записи
1
Пользователи
0
Reactions
4,686
Просмотры
Создатель темы 05.03.2019 12:32
Здравствуйте! Не могу уже неделю решить такую проблему: При звонке на внутренний номер пишет «dial_exec_full: Dial argument takes format (technology/resource)» и сбрасывает вызов. Это при значении exten => _XXX,1,Dial(SIP/${EXTEN}), но при значении exten => 102,1,Dial(SIP/102) вызов проходит нормально. В чём может быть ошибка? Ubuntu 18 LTS, Asterisk 16 LTS
Если exten => _XXX,1,Dial(SIP/${EXTEN})
[Mar 1 03:38:48] NOTICE[10011]: app_queue.c:9096 reload_queue_rules: queuerules.conf has not changed since it was last loaded. Not taking any action.
Reloading unistim.conf...
== Using SIP RTP CoS mark 5
> 0x7f9f90031d40 -- Strict RTP learning after remote address set to: 192.168.51.88:11808
-- Executing [102@call-out:1] Dial("SIP/100-0000000d", "SIP/") in new stack
[Mar 1 03:38:52] WARNING[10021][C-0000000f]: app_dial.c:2449 dial_exec_full: Dial argument takes format (technology/resource)
== Spawn extension (call-out, 102, 1) exited non-zero on 'SIP/100-0000000d'
Если exten => 102,1,Dial(SIP/102) Using SIP RTP CoS mark 5 > 0x7f9f90031d40 -- Strict RTP learning after remote address set to: 192.168.51.88:11812 -- Executing [102@call-out:1] Dial("SIP/100-0000000f", "SIP/102") in new stack == Using SIP RTP CoS mark 5 -- Called SIP/102 -- SIP/102-00000010 is ringing == Spawn extension (call-out, 102, 1) exited non-zero on 'SIP/100-0000000f'
sip.conf [general] srvlookup=yes externaddr=192.168.51.77:5060 defaultexpiry=360 allowguest=no language=ru bindaddr=0.0.0.0 disallow=all allow=alaw allow=ulaw allow=g729 allow=g723 allow=g722 allowoverlap=no tcpenable=no limitonpeers=yes [authentication] [nombers](!) type=friend context=call-out secret=123 host=dynamic nat=no qualify=yes canreinvite=no callgroup=1 pickupgroup=1 call-limit=1 dtmfmode=auto disallow=all allow=alaw allow=ulaw allow=g729 allow=g723 allow=g722 [100](nombers) callerid=»Номер 100<100> [101](nombers) callerid=»Номер 101<101> [102](nombers) callerid=»Номер 102<102>
extensions.conf
[general]
static=yes
writeprotect=no
[globals]
[default]
[call-out]
exten => _XXX,1,Dial(SIP/${EXTEN})