Warren Selby wrote 29.03.2012 22:46: 

>> 
> 
> To do this, you
change your features.conf setting like so:
> 
> parse =>
*9,peer/both,Macro,Parse

The same result when I changed to Macro. I
believe that it's true that callerid on outgoing call is "crap shoot".
Here is output: 

-- Executing [0442010000@test:1]
SetCallerPres("SIP/404-000005fb", "allowed") in new stack
 -- Executing
[0442010000@test:2] SetCallerID("SIP/404-000005fb", "404") in new stack

-- Executing [0442010000@test:3] Dial("SIP/404-000005fb",
"Zap/g3/2010000") in new stack
 -- Requested transfer capability: 0x00 -
SPEECH
 -- Called g3/2010000
 -- Zap/64-1 is ringing
 -- Zap/64-1
answered SIP/404-000005fb
[2012-03-30 16:46:07] DTMF[2036]:
channel.c:2455 __ast_read: DTMF end '*' received on SIP/404-000005fb,
duration 100 ms
[2012-03-30 16:46:07] DTMF[2036]: channel.c:2481
__ast_read: DTMF begin emulation of '*' with duration 100 queued on
SIP/404-000005fb
[2012-03-30 16:46:07] DTMF[2036]: channel.c:2613
__ast_read: DTMF end emulation of '*' queued on
SIP/404-000005fb
[2012-03-30 16:46:07] DTMF[2036]: channel.c:2455
__ast_read: DTMF end '9' received on SIP/404-000005fb, duration 100
ms
[2012-03-30 16:46:07] DTMF[2036]: channel.c:2481 __ast_read: DTMF
begin emulation of '9' with duration 100 queued on
SIP/404-000005fb
[2012-03-30 16:46:07] DTMF[2036]: channel.c:2613
__ast_read: DTMF end emulation of '9' queued on SIP/404-000005fb
 --
Executing [s@macro-Parse:1] Verbose("Zap/64-1", "Parsing AGI variables")
in new stack
Parsing AGI variables
 -- Executing [s@macro-Parse:2]
AGI("Zap/64-1", "/etc/asterisk/agi/map.pl") in new stack
 -- Launched
AGI Script /etc/asterisk/agi/map.pl
AGI Tx >> agi_request:
/etc/asterisk/agi/map.pl
AGI Tx >> agi_channel: Zap/64-1
AGI Tx >>
agi_language: en
AGI Tx >> agi_type: Zap
AGI Tx >> agi_uniqueid:
1333115161.4651
AGI Tx >> agi_callerid: 0442010000
AGI Tx >>
agi_calleridname: unknown
AGI Tx >> agi_callingpres: 3
AGI Tx >>
agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns:
0
AGI Tx >> agi_dnid: 424
AGI Tx >> agi_rdnis: unknown
AGI Tx >>
agi_context: macro-Parse
AGI Tx >> agi_extension: s
AGI Tx >>
agi_priority: 2
AGI Tx >> agi_enhanced: 0.0
AGI Tx >>
agi_accountcode:
AGI Tx >>
 -- Span 3: Channel 0/2 got hangup request,
cause 16
AGI Tx >> 200 result=0
 == Spawn extension (macro-Parse, s, 2)
exited non-zero on 'Zap/64-1' in macro 'Parse'
 -- Executing [h@test:1]
Hangup("SIP/404-000005fb", "16") in new stack
 == Spawn h extension
(test, h, 1) exited non-zero on 'SIP/404-000005fb'
 -- Hungup 'Zap/64-1'


-- 
With Best Regards
Mikhail Lischuk

 
--
_____________________________________________________________________
-- 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