search for: ip_codec

Displaying 1 result from an estimated 1 matches for "ip_codec".

Did you mean: sip_codec
2014 Sep 23
1
Change codec when dial from SIP to DAHDI
...use G722 as preferred codec for my ip-phone. and my PSTN DAHDI use alaw. G722 is great when ip-phone talks to each other. but when ip-phone dialout to PSTN DAHDI, G722 is not great, since it is need to transcode to alaw. so I try to change the codec when dial from SIP to DAHDI. I tried to use IP_CODEC/SIP_CODEC_OUTBOUND at dialplan. but the SIP codec change after dahdi answered the channel. so everything is broken. the call log like below: [2014-09-23 21:18:46] VERBOSE[11634][C-0000000d] pbx.c: -- Executing [s at macro-dialout-trunk-predial-hook:2] Set("SIP/222-00000004", &qu...