سلام دوستان
من یک newrock hx420 دارم که میخوام ترانک Trunk کنم روی elastix و تماس ورودی خودم را به IVR اتصال بدم!!
و بعد ادامه مراحل!!!
از طریق آموزش زیر انجام دادم تنظیمات رو
کد:
http://voipshop.ir/blog/1392/04/%D9%86%D8%AD%D9%88%D9%87-%DB%8C-%D8%A7%D8%B1%D8%AA%D8%A8%D8%A7%D8%B7-%D8%A7%D9%84%D8%B3%D8%AA%DB%8C%DA%A9%D8%B3-%D9%88-%DA%AF%DB%8C%D8%AA-%D9%88%DB%8C/
ولی وقتی تماس میگیریم با خط مربوطه بعد از اتصال قطع می شود و هیچ لاگی هم داخل Elastix ندارم و لاگ خود GW هم به شرح زیر می باشد بعد از تماس:
کد:
[01/01 18:26:34.761267]FXO-8000(4) disconnected
[01/01 18:26:34.769949]FXO-8000(4) onhook
[01/01 18:26:35.731724]FXO-8001(3) connected
[01/01 18:35:09.109816]FXO-44(3) ring
[01/01 18:35:13.112499]FXO-44(3) CID timeout
[01/01 18:35:13.128431]FXO-44(3) incoming 381131121559924-0@192.168.1.218
[01/01 18:35:13.168049]SIP:send[192.168.1.50:5060] len[683]
INVITE sip:288@192.168.1.50 SIP/2.0

Via: SIP/2.0/UDP 192.168.1.218:5060;branch=z9hG4bK--637425472381132176

To: <sip:288@192.168.1.50>

From: <sip:44@192.168.1.50>;tag=381132175-1

Call-ID: 381131121559924-0@192.168.1.218

CSeq: 100160 INVITE

Max-Forwards: 70

Expires: 60000

Contact: <sip:44@192.168.1.218:5060>

Allow: INVITE,ACK,CANCEL,BYE,OPTIONS,INFO,REFER,NOTIFY,PRACK,UPDATE

User-Agent: NewRockTech-MX4-v1.9.82.323/UA 2.0

Content-Type: application/sdp

Content-Length: 195



v=0

o=- 38113 141569 IN IP4 192.168.1.218

s=-

c=IN IP4 192.168.1.218

t=0 0

m=audio 10024 RTP/AVP 0 101

a=ptime:20

a=rtpmap:0 PCMU/8000

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-15

[01/01 18:35:13.186219]SIP:recv[192.168.1.50:5060] len[450]
SIP/2.0 488 Not acceptable here

Via: SIP/2.0/UDP 192.168.1.218:5060;branch=z9hG4bK--637425472381132176;received=192.168.1.218

From: <sip:44@192.168.1.50>;tag=381132175-1

To: <sip:288@192.168.1.50>;tag=as4a3b67df

Call-ID: 381131121559924-0@192.168.1.218

CSeq: 100160 INVITE

Server: FPBX-2.11.0(11.13.0)

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE

Supported: replaces, timer

Content-Length: 0



[01/01 18:35:13.226094]SIP:send[192.168.1.50:5060] len[275]
ACK sip:288@192.168.1.50 SIP/2.0

Via: SIP/2.0/UDP 192.168.1.218:5060;branch=z9hG4bK--637425472381132176

To: <sip:288@192.168.1.50>;tag=as4a3b67df

From: <sip:44@192.168.1.50>;tag=381132175-1

Call-ID: 381131121559924-0@192.168.1.218

CSeq: 100160 ACK

Content-Length: 0



[01/01 18:35:13.259872]FXO-44(3) offhook
[01/01 18:35:14.260310]FXO-44(3) onhook
دستور sip show peers

کد:
Name/username             Host                                    Dyn Forcerport Comedia    ACL Port     Status      Description
1000/1000                 192.168.1.2                              D  No         No          A  48214    OK (104 ms)
1001/1001                 192.168.1.4                              D  No         No          A  36708    OK (105 ms)
192.168.1.218/hx          192.168.1.218                               Auto (No)  No             5060     OK (29 ms)
hx                        192.168.1.218                               Auto (No)  No             5060     OK (30 ms)
4 sip peers [Monitored: 4 online, 0 offline Unmonitored: 0 online, 0 offline]