Hi Adamsrss, you didn't specify about sipXunInitialize() method usage.
Did u use this method for unregisteration. If not, then, use sipXunInitialize(g_hInst,false); after sipXlineRemove() method. This method allows unregistration from server. Tarun. On Jan 25, 2008 11:30 PM, <[EMAIL PROTECTED]> wrote: > Send sipxtapi-dev mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://list.sipfoundry.org/mailman/listinfo/sipxtapi-dev > or, via email, send a message with subject or body 'help' to > [EMAIL PROTECTED] > > You can reach the person managing the list at > [EMAIL PROTECTED] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of sipxtapi-dev digest..." > > [please change the subject line when replying] > Today's Topics: > > 1. sipxtapi un-register problem (adamsrss) > > > ---------- Forwarded message ---------- > From: "adamsrss" <[EMAIL PROTECTED]> > To: "sipxtapi-dev" <[email protected]> > Date: Fri, 25 Jan 2008 15:42:14 +0800 > Subject: [sipxtapi-dev] sipxtapi un-register problem > Hi,All: > I do have a problem when my sip phone un-register to asterisk server. > well,I did it as fellows: > 1>SipXTAPI.sipxConfigSetRegisterExpiration(myInst,0); > 2>SipXTAPI.sipxLineRegister(myLine, false); > 3>[CallbackProc]OnLineEvent > case SIPX_LINESTATE_EVENT.LINESTATE_UNREGISTERED: > SipXTAPI.sipxLineRemove(myLine) > > my problem is: > Although i received UNREGISTERED Event,but the line actually did not > unregistered. > when i look up on asterisk cli(sip show peers),the line still alive > and asterisk did not have any unregistered response. > I have tried catch the sip register message,it did not contain > expires value.the messages i catched were > register-->100trying--->200Ok(it just as the same as a register > message) > > so i guess it's a bug of sipxtapi because i get the same result > when using sipxezphone!! > could you help me and give me a response! > > with many thanks in advance! > > * * > Adams Gao > > 2008-01-25 > ------------------------------ > adamsrss > > _______________________________________________ > sipxtapi-dev mailing list > [email protected] > List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/ >
_______________________________________________ sipxtapi-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
