dialplan
Код: Выделить всё
[outcoling]
exten => _077XXXXXX,1,Dial(SIP/Time_LLC/${EXTEN},,)
sip.conf
Код: Выделить всё
[7790]
type=friend
callerid="" <7790>
regexten=7790
secret=пароль
context=outcoling
host=172.XX.XX.XX
disallow=all
allow=alaw
language=ru
callgroup=1
pickupgroup=1
qualify=no
canreinvite=no
call-limit=4
nat=no
Код: Выделить всё
[Time_LLC]
username=Time_LLC
callerid="" <7790>
secret=пароль
host=172.XX.XX.XX
registersip=yes
allow=alaw
context=outcoling
type=peer
лог
Код: Выделить всё
== Using SIP RTP CoS mark 5
-- Executing [077111112@outcoling:1] Dial("SIP/103-00000de3", "SIP/Time_LLC/077111112,,") in new stack
== Using SIP RTP CoS mark 5
-- Called SIP/Time_LLC/077111112
-- Got SIP response 486 "Busy Here" back from 172.XX.XX.XX:5060
-- SIP/Time_LLC-00000de4 is busy
== Everyone is busy/congested at this time (1:1/0/0)