- Joined
- Sep 23, 2010
- Messages
- 34
- Reaction score
- 1
If I edit extensions_additional.conf (obviously as a test, as changes are overwritten), and in section:
[outrt-006-Toll-Free]
add the line:
exten => _1800NXXXXXX,n,Set(SIP_CODEC=g729)
then outgoing calls on this SIP Trunk go out g729 without being transcoded.
Resultant extensions_additional.conf:
So I undid that change, and tried it with extensions_custom.conf. I added the following:
and it had no effect.
What is the proper way to do this with extensions_custom.conf?
Thanks!
Tony
[outrt-006-Toll-Free]
add the line:
exten => _1800NXXXXXX,n,Set(SIP_CODEC=g729)
then outgoing calls on this SIP Trunk go out g729 without being transcoded.
Resultant extensions_additional.conf:
Code:
[outrt-006-Toll-Free]
include => outrt-006-Toll-Free-custom
exten => _1800NXXXXXX,1,Macro(user-callerid,SKIPTTL,)
exten => _1800NXXXXXX,n,ExecIf($["${KEEPCID}"!="TRUE" & ${LEN(${DB(AMPUSER/${AMPUSER}/outboundcid)}}=0 & ${LEN(${TRUNKCIDOVERRIDE}}=0]?Set(TRUNKCIDOVERRIDE=1**********))
exten => _1800NXXXXXX,n,Set(_NODEST=)
;Added this line here--as a test:
exten => _1800NXXXXXX,n,Set(SIP_CODEC=g729)
So I undid that change, and tried it with extensions_custom.conf. I added the following:
Code:
[outrt-006-Toll-Free-custom]
exten => _1800NXXXXXX,1,Set(SIP_CODEC=g729)
and it had no effect.
What is the proper way to do this with extensions_custom.conf?
Thanks!
Tony