Hi!
Thank you a lot for reply.
I configured trunk with IP/HOST: mylocal
Following config I have in extensions.conf:
[mylocal]
exten => _.,1,Dial(SIP/002099133168) exten => _.,n,Hangup
Following error I got in console:
Executing [002099133168@a2billing:1] Answer("SIP/7160940434-00000019", "") in new stack > 0xb6da3558 -- Probation passed - setting RTP source address to x.x.x.x:48184 -- Executing [002099133168@a2billing:2] Wait("SIP/7160940434-00000019", "1") in new stack -- Executing [002099133168@a2billing:3] AGI("SIP/7160940434-00000019", "a2billing.php,1") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php -- AGI Script Executing Application: (DIAL) Options: (Local/mylocal/002099133168,60,HRrL(5400000:61000:30000)) > Limit Data for this call: > timelimit = 5400000 ms (5400.000 s) > play_warning = 61000 ms (61.000 s) > play_to_caller = yes > play_to_callee = no > warning_freq = 30000 ms (30.000 s) > start_sound = > warning_sound = timeleft > end_sound = [Jan 7 14:47:10] NOTICE[10991][C-0000029b]: chan_local.c:968 local_call: No such extension/context mylocal@default while calling Local channel -- Couldn't call Local/mylocal/002099133168
I will appreciate any help. Thank you a lot!
|