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 (like it should) but it's always goes to the prefered codec.
Anyone have suggestions on how to force 711 for fax detection?

exten fax,1,SetVar(SIP_CODEC=alaw) exten fax,2, ...

AFAIK, this is implemented for outgoing calls only, although I don't think it'll be too hard to do it on incoming also.

roy

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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