Hello guys,

I have trunk “10000", Internal num “99" and MeetMe “1010"

now I calling 99 -> 89264959635 via 10000

 /pbx/agi.php:             [agi_channel] => PJSIP/99-00000012
 /pbx/agi.php:             [agi_callerid] => 99
 /pbx/agi.php:             [agi_calleridname] => 99
 /pbx/agi.php:             [agi_context] => dialmap
 /pbx/agi.php:             [agi_extension] => 89264959635

then I would like to direct transfer this call to 1010
and when I do that from my phone I getting this agi_request in AGI: 

 /pbx/agi.php:             [agi_channel] => PJSIP/10000-00000013
 /pbx/agi.php:             [agi_callerid] => 89264959635
 /pbx/agi.php:             [agi_calleridname] => unknown
 /pbx/agi.php:             [agi_context] => dialmap
 /pbx/agi.php:             [agi_extension] => 1010

There is no information who is transferring that call, so AGI thinks that it is 
inbound call and hangup it because in my case "external 89264959635 to internal 
1010 is denied".
is there way do determine that call was transfered from 99 so I can use route 
table of abonent 99 to connect the call properly?
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to