Hi All,
I have a strange issues with asterisk manager API’s
Problem: conversation doesn’t get stored but the file gets created.
my sip.conf file
[general]
nat=yes
externip=xxx.xxx.xxx.xxx
localnet=xxx.xxx.xxx.xxx
[sipprovider-out]
type=friend
host=provider.com
username=111111
secret=xxxxx
fromhost=provider.com
fromdomain=provider.com
context=mycontext
disallow=all
allow=alaw
nat =yes
externip=xxx.xxx.xxx.xxx
canreinvite=no
qualify=yes
[111]
type=friend
username=111
secret=xxxx
host=dynamic
context=mycontext
disallow=all
allow=alaw
nat =yes
externip=xxx.xxx.xxx.xxx
canreinvite=no
qualify=yes
my extension.conf file
[mycontext]
exten => 1,1,Playback(demo-congrats)
[mysipextensions]
exten =>_X.,1,Dial(SIP/${EXTEN})
my scenario:
I used originate command to call out pstn guy
Action: originate
channel: sip/destnumber@sipprovider-out
context:mycontext
exten:111
ActionId:1
Now the pstn guy is in link with asterisk
Issued Redirect command to transfer the call to an extension
Action: Redirect
Channel: SIP/pstn-sipprovider-outchannel
Context: mysipextensions
Exten: 111
Priority:1
Now the pstn guy is in link with the agent
Action: Monitor
Channel: SIP/pstn-sipprovider-outchannel
File: channelavailblefile
Mix: 1
Now the file gets created but the conversation doesnot get stored
Please help where i am getting wrong to record the conversation what is wrong in this scenario
Regards
Karthik