Audio not working ios

56 views
Skip to first unread message

Zendy Nguyen

unread,
Aug 15, 2025, 4:52:21 AMAug 15
to baresip
Hi can help, i success 

Call established but not audio for ios 
This my log 

aucodec: PCMU/8000/1

aucodec: PCMA/8000/1

Populated 2 audio codecs

Populated 0 audio filters

Populated 0 video codecs

Populated 0 video filters

Checking available audio codecs...

Available audio codec: PCMU

Available audio codec: PCMA

[SIP] Baresip initialized successfully

[SIP] Configuring SIP account for user

[SIP] Starting registration process...


ua_event_handler 0

ua_event_handler 1 200 OK

Registration successful!

ua: using AF from sdp offer: af=AF_INET

Unable to load icon AppIcon.

Try to answer

call: answering call on line 1 from user

ua_event_handler 24 offer

stream: update 'audio'

audio: Set audio decoder: PCMU 8000Hz 1ch

audio: Set audio encoder: PCMU 8000Hz 1ch

audio tx pipeline:       (src) ---> PCMU

audio rx pipeline:      (play) <--- PCMU

ua_event_handler 23 answer

[SIP] Answer successful

ua_event_handler 11 

Call established with 

Zendy Nguyen

unread,
Aug 16, 2025, 6:05:54 AMAug 16
to baresip
this my config ios 

- (void)createConfigFile {

    NSString *documentDirectory = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES).firstObject;

    NSString *configPath = [documentDirectory stringByAppendingPathComponent:@"config"];

    

    NSString *configContent = @"# Baresip configuration for iOS\n"

                                 @"sip_verify_server no\n"

                                 @"tls_verify_server no\n"

                                 @"\n"

                                 @"# Audio codec modules - CRITICAL FOR CALLS\n"

                                 @"module g711.so\n"

                                 @"\n"

                                 @"# Audio settings optimized for iOS\n"

                                 @"audio_alert alsa,default\n"

                                @"audio_player audiounit\n"

                                @"audio_source audiounit\n"

                                 @"\n"

                                 @"# Network settings\n"

                                 @"net_debug no\n";

    

   

    

    NSError *error;

    BOOL success = [configContent writeToFile:configPath

                                   atomically:YES

                                     encoding:NSUTF8StringEncoding

                                        error:&error];

    if (!success) {

        NSLog(@"Failed to write config file: %@", error.localizedDescription);

    } else {

        NSLog(@"Config file created at: %@", configPath);

    }

}


--
You received this message because you are subscribed to the Google Groups "baresip" group.
To unsubscribe from this group and stop receiving emails from it, send an email to baresip+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/baresip/0a7f386c-732a-4e5a-8849-7e790a6fe8fbn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages