VoipShowPeer
Z Net47 2.0
Zapytanie:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < SessionID >9859c16379c2f22e2db8dde9f41cc6a8</ SessionID > < Priority >0</ Priority > < Module >Voip</ Module > < Request > < Type >VoipShowPeer</ Type > < VoipShowPeer > < Number >347524521</ Number > </ VoipShowPeer > </ Request > </ Net47 > //BEGINEND// |
Odpowiedź gdy zostanie podane OntPort:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >VoipShowPeer</ Type > < VoipShowPeer > < Name >347524521</ Name > < Description ></ Description > < Realtimepeer >Yes, cached</ Realtimepeer > < Secret >< Set ></ Secret > < MD5Secret >< Set ></ MD5Secret > < RemoteSecret >< Not set></ RemoteSecret > < Context >wszystko</ Context > < RecordOnfeature >automon</ RecordOnfeature > < RecordOfffeature >automon</ RecordOfffeature > < Subscr.Cont. >< Not set></ Subscr.Cont. > < Language >pl</ Language > < Tonezone >< Not set></ Tonezone > < Accountcode >5</ Accountcode > < AMAflags >BILLING</ AMAflags > < Transfermode >closed</ Transfermode > < CallingPres >Presentation Allowed, Not Screened</ CallingPres > < Callgroup ></ Callgroup > < Pickupgroup ></ Pickupgroup > < NamedCallgr ></ NamedCallgr > < Nam.Pickupgr ></ Nam.Pickupgr > < MOHSuggest ></ MOHSuggest > < Mailbox >327774333@mailbox</ Mailbox > < VMExtension >asterisk</ VMExtension > < LastMsgsSent >0/0</ LastMsgsSent > < Calllimit >0</ Calllimit > < Maxforwards >0</ Maxforwards > < Dynamic >Yes</ Dynamic > < Callerid >" < 327774333 ></ Callerid > < MaxCallBR >384 kbps</ MaxCallBR > < Expire >31</ Expire > < Insecure >no</ Insecure > < Forcerport >Yes</ Forcerport > < SymmetricRTP >Yes</ SymmetricRTP > < ACL >No</ ACL > < DirectMedACL >No</ DirectMedACL > < T.38support >No</ T.38support > < T.38ECmode >Unknown</ T.38ECmode > < T.38MaxDtgrm >-1</ T.38MaxDtgrm > < DirectMedia >No</ DirectMedia > < PromiscRedir >No</ PromiscRedir > < UserPhone >No</ UserPhone > < VideoSupport >No</ VideoSupport > < TextSupport >No</ TextSupport > < IgnSDPver >No</ IgnSDPver > < TrustRPID >No</ TrustRPID > < SendRPID >No</ SendRPID > < TrustIDOutbnd >Legacy</ TrustIDOutbnd > < Subscriptions >Yes</ Subscriptions > < Overlapdial >Yes</ Overlapdial > < DTMFmode >rfc2833</ DTMFmode > < TimerT1 >500</ TimerT1 > < TimerB >32000</ TimerB > < ToHost ></ ToHost > < Addr >IP>192.168.123.19:5070</ Addr >IP> < Defaddr >IP>(null)</ Defaddr >IP> < Prim.Transp. >UDP</ Prim.Transp. > < Allowed.Trsp >UDP</ Allowed.Trsp > < Def.Username >327774333</ Def.Username > < SIPOptions >(none)</ SIPOptions > < Codecs >(ulaw|alaw)</ Codecs > < CodecOrder >(ulaw:20,alaw:20)</ CodecOrder > < AutoFraming >No</ AutoFraming > < Status >OK (3 ms)</ Status > < Useragent >NCH Software Express Talk 4.26</ Useragent > < Reg.Contact >sip:327774333@192.168.123.19:5070</ Reg.Contact > < QualifyFreq >60000 ms</ QualifyFreq > < Keepalive >0 ms</ Keepalive > < SessTimers >Accept</ SessTimers > < SessRefresh >uas</ SessRefresh > < SessExpires >1800 secs</ SessExpires > < MinSess >90 secs</ MinSess > < RTPEngine >asterisk</ RTPEngine > < Parkinglot ></ Parkinglot > < UseReason >Yes</ UseReason > < Encryption >No</ Encryption > </ VoipShowPeer > </ Request > </ Net47 > //BEGINEND// |
Odpowiedź gdy nie zostanie podane OntPort:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >NetworkHuaweiOntIpConfigGet</ Type > < NetworkHuaweiOntIpConfigGet > < OltIP >21.73.88.125</ OltIP > < OltPort >4194344960</ OltPort > < OntID >0</ OntID > < IpConfigMode.0.0 >dhcp(1)</ IpConfigMode.0.0 > < IpConfigMode.0.1 >dhcp(1)</ IpConfigMode.0.1 > < IpAddress.0.0 >0.0.0.0</ IpAddress.0.0 > < IpAddress.0.1 >0.0.0.0</ IpAddress.0.1 > < NetMask.0.0 >0.0.0.0</ NetMask.0.0 > < NetMask.0.1 >0.0.0.0</ NetMask.0.1 > < PhyAddress.0.0 >c0:56:74:4c:62:5c</ PhyAddress.0.0 > < PhyAddress.0.1 >ff:ff:ff:ff:ff:ff</ PhyAddress.0.1 > < NetGateway.0.0 >0.0.0.0</ NetGateway.0.0 > < NetGateway.0.1 >0.0.0.0</ NetGateway.0.1 > < MasterDNS.0.0 >0.0.0.0</ MasterDNS.0.0 > < MasterDNS.0.1 >0.0.0.0</ MasterDNS.0.1 > < SlaveDNS.0.0 >0.0.0.0</ SlaveDNS.0.0 > < SlaveDNS.0.1 >0.0.0.0</ SlaveDNS.0.1 > < IpConfigVlan.0.0 >99</ IpConfigVlan.0.0 > < IpConfigVlan.0.1 >99</ IpConfigVlan.0.1 > < IpConfigPriority.0.0 >5</ IpConfigPriority.0.0 > < IpConfigPriority.0.1 >5</ IpConfigPriority.0.1 > </ NetworkHuaweiOntIpConfigGet > </ Request > </ Net47 > //BEGINEND// |
Błędy:
1 2 3 4 5 6 7 8 9 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >Error</ Type > < Error ></ Error > </ Request > </ Net47 > //BEGINEND// |