Re: [Asterisk-Users] One SIP peer use 2 diff codecs?

2004-12-22 Thread Roy Sigurd Karlsbakk
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

RE: [Asterisk-Users] One SIP peer use 2 diff codecs?

2004-12-22 Thread Race Vanderdecken
-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

[Asterisk-Users] One SIP peer use 2 diff codecs?

2004-12-20 Thread Matt Schulte
I asked this question once before with no answer. Hopefully someone can help me as I cannot see a way to do this. I am wanting to differentiate inbound calls voice from FAX. The purpose of course voice gets g729 and FAX gets 711 (ulaw). The problem I'm having is everytime it matches the SIP peer

Re: [Asterisk-Users] One SIP peer use 2 diff codecs?

2004-12-20 Thread Eric Wieling aka ManxPower
Matt Schulte wrote: I asked this question once before with no answer. Hopefully someone can help me as I cannot see a way to do this. I am wanting to differentiate inbound calls voice from FAX. The purpose of course voice gets g729 and FAX gets 711 (ulaw). The problem I'm having is everytime it

RE: [Asterisk-Users] One SIP peer use 2 diff codecs?

2004-12-20 Thread Matt Schulte
So what's the work around? Have faxes come from a diff IP? -Original Message- From: Eric Wieling aka ManxPower [mailto:[EMAIL PROTECTED] Sent: Monday, December 20, 2004 9:54 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] One SIP peer use 2

Re: [Asterisk-Users] One SIP peer use 2 diff codecs?

2004-12-20 Thread Eric Wieling aka ManxPower
Matt Schulte wrote: So what's the work around? Have faxes come from a diff IP? Well have them come into a different user/friend at least. The IP can be the same if you are authenticating on username/secret rather than IP. ___ Asterisk-Users mailing

RE: [Asterisk-Users] One SIP peer use 2 diff codecs?

2004-12-20 Thread Matt Schulte
: [Asterisk-Users] One SIP peer use 2 diff codecs? Matt Schulte wrote: So what's the work around? Have faxes come from a diff IP? Well have them come into a different user/friend at least. The IP can be the same if you are authenticating on username/secret rather than IP

Re: [Asterisk-Users] One SIP peer use 2 diff codecs?

2004-12-20 Thread Eric Wieling aka ManxPower
Matt Schulte wrote: Now that I finally have someones attention :) I can explain the rest. The problem is I'm sending calls out through SER (with digest of course). So in my sip.conf I have: [sipfarm] insecure=very ; Because SER inbound doesn't know how to auth host=blah.blah.net type=peer

Re: [Asterisk-Users] One SIP peer use 2 diff codecs?

2004-12-20 Thread William Suffill
Give the FAX SIP device a different account and force it to Ulaw. For example if the user was account you could create F for fax and V for voice and have sperate allow/deny codecs ___ Asterisk-Users mailing list

Re: [Asterisk-Users] One SIP peer use 2 diff codecs?

2004-12-20 Thread Roy Sigurd Karlsbakk
I asked this question once before with no answer. Hopefully someone can help me as I cannot see a way to do this. I am wanting to differentiate inbound calls voice from FAX. The purpose of course voice gets g729 and FAX gets 711 (ulaw). The problem I'm having is everytime it matches the SIP peer

Re: [Asterisk-Users] One SIP peer use 2 diff codecs?

2004-12-20 Thread Philipp von Klitzing
Hi! For one thing a type=peer is only for outgoing calls from Asterisk. That's the theory, but in reality things are rather messy for type= and SIP channels, in this case there is no clear concept of peer and friend. If SER can specifcy the allowed codecs on a per call basis then just

Re: [Asterisk-Users] One SIP peer use 2 diff codecs?

2004-12-20 Thread Eric Wieling aka ManxPower
Philipp von Klitzing wrote: 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.