Le dimanche 14 janvier 2007 à 08:41 -0800, Remco Treffkorn a écrit : > On Sunday 14 January 2007 02:23, Damien Sandras wrote: > > Le samedi 13 janvier 2007 à 17:44 -0800, Remco Treffkorn a écrit : > > > > Sure, but 500 is not a SIP peer/user. 500 is a "local" extension that > > > > bridges to the Echo() application. > > > > > > > > Am I missing something? > > > > > > I think the point was that the [general] section allows you to allow one > > > list of codecs, but the peer section overwrites that. > > > > > > If all your peers have explicit codec selections, you can control the > > > codec list for apps by the codec list in the [general] section. How else > > > would asterisk make a codec selection? It's still a sip call... > > > > My remark still stands, from my point of view, 500 is not a SIP Peer, > > but a local dialplan extension for which you can not force codecs. > > > > If you have the time to try, and produce some code that works, please > > mail it here. > > Just one question then: I call 500 from my new super-duper sip phone that > only > supports g.915 and gsn. Which codec will be chosen? >
It depends, if your phone is registered as 501, it will use the codecs defined in the [501] section, otherwise, it will use the ones in [general]. > Here the code: > > sip.conf-------------- > [general] > disallow=all > allow=gsn > allow=g915 > ... > > [501] > disallow=all > allow=g711 > ------------------------ > > extensions.conf-- > ... > exten => 500,1,Playback(demo-echotest) ; Let them know what's going on > exten => 500,2,Echo ; Do the echo test > exten => 500,3,Playback(demo-echodone) ; Let them know it's over > exten => 500,4,Hangup > ----------------------- > > -- > Remco Treffkorn (RT445) > HAM DC2XT > [EMAIL PROTECTED] (831) 685-1201 > > _______________________________________________ > ekiga-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/ekiga-list -- _ Damien Sandras (o- //\ Ekiga Softphone : http://www.ekiga.org/ v_/_ NOVACOM : http://www.novacom.be/ FOSDEM : http://www.fosdem.org/ SIP Phone : sip:[EMAIL PROTECTED] _______________________________________________ ekiga-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/ekiga-list
