[asterisk-bugs] [Asterisk 0008173]: [patch] No Uniqueid generated on Async Originate AMI request

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Apr 17 06:29:16 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=8173 
====================================================================== 
Reported By:                datacompboy
Assigned To:                murf
====================================================================== 
Project:                    Asterisk
Issue ID:                   8173
Category:                   Core/ManagerInterface
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:            1.2.12.1 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        No 
Request Review:              
====================================================================== 
Date Submitted:             10-18-2006 11:22 CDT
Last Modified:              04-17-2008 06:29 CDT
====================================================================== 
Summary:                    [patch] No Uniqueid generated on Async Originate AMI
request
Description: 
Async Originate AMI request should allocate Uniqueid, and report it in
Response, so it will be possible to run from parrallel AMI managers async
Originations and correctly separate messages and events for that
originations.
====================================================================== 

---------------------------------------------------------------------- 
 datacompboy - 04-17-08 06:29  
---------------------------------------------------------------------- 
* and 2nd local leg and new dialed out connected:
<<0.298.0>> Got packet: [<<"DestUniqueID:
asterisk-4616-1208430786.51\r\n">>,
                         <<"SrcUniqueID:
asterisk-4616-1208430785.50\r\n">>,
                         <<"CallerIDName: Call2Ru service\r\n">>,
                         <<"CallerID: <unknown>\r\n">>,
                         <<"Destination: SIP/vf-out-08299e50\r\n">>,
                         <<"Source: Local/1 at ps_out-47e2,2\r\n">>,
                         <<"Privilege: call,all\r\n">>,
                         <<"Event: Dial\r\n">>]
  * rest of dial, also have no uniqueid of origination message:
<<0.298.0>> Got packet: [<<"CID-CallingPres: 0 (Presentation Allowed, Not
Screened)\r\n">>,
                         <<"Uniqueid: asterisk-4616-1208430786.51\r\n">>,
                         <<"CallerIDName: <Unknown>\r\n">>,
                         <<"CallerID: 1\r\n">>,
                         <<"Channel: SIP/vf-out-08299e50\r\n">>,
                         <<"Privilege: call,all\r\n">>,
                         <<"Event: Newcallerid\r\n">>]
<<0.298.0>> Got packet: [<<"Cause-txt: Call Rejected\r\n">>,
                         <<"Cause: 21\r\n">>,
                         <<"Uniqueid: asterisk-4616-1208430786.51\r\n">>,
                         <<"Channel: SIP/vf-out-08299e50\r\n">>,
                         <<"Privilege: call,all\r\n">>,
                         <<"Event: Hangup\r\n">>]
<<0.298.0>> Got packet: [<<"Uniqueid: asterisk-4616-1208430785.50\r\n">>,
                         <<"CallerIDName: Call2Ru service\r\n">>,
                         <<"CallerID: <unknown>\r\n">>,
                         <<"State: Busy\r\n">>,
                         <<"Channel: Local/1 at ps_out-47e2,2\r\n">>,
                         <<"Privilege: call,all\r\n">>,
                         <<"Event: Newstate\r\n">>]
<<0.298.0>> Got packet: [<<"Uniqueid: asterisk-4616-1208430785.50\r\n">>,
                         <<"AppData: ps_out_map|1|1\r\n">>,
                         <<"Application: Goto\r\n">>,
                         <<"Priority: 1\r\n">>,
                         <<"Extension: h\r\n">>,
                         <<"Context: ps_out_pstn\r\n">>,
                         <<"Channel: Local/1 at ps_out-47e2,2\r\n">>,
                         <<"Privilege: call,all\r\n">>,
                         <<"Event: Newexten\r\n">>]
<<0.298.0>> Got packet: [<<"Uniqueid: asterisk-4616-1208430785.50\r\n">>,
                         <<"AppData: 1?100\r\n">>,
                         <<"Application: GotoIf\r\n">>,
                         <<"Priority: 1\r\n">>,
                         <<"Extension: 1\r\n">>,
                         <<"Context: ps_out_map\r\n">>,
                         <<"Channel: Local/1 at ps_out-47e2,2\r\n">>,
                         <<"Privilege: call,all\r\n">>,
                         <<"Event: Newexten\r\n">>]
<<0.298.0>> Got packet: [<<"Uniqueid: asterisk-4616-1208430785.50\r\n">>,
                         <<"AppData:
agi://localhost:4573/ps_call/outgoingbusy\r\n">>,
                         <<"Application: DeadAGI\r\n">>,
                         <<"Priority: 100\r\n">>,
                         <<"Extension: 1\r\n">>,
                         <<"Context: ps_out_map\r\n">>,
                         <<"Channel: Local/1 at ps_out-47e2,2\r\n">>,
                         <<"Privilege: call,all\r\n">>,
                         <<"Event: Newexten\r\n">>]
<<0.298.0>> Got packet: [<<"Cause-txt: Unknown\r\n">>,
                         <<"Cause: 0\r\n">>,
                         <<"Uniqueid: asterisk-4616-1208430785.49\r\n">>,
                         <<"Channel: Local/1 at ps_out-47e2,1\r\n">>,
                         <<"Privilege: call,all\r\n">>,
                         <<"Event: Hangup\r\n">>]
<<0.298.0>> Got packet: [<<"CallerIDName: Call2Ru service\r\n">>,
                         <<"CallerIDNum: <unknown>\r\n">>,
                         <<"CallerID: <unknown>\r\n">>,
                         <<"Uniqueid: <null>\r\n">>,
                         <<"Reason: 8\r\n">>,
                         <<"Exten: \r\n">>,
                         <<"Context: \r\n">>,
                         <<"Channel: Local/1 at ps_out\r\n">>,
                         <<"Response: Failure\r\n">>,
                         <<"Privilege: call,all\r\n">>,
                         <<"Event: OriginateResponse\r\n">>]
<<0.298.0>> Got packet: [<<"Cause-txt: Call Rejected\r\n">>,
                         <<"Cause: 21\r\n">>,
                         <<"Uniqueid: asterisk-4616-1208430785.50\r\n">>,
                         <<"Channel: Local/1 at ps_out-47e2,2\r\n">>,
                         <<"Privilege: call,all\r\n">>,
                         <<"Event: Hangup\r\n">>] 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-17-08 06:29  datacompboy    Note Added: 0085611                          
======================================================================




More information about the asterisk-bugs mailing list