linphone-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-users] SIP Registration issues - Help!!!


From: Jay Ray
Subject: [Linphone-users] SIP Registration issues - Help!!!
Date: Wed, 8 Jun 2005 08:55:36 -0700 (PDT)

Hi all,

 
   I have been trying to compile the list the problems I found and here they are:
 
  1. When I configure a SIP proxy, Linphone pops up a Username/passwd box, and it keeps popping up infinite number of such boxes, and I have to kill the application.
  2. Sometimes Linphone starts up fine without the pop u pproblem above. It sends REGISTER with EXPIRES = 200 (Although Re-register Time is set to 120s - lowest possible)
  3. The SIP proxy sends back an Expires of 60s in its 200OK, but Linphone still keeps sending REGISTERs after 200 seconds.

     Appreciate help in the above matters ....

 

Thx,

J



address@hidden wrote:

Hey all,

I've got a function that tries to be lazy and establish a session with
linphone_core_invite and then send a .wav file across with
audio_stream_start_with_files. The call gets established and my little
program ACTS like it's delivering a .wav file, but I get no audio
through the session. Could someone take a look at it and tell me what
I'm doing wrong?

void deliverWavToTarget(VoipDeliverSession *currentSession)
{
LinphoneCore *lc = currentSession->lc; /* I'm lazy... */

/*
* Establish the call, I think?
*/
linphone_core_invite(lc, currentSession->sipUrlToCall,
lc->default_proxy);

while(lc->call->state == LCStateInit || lc->call->state == LCStateRinging) {
linphone_core_iterate(lc);
if (!lc->call) {
printf("Call failed.\n");
exit(VOIP_SESSION_ERROR);
}
}

lc->audiostream = audio_stream_start_with_files(lc->call->profile,
lc->call->audio_params.localport,
lc->call->audio_params.remoteaddr,
lc->call->audio_params.remoteport,
lc->call->audio_params.pt,
20,
currentSession->wavFileName,
"/dev/null");


ms_filter_set_notify_func(lc->audiostream->soundread,
deliverWavFileDone,
(gpointer) currentSession);

while (!currentSession->endCall) {
linphone_core_iterate(currentSession->lc);
}

linphone_core_terminate_dialog(currentSession->lc, NULL);

}

--
Bruce Ide
address@hidden



_______________________________________________
Linphone-developers mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/linphone-developers


Discover Yahoo!
Get on-the-go sports scores, stock quotes, news & more. Check it out!
reply via email to

[Prev in Thread] Current Thread [Next in Thread]