[asterisk-users] app_conference not working for me

Steve Edwards asterisk.org at sedwards.com
Mon Sep 4 13:33:37 MST 2006


I'm having trouble getting app_conference to work and I'm feeling
pretty clueless right know.

With no flags, it doesn't exit when I press '#.'

With flags passed as "d," it just ignores '#.'

With flags passed as "MTV," it crashes Asterisk when I press '#.'

Any clues would be appreciated :)

Here's how I'm invoking conference:

         exten = *,n,                    conference(test)

or

         exten = *,n,                    conference(test|d)

or

         exten = *,n,                    conference(test|MTV)

Here's the console output with no flags:

     -- Accepting AUTHENTICATED call from a.b.c.d:
        > requested format = ulaw,
        > requested prefs = (),
        > actual format = ulaw,
        > host prefs = (ulaw),
        > priority = mine
     -- Executing Conference("IAX2/a.b.c.d:1030-4", "test") in new stack
Sep  4 12:53:41 ERROR[10454]: frame.c:386 convert_frame: unable to translate frame

Here's what gets syslogged:

Sep  4 12:53:35 dt-ext asterisk[10222]: VERBOSE[10227]:     -- Accepting AUTHENTICATED call from a.b.c.d:        > requested format = ulaw,        > requested prefs = (),        > actual format = ulaw,        > host prefs = (ulaw),        > priority = mine 
Sep  4 12:53:35 dt-ext asterisk[10222]: DEBUG[10225]: chan_iax2.c:9434 in iax2_devicestate: Checking device state for device a.b.c.d 
Sep  4 12:53:35 dt-ext asterisk[10222]: DEBUG[10225]: devicestate.c:187 in do_state_change: Changing state for IAX2/a.b.c.d:1030 - state 4 (Invalid) 
Sep  4 12:53:35 dt-ext asterisk[10222]: DEBUG[10453]: pbx.c:1677 in pbx_extension_helper: Launching 'Conference' 
Sep  4 12:53:35 dt-ext asterisk[10222]: VERBOSE[10453]:     -- Executing Conference("IAX2/a.b.c.d:1030-4", "test") in new stack 
Sep  4 12:53:35 dt-ext asterisk[10222]: NOTICE[10453]: member.c:415 in member_exec: [ $Revision: 1.9 $ ] begin processing member thread, channel => IAX2/a.b.c.d:1030-4 
Sep  4 12:53:35 dt-ext asterisk[10222]: DEBUG[10453]: chan_iax2.c:3370 in iax2_answer: Answering IAX2 call 
Sep  4 12:53:35 dt-ext asterisk[10222]: NOTICE[10453]: member.c:742 in create_member: attempting to parse passed params, stringp => test 
Sep  4 12:53:35 dt-ext asterisk[10222]: NOTICE[10453]: member.c:793 in create_member: parsed data params, id => test, flags => , priority => 0, vad_prob_start => 0.050000, vad_prob_continue => 0.020000 
Sep  4 12:53:35 dt-ext asterisk[10222]: NOTICE[10453]: member.c:1077 in create_member: created member, type => S, priority => 0, readformat => 4 
Sep  4 12:53:35 dt-ext asterisk[10222]: NOTICE[10453]: member.c:451 in member_exec: CHANNEL INFO, CHANNEL => IAX2/a.b.c.d:1030-4, DNID => *, CALLER_ID => 21012006, ANI => 21012006 
Sep  4 12:53:35 dt-ext asterisk[10222]: NOTICE[10453]: member.c:454 in member_exec: CHANNEL CODECS, CHANNEL => IAX2/a.b.c.d:1030-4, NATIVE => 4, READ => 4, WRITE => 4 
Sep  4 12:53:35 dt-ext asterisk[10222]: DEBUG[10453]: channel.c:2376 in set_format: Set channel IAX2/a.b.c.d:1030-4 to read format ulaw 
Sep  4 12:53:35 dt-ext asterisk[10222]: DEBUG[10453]: channel.c:2376 in set_format: Set channel IAX2/a.b.c.d:1030-4 to write format ulaw 
Sep  4 12:53:35 dt-ext asterisk[10222]: NOTICE[10453]: conference.c:504 in start_conference: attempting to find requested conference 
Sep  4 12:53:35 dt-ext asterisk[10222]: NOTICE[10453]: conference.c:548 in find_conf: conflist has not yet been initialized, name => test 
Sep  4 12:53:35 dt-ext asterisk[10222]: NOTICE[10453]: conference.c:511 in start_conference: attempting to create requested conference 
Sep  4 12:53:35 dt-ext asterisk[10222]: NOTICE[10453]: conference.c:583 in create_conf: entered create_conf, name => test 
Sep  4 12:53:35 dt-ext asterisk[10222]: WARNING[10453]: translate.c:116 in ast_translator_build_path: No translator path from unknown to unknown 
Sep  4 12:53:35 dt-ext asterisk[10222]: WARNING[10453]: translate.c:116 in ast_translator_build_path: No translator path from unknown to alaw 
Sep  4 12:53:35 dt-ext asterisk[10222]: WARNING[10453]: translate.c:116 in ast_translator_build_path: No translator path from unknown to unknown 
Sep  4 12:53:35 dt-ext last message repeated 5 times
Sep  4 12:53:35 dt-ext asterisk[10222]: NOTICE[10453]: conference.c:796 in add_member: member added to conference, name => test 
Sep  4 12:53:35 dt-ext asterisk[10222]: NOTICE[10453]: conference.c:646 in create_conf: added new conference to conflist, name => test 
Sep  4 12:53:35 dt-ext asterisk[10222]: NOTICE[10453]: conference.c:663 in create_conf: started conference thread for conference, name => test 
Sep  4 12:53:35 dt-ext asterisk[10222]: NOTICE[10453]: member.c:514 in member_exec: begin member event loop, channel => IAX2/a.b.c.d:1030-4 
Sep  4 12:53:35 dt-ext asterisk[10222]: NOTICE[10453]: member.c:532 in member_exec: Conference Members: 1 
Sep  4 12:53:35 dt-ext asterisk[10222]: NOTICE[10453]: member.c:538 in member_exec: Quiet debug 0 - 0 
Sep  4 12:53:35 dt-ext asterisk[10222]: NOTICE[10453]: member.c:546 in member_exec: skipping entry message on IAX2/a.b.c.d:1030-4 
Sep  4 12:53:35 dt-ext asterisk[10222]: DEBUG[10453]: channel.c:2376 in set_format: Set channel IAX2/a.b.c.d:1030-4 to write format gsm 
Sep  4 12:53:35 dt-ext asterisk[10222]: NOTICE[10453]: member.c:688 in basic_play_sound: playing conference message conf-onlyperson 
Sep  4 12:53:35 dt-ext asterisk[10222]: DEBUG[10225]: chan_iax2.c:9434 in iax2_devicestate: Checking device state for device a.b.c.d 
Sep  4 12:53:35 dt-ext asterisk[10222]: DEBUG[10225]: devicestate.c:187 in do_state_change: Changing state for IAX2/a.b.c.d:1030 - state 4 (Invalid) 
Sep  4 12:53:35 dt-ext asterisk[10222]: NOTICE[10454]: conference.c:53 in conference_exec: [ $Revision: 1.7 $ ] entered conference_exec, name => test 
Sep  4 12:53:35 dt-ext asterisk[10222]: DEBUG[10227]: chan_iax2.c:6772 in socket_read: Ooh, voice format changed to 4 
Sep  4 12:53:35 dt-ext asterisk[10222]: NOTICE[10453]: member.c:351 in process_outgoing: unanticipated delivery time, delivery_diff => 2053412993, delivery.tv_usec => 617338 
Sep  4 12:53:38 dt-ext asterisk[10222]: DEBUG[10453]: channel.c:2376 in set_format: Set channel IAX2/a.b.c.d:1030-4 to write format ulaw 
Sep  4 12:53:41 dt-ext asterisk[10222]: ERROR[10454]: frame.c:386 in convert_frame: unable to translate frame 
Sep  4 12:53:41 dt-ext asterisk[10222]: DEBUG[10227]: chan_iax2.c:7742 in iax2_do_register: Allocate call number 
Sep  4 12:53:41 dt-ext asterisk[10222]: DEBUG[10227]: chan_iax2.c:7748 in iax2_do_register: Registration created on call 5 
Sep  4 12:53:44 dt-ext asterisk[10222]: DEBUG[10227]: chan_iax2.c:7065 in socket_read: Immediately destroying 4, having received hangup 
Sep  4 12:53:44 dt-ext asterisk[10222]: NOTICE[10453]: member.c:612 in member_exec: unable to read from channel, channel => IAX2/a.b.c.d:1030-4 
Sep  4 12:53:44 dt-ext asterisk[10222]: NOTICE[10453]: member.c:635 in member_exec: end member event loop, time_entered => 1157399615

Thanks in advance,
------------------------------------------------------------------------
Steve Edwards      sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                             Fax: +1-760-731-3000



More information about the asterisk-users mailing list