Here, here,

I agree. Each channel should be able to decide which codec to try first.
This will cause more call setup messages.

1. Hi, do you have GSM?
        No

2. Hi again, do you have G.723
        No, go Fish.

3. Hmmm, do you have (cringe) G.729?
        Yes, do you have License for your Minkey?


My understanding of SIP is that the caller suggests, the callee replies
with their preference(s).

So the call setup is a little more complicated but not that hard to do,
just need some routing logic on the caller side. Sort of the way a
gatekeeper decides where to route a call.

Race    


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Roy Sigurd
Karlsbakk
Sent: 22 December 2004 06:25
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] One SIP peer use 2 diff codecs?

>> How about this variable? :-)
>> ${SIP_CODEC}: Used to set the SIP codec for a call
>
> That only works for calls going OUT from Asterisk.  It does nothing 
> for incoming calls.  By the time the dialplan is called the codec is 
> already set.

perhaps tha should be changed, then, to allow more control over codec 
handling?

roy

_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to