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/

Reply via email to