VoipSipConfGetOne
Z Net47 2.0
Zapytanie:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>0</Priority> <Module>Voip</Module> <Request> <Type>VoipSipConfGetOne</Type> <VoipSipConfGetOne> <SipID>55</SipID> </VoipSipConfGetOne> </Request> </Net47> //BEGINEND//
Odpowiedź:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>VoipSipConfGetOne</Type> <VoipSipConfGetOne> <ID>55</ID> <Name>327774302</Name> <AccountCode>55</AccountCode> <AmaFlags>billing</AmaFlags> <CallGroup></CallGroup> <CallerID>48327774302</CallerID> <Canreinvite>no</Canreinvite> <Context>platnosciblokada</Context> <DefaultIP></DefaultIP> <Dtmfmode>rfc2833</Dtmfmode> <FromUser></FromUser> <FromDomain></FromDomain> <Host>dynamic</Host> <InSecure>no</InSecure> <Language>pl</Language> <MailBox></MailBox> <Md5Secret>0116ca5d0a0bca438ed88829bfd12874</Md5Secret> <Nat>auto_force_rport</Nat> <Permit></Permit> <Deny></Deny> <Mask></Mask> <PickupGroup></PickupGroup> <Port></Port> <Qualify>no</Qualify> <RestrictID></RestrictID> <RtpTimeout></RtpTimeout> <RtpHoldTimeout></RtpHoldTimeout> <Secret>YEIZrzMf</Secret> <Type>friend</Type> <Username>327774302</Username> <CallBackExtension> </CallBackExtension> <Allow>!all,alaw</Allow> <MusicOnHold></MusicOnHold> <RegSeconds>0</RegSeconds> <IpAddr></IpAddr> <Regexten></Regexten> <CancallForward>no</CancallForward> <Lastms>0</Lastms> <DefaultUser></DefaultUser> <FullContact></FullContact> <RegServer></RegServer> <UserAgent></UserAgent> <CustomerID>98</CustomerID> </VoipSipConfGetOne> </Request> </Net47> //BEGINEND//
Błędy:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>Error</Type> <Error>Brak danych lub błąd pobrania.</Error> </Request> </Net47> //BEGINEND//