VoipShowPeer

(Różnice między wersjami)
Skocz do: nawigacji, wyszukiwania
Duri (dyskusja | edycje)
(Utworzył nową stronę „Zapytanie: <pre class="brush:xml"> //BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>0</Pr...”)
następna edycja →

Wersja z 13:22, 8 lip 2014

Zapytanie:

//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:

//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:

//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:

//BEGIN//
<?xml version="1.0" encoding="UTF-8"?>
<Net47>
	<Request>
		<Type>Error</Type>
		<Error></Error>
	</Request>
</Net47>
//BEGINEND//
Osobiste
Przestrzenie nazw
Warianty
Działania
Nawigacja
Konfiguracja Systemu
Szablony
API
PostgreSQL
Narzędzia
MENU