Re: [asterisk-users] is g729 codec free? or under license???

2013-10-12 Thread s m
thank you everybody for your useful replies and so sorry to answer late. i understand what i need. first of all, i wanna to use pass through g729 codec (which is free). so i go to http://asterisk.hosting.lv/ to get g729 codec. i have freebsd 8.2 and asterisk 1.8.22 but there is no compatible

Re: [asterisk-users] is g729 codec free? or under license???

2013-10-12 Thread Asghar Mohammad
HI, You don't need a g729 installed in pass throw mode. if both ends have codec g729 you can just enable on both peers. and asterisk should pass the codec from 1 end to other. but make sure you are not doing transcoding of any type answering the call playing voice prompts etc. On Sat, Oct 12,

Re: [asterisk-users] Capture Media IP in CDR

2013-10-12 Thread Asghar Mohammad
hi, you have not mentioned which cdr backend you are using. peer ip is saved in variable CHANNEL(peerip). if you are using mysql for cdr backend you can create a field in cdr table (field name can b any of your choice) in dialplan assign the value of CHANNEL(peerip) to you ip field and asterisk

Re: [asterisk-users] Capture Media IP in CDR

2013-10-12 Thread CDR
The CHANNEL() function has no idea about the media IP, and also SIP_HEADER(), since the media IP is not known until the call has been established and a reinvite has been received and dispatched. I am using of course, directmedia=yes and directrtpsetup=yes. Hence my question to the group. --

Re: [asterisk-users] Capture Media IP in CDR

2013-10-12 Thread Matthew Jordan
On Sat, Oct 12, 2013 at 2:19 PM, CDR vene...@gmail.com wrote: The CHANNEL() function has no idea about the media IP, and also SIP_HEADER(), since the media IP is not known until the call has been established and a reinvite has been received and dispatched. I am using of course,