Все настроил по мануалу:
CISCO 8800:
10.100.1.197
User id: pstn2
FXO Line PORT: 5060
Make Call Without Reg: YES
Ans Call Without Reg: YES
sip.conf:
[pstn2]
type=friend
host=10.100.1.197 ;IP address of the SPA8800
port=5060 ;5161 is the default SIP port for line 2 on the SPA8800
dtmfmode=rfc2833
context=pstn2
insecure=very
extensions.conf:
exten => _44.,1,Dial(SIP/${EXTEN:1}@pstn2,60,r)
sip show peer pstn2:
* Name : pstn2
Secret : <Not set>
MD5Secret : <Not set>
Remote Secret: <Not set>
Context : pstn2
Subscr.Cont. : <Not set>
Language :
AMA flags : Unknown
Transfer mode: open
CallingPres : Presentation Allowed, Not Screened
Callgroup :
Pickupgroup :
MOH Suggest :
Mailbox :
VM Extension : asterisk
LastMsgsSent : 32767/65535
Call limit : 10
Max forwards : 0
Dynamic : No
Callerid : "" <>
MaxCallBR : 384 kbps
Expire : -1
Insecure : no
Force rport : Yes
ACL : No
DirectMedACL : No
T.38 support : Yes
T.38 EC mode : FEC
T.38 MaxDtgrm: 400
DirectMedia : Yes
PromiscRedir : No
User=Phone : No
Video Support: Yes
Text Support : No
Ign SDP ver : No
Trust RPID : No
Send RPID : No
Subscriptions: Yes
Overlap dial : No
DTMFmode : rfc2833
Timer T1 : 500
Timer B : 32000
ToHost : 10.100.1.197
Addr->IP : 10.100.1.197:5060
Defaddr->IP : (null)
Prim.Transp. : UDP
Allowed.Trsp : UDP
Def. Username:
SIP Options : (none)
Codecs : 0xc (ulaw|alaw)
Codec Order : (alaw:20,ulaw:20)
Auto-Framing : No
Status : Unmonitored
Useragent :
Reg. Contact :
Qualify Freq : 60000 ms
Sess-Timers : Accept
Sess-Refresh : uas
Sess-Expires : 1800 secs
Min-Sess : 90 secs
RTP Engine : asterisk
Parkinglot :
Use Reason : No
Encryption : No
При звонке с номера 1117 на 4456:
-- Executing [4456@mgmn-users:1] Dial("SIP/1117-00036a32", "SIP/456@pstn2,60,r") in new stack
== Using SIP RTP CoS mark 5
-- Called SIP/456@pstn2
-- Got SIP response 503 "Service Unavailable" back from 10.100.1.197:5060
-- SIP/pstn2-00036a33 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Auto fallthrough, channel 'SIP/1117-00036a32' status is 'CONGESTION'