วิธีการดีบัคฝั่ง IP ดู SIP Messages

GSM VoIP Configuration

วิธีการดีบัคฝั่ง IP ดู SIP Messages

โพสต์โดย nuiz » 21 ต.ค. 2011 22:09

วิธีการดีบัค gsm voip gateway ด้านที่เป็น IP (SIP Messages)

** ถ้าเป็นเครื่องเวอร์ชั่นใหม่ทั้งสีฟ้าและสีดำ ดูบทความนี้ครับ **

EIS> en
EIS# ^ada
EIS(ada)# turnon 84

ส่ง call เข้าไปทาง ip


EIS(ada)#
[216-22:06:19:530]119.59.100.62, 119.59.100.62
[217-22:06:19:530]119.59.100.62, 119.59.123.19
[218-22:06:19:530]119.59.100.62, 119.59.100.62
[219-22:06:19:530]get route entry 30
[220-22:06:19:530]sm:1
[221-22:06:19:530]ucCurrTrunk:2
[222-22:06:19:530]2, 8, 0, 2, 1
[223-22:06:19:530]testing:2
[224-22:06:19:530]find it
[225-22:06:19:530]lPort:2
[226-22:06:19:530]get route, to port:2
[227-22:06:19:530]119.59.100.62, 119.59.100.62
[228-22:06:19:530]119.59.100.62, 119.59.100.62
[229-22:06:19:530]119.59.100.62, 119.59.123.19
[230-22:06:19:530]119.59.100.62, 119.59.100.62
[231-22:06:19:530]119.59.100.62, 119.59.100.62
[232-22:06:19:530]match entry :25
[233-22:06:19:530]strlen:9
[234-22:06:19:530]pszPattern:333066777
[235-22:06:19:530]not reserve
[236-22:06:19:530]ucDelPrefix:6
[237-22:06:19:530]pszHead:777, lLen:3
[238-22:06:19:530]lTotalLen:4
[239-22:06:19:530]szAfterMP:*777
[240-22:06:19:530]ECC:<port:2>,<3,2,out_idle> Return sip index:3, dest:2 !, nextstrtport:3
[241-22:06:19:530]ECC:<port:2>,<==recv msg:SIP_CALL_INVITE,localindex:3

[242-22:06:19:530]ECC:<port:2>,eccb:3, State:0(out_idle), calling:1010, dial:*777

[243-22:06:19:530]ECC:<port:2>,<3,2,out_idle> <<== SIP_CALL_INVITE
[244-22:06:19:530]119.59.100.62, 119.59.123.19
[245-22:06:19:530]119.59.100.62, 119.59.100.62
[246-22:06:19:530]119.59.100.62, 119.59.100.62
[247-22:06:19:530]119.59.100.62, 119.59.100.62
[248-22:06:19:530]ECC:<port:2>,<3,2,out_idle> set active ccb 3
[249-22:06:19:530]ECC:<port:2>,<3,2,out_idle> <<==recv invite, sdp:v=0
o=- 0 0 IN IP4 119.59.100.62
s=VOS2009
c=IN IP4 119.59.100.62
t=0 0
m=audio 36106 RTP/AVP 18 0 101
a=rtpmap:18 G729/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv

[250-22:06:19:530]ECC:<port:2>,peer std cap:type0:18, type1:0, pkt:255,televent:101, mintelevent:0,maxtelevent:15
[251-22:06:19:530]ECC:<port:2>,eccb:3, State:0(out_idle), calling:1010, dial:*777

[252-22:06:19:530]ECC:<port:2>,peer priv cap: fwd:n, 0.0.0.0:0
[253-22:06:19:530]ECC:<port:2>,eccb:3, State:0(out_idle), calling:1010, dial:*777

[254-22:06:19:530]ECC:<port:2>,negotiation std answer cap:type:18,band:-1,pkt:255,televent:101, mintelevent:0,maxtelevent:11
[255-22:06:19:530]ECC:<port:2>,eccb:3, State:0(out_idle), calling:1010, dial:*777

[000-22:06:19:530]ECC:<port:2>,negotiation private answer cap:t crypt:n, tcp:n, p2pv2:n
[001-22:06:19:530]ECC:<port:2>,eccb:3, State:0(out_idle), calling:1010, dial:*777

[002-22:06:19:530]ECC:<port:2>,<3,2,out_idle> Crcx, ip:119.59.100.62, port:36106, isact:1, algo:18, pkt:20, band:4294967295, crypt:FALSE, proto: UDP, p2pv2:N, mode:3 szRtpConn 3-2
[003-22:06:19:530]ECC:<port:2>,<3,2,out_idle> ==>> SD_OFFHOOK, Sig:4294967295
[004-22:06:19:530]ECC:<port:2>,<3,2,out_idle> begin dtmf:*777
[005-22:06:19:530]ECC:<port:2>,<3,2,out_idle> end dtmf:*777
[006-22:06:19:530]ECC:<port:2>, ==>> SD_DTMF_SEND, dtmf:*777
[007-22:06:19:530]dial tick:1487670
[008-22:06:19:530]ECC:<port:2>,<3,2,out_idle> ==>> send dtmf to o port*777
[009-22:06:19:530]ECC:<port:2>,<<==** SD_OFFHOOK, port:2
[010-22:06:19:530]
[011-22:06:19:530]ECC:<port:2>,<<== SD_OFFHOOK, para:
[012-22:06:19:530]ECC:<port:2>,eccb:3, State:4(out_recving), calling:1010, dial:*777

[013-22:06:19:530]ECC:<port:2>,<3,2,out_recving> Wait answer timer start !
[014-22:06:19:530]ECC:<port:2>,====Processed: SD_OFFHOOK
[015-22:06:19:530]ECC:<port:2>,eccb:3, State:4(out_recving), calling:1010, dial:*777


EIS(ada)#[016-22:06:22:800]ECC:<port:2>,<<==** SD_R_POLARITY, port:2
[017-22:06:22:800]
[018-22:06:22:800]ECC:<port:2>,<3,2,out_recving> <<== SD_R_POLARITY
[019-22:06:22:800]ECC:<port:2>,<3,2,out_recving> all ecc timer stop !
[020-22:06:22:800]ECC:<port:2>,<3,2,out_recving> Wait answer timer stop !
[021-22:06:22:800]ECC:<port:2>,<3,2,out_recving> ==>> SIP_CALL_ACCEPT, index:3, local:sip:333066777@119.59.121.6, peer:sip:1010@119.59.100.62,
std sdp:v=0
o=call 10000 10000 IN IP4 119.59.121.6
s=-
c=IN IP4 119.59.121.6
t=0 0
m=audio 8008 RTP/AVP 18 101
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11


[022-22:06:22:800]alert tick:1487995
[023-22:06:22:830]ECC:<port:2>,<==recv msg:SIP_ACCEPT_ACK,localindex:3

[024-22:06:22:830]ECC:<port:2>,eccb:3, State:5(out_active), calling:1010, dial:*777


EIS(ada)#[025-22:06:36:840]ECC:<port:2>, ==>> SD_DTMF_SEND, dtmf:9
[026-22:06:36:840]ECC:<port:2>, ==>> dtmf, Fsk:9

EIS(ada)#[027-22:06:40:240]ECC:<port:2>, ==>> SD_DTMF_SEND, dtmf:1
[028-22:06:40:240]ECC:<port:2>, ==>> dtmf, Fsk:1

EIS(ada)#[029-22:06:42:530]ECC:<port:2>,<==recv msg:SIP_CALL_BYE,localindex:3

[030-22:06:42:530]ECC:<port:2>,eccb:3, State:5(out_active), calling:1010, dial:*777

[031-22:06:42:530]ECC:<port:2>,<3,2,out_active> <<== SIP_CALL_BYE
[032-22:06:42:530]ECC:<port:2>,<3,2,out_active> all ecc timer stop !
[033-22:06:42:530]asr:100%, acd:20s, pdd:4s
[034-22:06:42:530]ECC:<port:2>,<3,2,out_active> ==>> SD_ONHOOK, Sig:4294967295
[035-22:06:42:530]ECC:<port:2>,<3,2,out_active> delete rtp session
[036-22:06:42:530]ECC:<port:2>,<3,2,out_active> szRtpConn 3-2
[037-22:06:42:530]ECC:<port:2>,<<==** SD_ONHOOK, port:2
[038-22:06:42:530]
[039-22:06:42:530]ECC:<port:2>, <<== SD_ONHOOK
[040-22:06:42:530]ECC:<port:2>,<3,2,out_release> delete eccb index 3, stat:out_release
[041-22:06:42:530]ECC:<port:2>,<3,2,out_release> all ecc timer stop !
[042-22:06:42:530]ECC:<port:2>,<3,2,out_release> ==>> SD_STOP_SIG, stop signal
[043-22:06:42:530]ECC:<port:2>,<3,2,out_release> Free ECCB 3

EIS(ada)#
** งานเร่งด่วนติดต่อที่เบอร์ 085-161-9439 อีเมล์ iamaladin@gmail.com ไลน์ไอดี nuizvoip ครับ ผมหนุ่ยครับ**
nuiz
Diamond Member
 
โพสต์: 7336
ลงทะเบียนเมื่อ: 24 มี.ค. 2010 09:33

ย้อนกลับไปยัง GSM VoIP Gateway

ผู้ใช้งานขณะนี้

กำลังดูบอร์ดนี้: ไม่มีสมาชิกใหม่ และ บุคคลทั่วไป 0 ท่าน