[asterisk-users] record call from iax to sip

Gordon Henderson gordon+asterisk at drogon.net
Sat May 7 13:55:50 CDT 2011


On Sat, 7 May 2011, salaheddine elharit wrote:

> Hello List,
>
> i need to be able to record the call transferred from iax  extension to sip
> extension
>
> when i call the sip extension from the IAX extension i can record the call
> without any issue
>
> but when i receive a call from customer in IAX and i transfer this call to
> SIP client
>
> the conversation between customer and IAX client is recorded but the
> conversation between customer and sip extension is not recorded
>
> any help please
>
> thanks and regards

It's it's a transfer, then try this:


>
> extensions.conf
> exten => 223,1,Answer()
> exten => 223,2,MixMonitor(test_${UNIQUEID}.wav|av(0)V(0))

Add:

exten => 223,n,Set(AUDIOHOOK_INHERIT(MixMonitor)=yes)

> exten => 223,3,Dial(SIP/223)
> exten => 223,4,Hangup()


And do use 'n' in your dialplan, rather than numbers. It makes 
adding/deleting lines easy.

Gordon



More information about the asterisk-users mailing list