Hello,

On 8/30/06, Wolfgang Pichler <[EMAIL PROTECTED]> wrote:
> But after a sipxReInitialize (same options as on sipxInitialize) when i
> then call sipxCallConnect - sipxCallConnect will hang on this:
>
>                 OsStatus rc = pInst->pCallManager->getCalledAddresses(
>                         callId.data(), 1, numAddresses, &address) ;
>
> I have no idea why this happens - and also no idea where to start to
> debug this problem...
Could you provide minimal crashing example? E.g. based on PlaceCall,
so I could test it in my environment? I've added two ReInitializes to PlaceCall
and it still works fine. Try it in your environment, please?


        sipxInitialize(&g_hInst, iSipPort, iSipPort, -1, iRtpPort,
                       DEFAULT_CONNECTIONS, DEFAULT_IDENTITY, szBindAddr);

        sipxReInitialize(&g_hInst, iSipPort, iSipPort, -1, iRtpPort,
               DEFAULT_CONNECTIONS, DEFAULT_IDENTITY, szBindAddr);

        sipxConfigEnableRport(g_hInst, bUseRport) ;
        dumpInputOutputDevices() ;
        sipxEventListenerAdd(g_hInst, EventCallBack, NULL) ;

        sipxReInitialize(&g_hInst, iSipPort, iSipPort, -1, iRtpPort,
               DEFAULT_CONNECTIONS, DEFAULT_IDENTITY, szBindAddr);

        sipxConfigEnableRport(g_hInst, bUseRport) ;
        sipxEventListenerAdd(g_hInst, EventCallBack, NULL) ;


Regards,
Alexander Chemeris.
_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to